v5

latestOpenAPI 3.0.3Apache 2.0raw.githubusercontent.com2026-02-283466592.5 MB
Insights charts (beta)

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:

  • 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.

get/api/v2/engineering-insights/charts/flags/stale

Query parameters

projectKeystring string required

The project key

The project key

environmentKeystring string required

The environment key

The environment key

applicationKeystring string

Comma separated list of application keys

Comma separated list of application keys

groupBystring string

Property to group results by. Options: maintainer

Property to group results by. Options: maintainer

maintainerIdstring string

Comma-separated list of individual maintainers to filter results.

Comma-separated list of individual maintainers to filter results.

maintainerTeamKeystring string

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

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

expandstring string

Options: metrics

Options: metrics

Response

Chart response

Example response

{
  "metadata": {
    "name": "deploymentFrequency",
    "xAxis": {
      "unit": "count"
    },
    "yAxis": {
      "unit": "count"
    }
  },
  "series": [
    {
      "metadata": {
        "bounds": [
          {
            "name": "equal",
            "value": 100
          }
        ]
      },
      "data": [
        {
          "x": 1617225600000,
          "y": 100
        }
      ]
    }
  ]
}