/v1/deployments/{uid}/activityReturns 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
uidstringRequiredThe deployment's uid.
Query parameters
daysintegerHow 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-SlugstringRequiredSlug of the workspace the request acts on. You can also pass it as the workspace_slug query parameter.
Response
Run counts per day.
successbooleanRequiredtrue when the request succeeded.
messagestringRequiredHuman-readable status message.
dataarray of objectsShow item attributesHide item attributes
datestring (date)RequiredDay (YYYY-MM-DD, West Africa Time).
countintegerRequiredRuns started that day.
succeededintegerRequiredOf those, runs that are ready.
failedintegerRequiredOf those, runs that 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. |
404 | The resource does not exist or you cannot access it. |
Errors use the standard error format.