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.
Authentication
Authorizationstring
API Key authentication via header
Query parameters
projectKey
The project key
environmentKey
The environment key
applicationKey
Comma separated list of application keys
limit
The number of deployments to return. Default is 20. Maximum allowed is 100.
expand
Expand properties in response. Options: pullRequests
, flagReferences
from
Unix timestamp in milliseconds. Default value is 7 days ago.
to
Unix timestamp in milliseconds. Default value is now.
after
Identifier used for pagination
before
Identifier used for pagination
kind
The deployment kind
status
The deployment status
Response
Deployment collection response
totalCount
The total number of deployments
items
A list of deployments
_links
The location and content type of related resources