provider Insights charts (beta) GET /api/v2/engineering-insights/charts/flags/stale
@utdk/launchdarkly /api/v2/engineering-insights/charts/flags/stale
Get stale flags chart data
Get stale flags chart data. Engineering insights displays stale flags data in the [flag health metric view](https://launchdarkly.com/docs/home/observability/flag-health). ### Expanding the chart response LaunchDarkly supports expanding the chart response to include additional fields. To expand the response, append the `expand` query parameter and include the following: * `metrics` includes details on the metrics related to stale flags For example, use `?expand=metrics` to include the `metrics` field in the response. By default, this field is **not** included in the response.
projectKey query required
The project key
string
environmentKey query required
The environment key
string
applicationKey query
Comma separated list of application keys
string
groupBy query
Property to group results by. Options: `maintainer`
string
maintainerId query
Comma-separated list of individual maintainers to filter results.
string
maintainerTeamKey query
Comma-separated list of team maintainer keys to filter results.
string
expand query
Options: `metrics`
string

Try it

Authentication
Configure credentials for LaunchDarkly REST API
Gateway
The gateway proxies requests and injects credentials server-side. Configure credentials above, then enter your gateway URL.

Saved automatically to browser storage.

getstaleflagschart
GET/api/v2/engineering-insights/charts/flags/stale
Get stale flags chart data. Engineering insights displays stale flags data in the [flag health metric view](https://launchdarkly.com/docs/home/observability/flag-health). ### Expanding the chart response LaunchDarkly supports expanding the chart response to include additional fields. To expand the response, append the `expand` query parameter and include the following: * `metrics` includes details on the metrics related to stale flags For example, use `?expand=metrics` to include the `metrics` field in the response. By default, this field is **not** included in the response.

required

The project key

required

The environment key

Comma separated list of application keys

Property to group results by. Options: `maintainer`

Comma-separated list of individual maintainers to filter results.

Comma-separated list of team maintainer keys to filter results.

Options: `metrics`

Enter a gateway URL above to enable sending.

Code snippet
Updates live as you fill in the form above.

TypeScript

import launchdarkly from '@utdk/launchdarkly';

await launchdarkly.getstaleflagschart()