v5

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

Get deployment

Get a deployment by ID.

The deployment ID is returned as part of the List deployments response. It is the id field of each element in the items array.

Expanding the deployment response

LaunchDarkly supports expanding the deployment 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.

get/api/v2/engineering-insights/deployments/{deploymentID}

Path parameters

deploymentIDstring string required

The deployment ID

The deployment ID

Query parameters

expandstring string

Expand properties in response. Options: pullRequests, flagReferences

Expand properties in response. Options: pullRequests, flagReferences

Response

Deployment response

idstring uuid required

The deployment ID

applicationKeystring required

The application key

applicationVersionstring required

The application version

startedAtinteger required
endedAtinteger
durationMsinteger

The duration of the deployment in milliseconds

statusstring required
kindstring required
activeboolean required

Whether the deployment is active

metadataobject

The metadata associated with the deployment

archivedboolean required

Whether the deployment is archived

environmentKeystring required

The environment key

numberOfContributorsinteger required

The number of contributors

numberOfPullRequestsinteger required

The number of pull requests

linesAddedinteger required

The number of lines added

linesDeletedinteger required

The number of lines deleted

leadTimeinteger required

The total lead time from first commit to deployment end in milliseconds