FeatureFlags

July 9, 2025 ยท View on GitHub

Example Usage

import { FeatureFlags } from "@launchdarkly/mcp-server/models/components";

let value: FeatureFlags = {
  items: [],
  links: {
    "self": {
      href: "/api/v2/flags/default",
      type: "application/json",
    },
  },
  totalCount: 1,
  totalCountWithDifferences: 0,
};

Fields

FieldTypeRequiredDescriptionExample
itemscomponents.FeatureFlag[]:heavy_check_mark:An array of feature flags
linksRecord<string, components.Link>:heavy_check_mark:The location and content type of related resources{
"self": {
"href": "/api/v2/flags/default",
"type": "application/json"
}
}
totalCountnumber:heavy_minus_sign:The total number of flags1
totalCountWithDifferencesnumber:heavy_minus_sign:The number of flags that have differences between environments. Only shown when query parameter compare is true.0