SnozeDevelopers
API referenceAutomations

Read automation queue and worker health

Returns aggregate operational counters for the workspace's automation engine: queued, running, waiting and dead jobs, recent retries, trigger delivery and run activity over the last day, and whether workers have checked in recently. Requires the `automations:read` permission in the workspace.

GET
/v1/workspaces/{workspaceId}/automation-operations
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

Response Body

application/json

application/json

application/json

curl -X GET "https://example.com/v1/workspaces/string/automation-operations"
{  "data": {    "generatedAt": "string",    "status": "healthy",    "activeWorkers": 0,    "queuedJobs": 0,    "runningJobs": 0,    "waitingJobs": 0,    "deadJobs": 0,    "pendingDeliveries": 0,    "processingDeliveries": 0,    "deadDeliveries": 0,    "runningRuns": 0,    "waitingRuns": 0,    "completedRuns24h": 0,    "failedRuns24h": 0,    "retriedJobs24h": 0,    "maxJobLagMs": 0,    "maxDeliveryLagMs": 0  }}