SnozeDevelopers
API referenceAutomations

List an automation's runs

Returns the automation's runs, newest first, each expanded with its per-node executions. Requires the `automations:read` permission plus view access to the automation. Pass `limit` to change the page size; it defaults to 30 and is capped at 100.

GET
/v1/workspaces/{workspaceId}/automations/{automationId}/runs

Authorization

apiKey
headerAuthorizationBearer <snoze_sk_…>

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

Path Parameters

workspaceId*string
automationId*string

Query Parameters

limit?string|null

Response Body

Success

application/json
  1. response
data*array<>
Example Request
curl -X GET 'https://api.snoze.dev/v1/workspaces/string/automations/string/runs'
Example Response
{  "data": [    {      "id": "string",      "automationId": "string",      "automationVersionId": "string",      "workspaceId": "string",      "status": "queued",      "source": "manual",      "startedAt": "string",      "completedAt": "string",      "triggerPayload": {},      "output": {},      "error": "string",      "metadata": {},      "startNodeId": "string",      "replayOfRunId": "string",      "nodeRuns": [        {          "id": "string",          "runId": "string",          "nodeId": "string",          "nodeKind": "string",          "scopeKey": "string",          "status": "queued",          "attempt": 0,          "input": {},          "output": {},          "error": "string",          "startedAt": "string",          "completedAt": "string"        }      ]    }  ]}