GET
/v1/deployments/summaryReturns deployment counts for the workspace, using the same set of deployments as List deployments.
Authentication
Send your API key as Authorization: Bearer <token>. The request is scoped to the workspace in X-Workspace-Slug.
Headers
X-Workspace-SlugstringRequiredSlug of the workspace the request acts on. You can also pass it as the workspace_slug query parameter.
Response
200
The deployment counts.
successbooleanRequiredtrue when the request succeeded.
messagestringRequiredHuman-readable status message.
dataobjectShow attributesHide attributes
totalintegerRequiredNumber of deployments.
activeintegerRequiredDeployments with status active.
buildingintegerRequiredDeployments whose display status is building, updating, queued or deploying.
needs_attentionintegerRequiredDeployments with status failed.
Errors
| Status | Meaning |
|---|---|
401 | The API key is missing, invalid, expired or revoked. |
403 | You cannot access the workspace, your role does not allow this action, or the account is suspended. |
Errors use the standard error format.