Skip to content

Deployments API reference

Terminal window
curl -u AUTH_TOKEN: https://app.honeybadger.io/v2/projects/ID/deploys
curl -u AUTH_TOKEN: https://app.honeybadger.io/v2/projects/ID/deploys/ID

Returns a list of deploys or a single deploy for the given project with the following format:

{
"created_at": "2013-04-30T13:12:51Z",
"environment": "production",
"local_username": "deploy",
"project_id": 1,
"repository": "some/repo",
"revision": "2013-04-29-take-2-16-g6cf7eae"
}

The deploy list can be filtered with a number of URL parameters:

ParameterDescription
environmentA string with the desired environment, e.g., ‘production’
local_usernameUsername of the person doing the deployment
created_afterA Unix timestamp (number of seconds since the epoch)
created_beforeA Unix timestamp (number of seconds since the epoch)
limitNumber of results to return (max and default are 25)

The deploy list is always ordered by creation time descending.

Terminal window
curl -u AUTH_TOKEN: -X DELETE https://app.honeybadger.io/v2/projects/ID/deploys/ID