provider Insights charts (beta) GET
/api/v2/engineering-insights/charts/deployments/frequency @utdk/launchdarkly
/api/v2/engineering-insights/charts/deployments/frequency Get deployment frequency chart data
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.
- projectKey query
- The project key
- string
- environmentKey query
- The environment key
- string
- applicationKey query
- Comma separated list of application keys
- string
- from query
- Unix timestamp in milliseconds. Default value is 7 days ago.
- string
- to query
- Unix timestamp in milliseconds. Default value is now.
- string
- bucketType query
- Specify type of bucket. Options: `rolling`, `hour`, `day`. Default: `rolling`.
- string
- bucketMs query
- Duration of intervals for x-axis in milliseconds. Default value is one day (`86400000` milliseconds).
- integer
- groupBy query
- Options: `application`, `kind`
- 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.
Code snippet
Updates live as you fill in the form above.
TypeScript
import launchdarkly from '@utdk/launchdarkly';
await launchdarkly.getdeploymentfrequencychart()