Resume a waiting automation node with a decision
Releases a node that is waiting on a human decision by recording `approved` or `rejected` together with optional `output`, then returns the run with its node executions. Requires the `automations:write` permission plus edit access to the automation; an unknown run returns not-found. Send an `Idempotency-Key` header to make retries safe; a replay within the window returns the original response.
Authorization
apiKey Workspace API key created in Workspace settings → API keys. Scopes on the key bound what it can read and write.
In: header
Path Parameters
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
curl -X POST "https://example.com/v1/workspaces/string/automations/string/runs/string/nodes/string/resume" \ -H "Content-Type: application/json" \ -d '{ "decision": "approved" }'{ "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" } ] }}{ "_tag": "ApiNotFound", "error": "not_found", "message": "That item does not exist, or this key cannot see it.", "status": 404}{ "_tag": "ApiNotFound", "error": "not_found", "message": "That item does not exist, or this key cannot see it.", "status": 404}Retry a finished automation run
Queues a new run of the same automation version, reusing the original run's trigger payload and recording which run it retries. Requires the `automations:write` permission plus edit access; a run that has not finished 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.
Replay one node execution from a finished run
Queues a new run that starts at the selected node with the original run's context restored. Requires the `automations:write` permission plus edit access; the original run must have finished and the selected node execution must itself be completed, failed, or cancelled, otherwise the request is rejected with a run error. Send an `Idempotency-Key` header to make retries safe; a replay within the window returns the original response.