---
title: "Get deployment frequency chart data"
method: GET
path: "/api/v2/engineering-insights/charts/deployments/frequency"
tags: ["Insights charts (beta)"]
---

# Get deployment frequency chart data

`GET /api/v2/engineering-insights/charts/deployments/frequency`

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.

## Query parameters

- `projectKey` string, string — The project key
- `environmentKey` string, string — The environment key
- `applicationKey` string, string — Comma separated list of application keys
- `from` string, date-time
- `to` string, date-time
- `bucketType` string, string — Specify type of bucket. Options: `rolling`, `hour`, `day`. Default: `rolling`.
- `bucketMs` integer — Duration of intervals for x-axis in milliseconds. Default value is one day (`86400000` milliseconds).
- `groupBy` string, string — Options: `application`, `kind`
- `expand` string, string — Options: `metrics`

## Response `200`

Chart response

- InsightsChart
  - `metadata` InsightsChartMetadata, required
    - `summary` InsightsChartMetadataCustomValues, required
    - `name` string — Name of the chart
    - `metrics` InsightsChartMetrics
    - `xAxis` InsightsChartSeriesMetadataAxis, required
      - `unit` string, required — Unit of the axis
    - `yAxis` InsightsChartSeriesMetadataAxis, required
      - `unit` string, required — Unit of the axis
  - `series` InsightsChartSeries[], required — Series data for the chart
    - `metadata` InsightsChartSeriesMetadata, required
      - `name` string, required — Name of the series
      - `count` integer — Aggregate count of the series values
      - `bounds` InsightsChartBounds[] — Bounds for the series data
        - `name` string, required — Name of the bound
        - `value` integer, required — Value of the bound
    - `data` InsightsChartSeriesDataPoint[], required — Data points for the series
      - `x` integer, required — X-axis value
      - `y` integer, required — Y-axis value
      - `values` object — Additional values for the data point

## Other responses

- `400` — Invalid request
- `401` — Invalid access token
- `403` — Forbidden
- `404` — Invalid resource identifier
- `429` — Rate limited

---

[API](https://skmtc.dev/launchdarkly/apis/launchdarkly-rest-api.md) · [All operations](https://skmtc.dev/launchdarkly/apis/launchdarkly-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/launchdarkly/launchdarkly-rest-api/revisions/69c5c9aafe78/schema)
