Skip to content

Get the deployment summary

GET/v1/deployments/summary

Returns 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-SlugstringRequired

Slug of the workspace the request acts on. You can also pass it as the workspace_slug query parameter.

Response

200

The deployment counts.

successbooleanRequired

true when the request succeeded.

messagestringRequired

Human-readable status message.

dataobject
Show attributes
totalintegerRequired

Number of deployments.

activeintegerRequired

Deployments with status active.

buildingintegerRequired

Deployments whose display status is building, updating, queued or deploying.

needs_attentionintegerRequired

Deployments with status failed.

Errors

StatusMeaning
401The API key is missing, invalid, expired or revoked.
403You cannot access the workspace, your role does not allow this action, or the account is suspended.

Errors use the standard error format.