Documentation Index
Fetch the complete documentation index at: https://orbit-docs.devotel.io/llms.txt
Use this file to discover all available pages before exploring further.
Flow Executions
Every time a published flow runs — triggered by an inbound message, a campaign send, an API call, or a scheduled cron — Orbit records a complete execution trace: which nodes ran, what their inputs and outputs were, how long they took, and any errors raised. Use the Executions API to debug flow logic in production, replay a failed run after a fix, or stream execution events into your observability stack.List recent executions
Response
Get a single execution
node_runs array with per-node input, output, started_at, ended_at, error, and a stable node_id so you can correlate against the flow definition.
Replay an execution
use_latest_version: false to replay against the original version that ran. override_inputs lets you patch the original trigger payload — useful when a downstream service was at fault and the input itself was correct, or vice-versa.
Stream execution events (SSE)
execution.started, execution.node_started, execution.node_completed, execution.node_failed, execution.completed, execution.failed. Each event carries the same shape as the corresponding webhook event so the same handler can consume both transports.
Status values
| Status | Meaning |
|---|---|
pending | Queued; workers haven’t picked it up yet. |
running | At least one node is currently executing. |
completed | All nodes finished successfully. |
failed | A node threw an unrecoverable error. |
cancelled | Execution was cancelled (manually or by a flow’s TTL). |
timed_out | Execution exceeded the per-flow wallclock cap. |
Common errors
| Code | HTTP | Cause | Fix |
|---|---|---|---|
EXECUTION_NOT_FOUND | 404 | The execution id doesn’t belong to the calling org or has been purged (90-day default retention). | Verify the id, and your org id; bump retention via Settings → Compliance → Retention if you need longer history. |
EXECUTION_REPLAY_TOO_OLD | 409 | The original flow version no longer exists and use_latest_version=false was set. | Replay against the latest version, or restore the archived version first. |
EXECUTION_REPLAY_NOT_REPLAYABLE | 422 | Webhook-trigger replays without override_inputs are rejected because the upstream signature is one-time-use. | Pass override_inputs with the trigger payload you want replayed. |
EXECUTION_RATE_LIMITED | 429 | Per-key replay rate exceeds the cap (default 30/min). | Honour Retry-After. |
Retention
Executions are retained for 90 days on the self-serve plan and configurable up to 24 months on Enterprise. Beyond the retention window, only thestarted_at, status, and flow_id summary fields are kept; the per-node trace is purged.