๐๏ธ Execute a workflow
Starts an execution of the revision resolved by `alias` (default `latest`) or `revision`. With an `idempotencyKey`, retries return the original execution with 200 and `deduplicated: true`.
๐๏ธ List executions
Lists executions in your organization, paginated and filterable.
๐๏ธ Read an execution
Returns the execution record. Large final snapshots are omitted by default and their size reported as `finalSnapshotBytes`; pass `include=finalSnapshot` for the full payload.
๐๏ธ Read execution state
Returns a live state snapshot: per-step outputs, current steps, pending signal waits, variables, and run metadata. Queried live while the execution runs; rebuilt from storage afterwards.
๐๏ธ List execution steps
Lists step attempts, paginated. Payloads are omitted by default (their sizes are reported instead); pass `include=payloads` for full rows.
๐๏ธ Read a step's invocations
Returns every attempt and iteration of one step, always with full inputs, outputs, and logs.
๐๏ธ Read execution logs
Returns log entries, newest window first. Page backwards by passing the response's `nextCursor` as `cursor` until it is absent.
๐๏ธ Export an execution
Streams the full execution as NDJSON: one `execution` line, one `step` line per attempt (full payloads), and one `log` line per entry.
๐๏ธ Cancel an execution
Cancels a running execution.
๐๏ธ Re-run an execution
Starts a new execution of the same workflow and revision. With `fromStep`, resumes from that step replaying the prior steps' outputs. Optional body `inputs` override the original run inputs.