Skip to main content
GET
List Deployments
string
required
The API key for your account. You can find this in your account settings.
Requires an API key with the apps:read scope. Use this endpoint to inspect what happened during recent deploys: each inner array captures one deploy attempt’s lifecycle, moving through the pending, clone, commit, restarting and success states. A deploy that fails ends in an error event that carries a code (for example AUTHENTICATION_REQUIRED, INVALID_BRANCH or CLONE_FAILED) and, sometimes, a message with details. There is no failed state. Only Git deploys, from a webhook or a GitHub App push, are recorded, so every event’s source is git. Zip uploads and Commit Application calls don’t appear here. The deploy log comes from a short-lived cluster cache, so it only reflects the application’s most recent activity and returns an empty array once nothing remains recorded. To check the currently configured Git integration instead of past deploy attempts, see Get Current Deployment.

Parameters

string
required
The ID of the application. You can find this in the URL of your application’s dashboard.

Response

string
Indicates whether the call was successful: success if it was, error if not.
array
The contents of the response.