FeatureFlagStatusAcrossEnvironments

October 20, 2025 ยท View on GitHub

Example Usage

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

let value: FeatureFlagStatusAcrossEnvironments = {
  environments: {
    "production": {
      name: "inactive",
      lastRequested: new Date("2020-02-05T18:17:01.514Z"),
    },
  },
  key: "flag-key-123abc",
  links: {
    "parent": {
      href: "/api/v2/flag-status",
      type: "application/json",
    },
    "self": {
      href: "/api/v2/flag-status/my-project/my-flag",
      type: "application/json",
    },
  },
};

Fields

FieldTypeRequiredDescriptionExample
environmentsRecord<string, components.FeatureFlagStatus>:heavy_check_mark:Flag status for environment.{
"production": {
"lastRequested": "2020-02-05T18:17:01.514Z",
"name": "inactive"
}
}
keystring:heavy_check_mark:feature flag keyflag-key-123abc
linksRecord<string, components.Link>:heavy_check_mark:N/A{
"parent": {
"href": "/api/v2/flag-status",
"type": "application/json"
},
"self": {
"href": "/api/v2/flag-status/my-project/my-flag",
"type": "application/json"
}
}