Simulate a single block using inputs from a previous run and the current draft config.
This endpoint:
Useful for testing config changes on a block before re-running the entire workflow.
Query params:
Replay one workflow block using inputs from a previous run plus the current draft block config. The block executes once but its result is not persisted into the run — useful for testing config changes without re-running the whole workflow. The route is keyed byDocumentation Index
Fetch the complete documentation index at: https://docs.retab.com/llms.txt
Use this file to discover all available pages before exploring further.
run_id (the workflow run whose recorded inputs feed
the block), not by workflow_id.
Behavior:
check_eligibility=false).handle_inputs from the run’s recorded step data.artifact ref where the
block produces a persisted resource (extract → extraction, split → split,
etc.).n_consensus — 3 / 5 / 7. Only meaningful for extract,
split, and classifier blocks; ignored otherwise.step_id — for blocks inside a for_each or while_loop, pick a
specific iteration. Defaults to the base step or the first iteration.check_eligibility — defaults to true. Returns 409 if the
upstream subgraph changed since run_id executed. Pass false to skip
the check.start, start_json, hil, api_call, plus
display-only blocks like note.
Successful Response
A stored simulation result for a single workflow block.
Unique simulation ID
Organization that owns this simulation
Workflow the block belongs to
Run whose inputs were used
ID of the block that was simulated
Type of the block
Whether simulation succeeded
Input payloads keyed by handle ID (file metadata for files, data for json)
Canonical persisted-ref artifact for this simulation (operation + id), if any
Output payloads keyed by handle ID
Active output handles for routing decisions
Error message if simulation failed
Duration of the simulation in milliseconds
Whether the block was skipped due to missing inputs
The draft block config used for this simulation
The step ID that was used for inputs (includes iteration prefix if applicable)
When the block has multiple iterations, lists all available ones