GetFeatureFlagsRequest
February 28, 2026 ยท View on GitHub
Example Usage
import { GetFeatureFlagsRequest } from "@launchdarkly/mcp-server/models/operations";
let value: GetFeatureFlagsRequest = {
projectKey: "<value>",
};
Fields
| Field | Type | Required | Description |
|---|---|---|---|
projectKey | string | :heavy_check_mark: | The project key |
env | string | :heavy_minus_sign: | Filter configurations by environment |
tag | string | :heavy_minus_sign: | Filter feature flags by tag |
limit | number | :heavy_minus_sign: | The number of feature flags to return. Defaults to 20. |
offset | number | :heavy_minus_sign: | Where to start in the list. Use this with pagination. For example, an offset of 10 skips the first ten items and then returns the next items in the list, up to the query limit. |
archived | boolean | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible. Deprecated, use filter=archived:true instead. A boolean to filter the list to archived flags. When this is absent, only unarchived flags will be returned |
summary | boolean | :heavy_minus_sign: | By default, flags do not include their lists of prerequisites, targets, or rules for each environment. Set summary=0 and include the env query parameter to include these fields for each flag returned. |
filter | string | :heavy_minus_sign: | A comma-separated list of filters. Each filter is of the form field:value. Read the endpoint description for a full list of available filter fields. |
sort | string | :heavy_minus_sign: | A comma-separated list of fields to sort by. Fields prefixed by a dash ( - ) sort in descending order. Read the endpoint description for a full list of available sort fields. |
compare | boolean | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible. Deprecated, unavailable in API version 20240415. A boolean to filter results by only flags that have differences between environments. |
expand | string | :heavy_minus_sign: | A comma-separated list of fields to expand in the response. Supported fields are explained above. |