Create Workflow Block Execution
Create a block execution for block_id against the current draft.
Create a workflow block execution from a prior run.Documentation Index
Fetch the complete documentation index at: https://docs.retab.com/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
Body
Body for POST /v1/workflows/blocks/executions.
block_id is the block to replay; run_id is the workflow run that
sourced the original step's handle_inputs. step_id optionally pins
a concrete step row whose inputs should be used, which is useful for
iteration-prefixed for_each body steps.
Workflow run id that owns the step.
Workflow block id to execute.
Optional concrete step id whose inputs should be used. When omitted, the block id is used as the canonical step lookup key.
Optional override for n_consensus on extract / split / classifier blocks. Must be 3, 5, or 7.
Whether to verify the upstream subgraph hasn't drifted since the source run. Disable only for explicit force-rerun flows.
Response
Successful Response
Public block execution result for a single workflow block.
Terminal state is carried by the discriminated lifecycle union. The
legacy flat success / error / skipped fields were removed in
the hard cutover — they let invalid combinations (success=true with
a non-empty error) be representable on the wire and forced consumers
to know an undocumented field-precedence rule.
Unique block execution ID
Workflow the block belongs to
Run whose inputs were used
ID of the block that was executed
Type of the block
Terminal: the executed block executed successfully.
- CompletedBlockExecutionLifecycle
- ErrorBlockExecutionLifecycle
- SkippedBlockExecutionLifecycle
Input payloads keyed by handle ID (file metadata for files, data for json)
Canonical persisted-ref artifact for this block execution (operation + id), if any
Output payloads keyed by handle ID
Active output handles for routing decisions
Duration of the block execution in milliseconds
The draft block config used for this block execution
The step ID that was used for inputs (includes iteration prefix if applicable)
When the block has multiple iterations, lists all available ones