Skip to content

List activity for a deployment

GET/v1/deployments/{uid}/activity

Returns how many runs this deployment started per day, with how many succeeded (ready) and failed. Only days with at least one run are included, oldest first. Days are calendar dates in West Africa Time (UTC+1).

Authentication

Send your API key as Authorization: Bearer <token>. The request is scoped to the workspace in X-Workspace-Slug.

Path parameters

uidstringRequired

The deployment's uid.

Query parameters

daysinteger

How many days back to count, up to 366. Missing, non-numeric, zero, negative or larger values use 365.

Default 365min 1 · max 366

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

Run counts per day.

successbooleanRequired

true when the request succeeded.

messagestringRequired

Human-readable status message.

dataarray of objects
Show item attributes
datestring (date)Required

Day (YYYY-MM-DD, West Africa Time).

countintegerRequired

Runs started that day.

succeededintegerRequired

Of those, runs that are ready.

failedintegerRequired

Of those, runs that 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.
404The resource does not exist or you cannot access it.

Errors use the standard error format.