Run an automation starting from one node
Queues a run that begins at `nodeId`, optionally against a specific `automationVersionId` and pre-seeded with `scope` and per-node `nodes` context so a single branch can be exercised. Requires the `automations:write` permission plus edit access; a version belonging to another automation is rejected with a validation error, and without an explicit version the automation must be published and enabled. Send an `Idempotency-Key` header to make retries safe; a replay within the window returns the original response.
apiKeyAuthorizationBearer <snoze_sk_…>Workspace API key created in Workspace settings → API keys. Scopes on the key bound what it can read and write.
workspaceId*stringautomationId*stringapplication/json- body
nodeId*stringexecutionMode?|nullsourceRunId?string|nullgraph?|nulltrigger?|||||nullautomationVersionId?string|nulltriggerPayload?|nullscope?|nullnodes?|nullSuccess
application/json- response
data*curl -X POST 'https://api.snoze.dev/v1/workspaces/string/automations/string/run-from-node' \ -H 'Content-Type: application/json' \ -d '{ "nodeId": "string"}'{ "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" } ] }}Test-run an automation without enabling it
Queues a run against the draft version when one exists and the published version otherwise, ignoring the enabled flag so an automation can be exercised before it goes live. Requires the `automations:write` permission plus edit access; an automation with no version yet is rejected with a run error. Send an `Idempotency-Key` header to make retries safe; a replay within the window returns the original response.
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.