provider Insights deployments (beta) GET /api/v2/engineering-insights/deployments
@utdk/launchdarkly /api/v2/engineering-insights/deployments
List deployments
Get a list of deployments ### Expanding the deployment collection response LaunchDarkly supports expanding the deployment collection response to include additional fields. To expand the response, append the `expand` query parameter and include the following: * `pullRequests` includes details on all of the pull requests associated with each deployment * `flagReferences` includes details on all of the references to flags in each deployment For example, use `?expand=pullRequests` to include the `pullRequests` field in the response. By default, this field is **not** included in the response.
projectKey query required
The project key
string
environmentKey query required
The environment key
string
applicationKey query
Comma separated list of application keys
string
limit query
The number of deployments to return. Default is 20. Maximum allowed is 100.
integer
expand query
Expand properties in response. Options: `pullRequests`, `flagReferences`
string
from query
Unix timestamp in milliseconds. Default value is 7 days ago.
integer
to query
Unix timestamp in milliseconds. Default value is now.
integer
after query
Identifier used for pagination
string
before query
Identifier used for pagination
string
kind query
The deployment kind
string
status query
The deployment status
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.

getdeployments
GET/api/v2/engineering-insights/deployments
Get a list of deployments ### Expanding the deployment collection response LaunchDarkly supports expanding the deployment collection response to include additional fields. To expand the response, append the `expand` query parameter and include the following: * `pullRequests` includes details on all of the pull requests associated with each deployment * `flagReferences` includes details on all of the references to flags in each deployment For example, use `?expand=pullRequests` to include the `pullRequests` field in the response. By default, this field is **not** included in the response.

required

The project key

required

The environment key

Comma separated list of application keys

The number of deployments to return. Default is 20. Maximum allowed is 100.

Expand properties in response. Options: `pullRequests`, `flagReferences`

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

Unix timestamp in milliseconds. Default value is now.

Identifier used for pagination

Identifier used for pagination

The deployment kind

The deployment status

Enter a gateway URL above to enable sending.

Code snippet
Updates live as you fill in the form above.

TypeScript

import launchdarkly from '@utdk/launchdarkly';

await launchdarkly.getdeployments()