SnozeDevelopers
API referenceAutomations

List automation runs across the whole workspace

Returns runs for every automation in the workspace in one stream, newest first, for the workspace runs page. Requires the `automations:read` permission. Narrow the result with a comma-separated `statuses` list and page by passing `beforeStartedAt` and `beforeId` from the last row of the previous page; an unrecognized status, or one cursor field without the other, is rejected as a query validation error.

GET
/v1/workspaces/{workspaceId}/automation-runs
AuthorizationBearer <token>

Workspace API key created in Workspace settings → API keys. Scopes on the key bound what it can read and write.

In: header

Path Parameters

workspaceId*string

Query Parameters

limit?string|null
statuses?string|null
beforeStartedAt?string|null
beforeId?string|null

Response Body

application/json

application/json

application/json

curl -X GET "https://example.com/v1/workspaces/string/automation-runs"
{  "data": [    {      "id": "string",      "workspaceId": "string",      "automationId": "string",      "automationLabel": "string",      "automationKey": "string",      "status": "queued",      "source": "manual",      "startedAt": "string",      "completedAt": "string",      "error": "string"    }  ]}