Get stale flags chart data
Get stale flags chart data. Engineering insights displays stale flags data in the flag health metric view.
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:
metricsincludes 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.
Authorization
ApiKey read, writeIn: header
Scope: read, write
Query Parameters
The project key
stringThe environment key
stringComma separated list of application keys
stringProperty to group results by. Options: maintainer
stringComma-separated list of individual maintainers to filter results.
stringComma-separated list of team maintainer keys to filter results.
stringOptions: metrics
stringResponse Body
application/json
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/api/v2/engineering-insights/charts/flags/stale?projectKey=string&environmentKey=string"{ "metadata": { "summary": { "property1": null, "property2": null }, "name": "deploymentFrequency", "metrics": { "property1": { "indicator": "excellent", "value": 5, "unit": "count", "modifier": "per day", "tiers": [ { "indicator": "excellent", "description": "at least 1 per day" } ] }, "property2": { "indicator": "excellent", "value": 5, "unit": "count", "modifier": "per day", "tiers": [ { "indicator": "excellent", "description": "at least 1 per day" } ] } }, "xAxis": "timestamp", "yAxis": "count" }, "series": [ { "metadata": { "name": "string", "count": 0, "bounds": [ { "name": "equal", "value": 100 } ] }, "data": [ { "x": 1617225600000, "y": 100, "values": { "property1": null, "property2": null } } ] } ]}Get deployment frequency chart data GET
Get deployment frequency chart data. Engineering insights displays deployment frequency data in the [deployment frequency metric view](https://launchdarkly.com/docs/home/observability/deployments). ### 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 deployment frequency For example, use `?expand=metrics` to include the `metrics` field in the response. By default, this field is **not** included in the response.
Get flag status chart data GET
Get flag status chart data. To learn more, read [Flag statuses](https://launchdarkly.com/docs/home/observability/flag-health#flag-statuses).