v5

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

Get lead time chart data

Get lead time chart data. The engineering insights UI displays lead time data in the lead time metric view.

get/api/v2/engineering-insights/charts/lead-time

Query parameters

projectKeystring string required

The project key

The project key

environmentKeystring string

The environment key

The environment key

applicationKeystring string

Comma separated list of application keys

Comma separated list of application keys

frominteger

Unix timestamp in milliseconds. Default value is 7 days ago.

Unix timestamp in milliseconds. Default value is 7 days ago.

tointeger

Unix timestamp in milliseconds. Default value is now.

Unix timestamp in milliseconds. Default value is now.

bucketTypestring string

Specify type of bucket. Options: rolling, hour, day. Default: rolling.

Specify type of bucket. Options: rolling, hour, day. Default: rolling.

bucketMsinteger

Duration of intervals for x-axis in milliseconds. Default value is one day (86400000 milliseconds).

Duration of intervals for x-axis in milliseconds. Default value is one day (86400000 milliseconds).

groupBystring string

Options: application, stage. Default: stage.

Options: application, stage. Default: stage.

expandstring string

Options: metrics, percentiles.

Options: metrics, percentiles.

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
        }
      ]
    }
  ]
}