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
| Field | Type | Required | Description | Example |
|---|---|---|---|---|
environments | Record<string, components.FeatureFlagStatus> | :heavy_check_mark: | Flag status for environment. | { "production": { "lastRequested": "2020-02-05T18:17:01.514Z", "name": "inactive" } } |
key | string | :heavy_check_mark: | feature flag key | flag-key-123abc |
links | Record<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" } } |