Create Workflow Block Execution
Create a block execution for block_id against the current draft.
Authorizations
Body
Re-run a single block.
block_id is the block to run; run_id is the workflow run that
supplied the original inputs. step_id optionally selects a specific
step whose inputs should be used, which is useful for blocks inside a
for_each loop.
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 to look up the step.
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
The result of executing a single workflow block.
The terminal state is carried by the lifecycle field, which is one of
completed, error, or skipped.
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)
Reference to the artifact produced by this block execution, if any.
Output payloads keyed by handle ID
Active output handles for routing decisions
Duration of the block execution in milliseconds
When the block execution record was created
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