SnozeDevelopers
API referenceAutomations

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.

POST
/v1/workspaces/{workspaceId}/automations/{automationId}/run-from-node

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

Request Body

application/json
  1. body
nodeId*string
executionMode?|null
sourceRunId?string|null
graph?|null
trigger?|||||null
automationVersionId?string|null
triggerPayload?|null
scope?|null
nodes?|null

Response Body

Success

application/json
  1. response
data*
Example Request
curl -X POST 'https://api.snoze.dev/v1/workspaces/string/automations/string/run-from-node' \  -H 'Content-Type: application/json' \  -d '{  "nodeId": "string"}'
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"      }    ]  }}