Skip a run's wait
POST/api/v1/automations/runs/{run_id}/skip-wait
POST /automations/runs/{run_id}/skip-wait
curl -X POST 'https://www.unitpost.com/api/v1/automations/runs/run_123/skip-wait' \
-H 'Authorization: Bearer YOUR_API_KEY' \
-H 'User-Agent: my-app/1.0'Response · 200
{
"object": "automation_run",
"id": "id_123",
"status": "waiting",
"node_id": "node_123",
"path": "next",
"resumes_at": "2026-01-01T00:00:00.000Z"
}End one waiting run's wait now, as the run inspector's Skip wait does: a Wait continues with its next block, a Wait for event takes its Timeout path, on the engine's next timer tick. A run that isn't waiting on a wait block, a paused automation, or a wait already ending is a 409. Takes no body. Requires the automations:publish capability.
Parameters1 field
| Field | Type | Description |
|---|---|---|
run_idrequired | string · path | — |
Response · 200 fields6 fields
| Field | Type | Description |
|---|---|---|
objectrequired | string | — |
idrequired | string | — |
statusrequired | string | Still waiting until the engine's next timer tick picks it up. |
node_idrequired | string | — |
pathrequired | enumnext | timeout | `next` after a Wait; `timeout` after a Wait for event. |
resumes_atrequired | string | — |
200400401403404409422