Create a new edge connecting two blocks.
Validates that:
Connect two blocks by creating an edge. You provide the edge ID — it must be unique within the workflow. Use a readable convention (e.g.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.
edge-start-to-extract) so the graph stays inspectable.
source_handle and target_handle reference handles declared by each block. The handle naming convention is direction + slot:
output-file-0, output-json-0, output-true, output-false, output-approved, …input-file-0, input-json-0, …resolved_schemas.input_schemas / resolved_schemas.output_schemas to see exactly which handles exist.
To insert many edges in one round-trip, use Create Edges (batch).
Successful Response
Edge document connecting two blocks.
Stored in workflow_edges collection. Edges are independently creatable and deletable without affecting block documents.
Foreign key to workflow
Organization ID for data isolation
ID of the source block
ID of the target block
Draft version for live entities
Output handle on source block
Input handle on target block