Edges
List Edges
List edges for a workflow with keyset cursor pagination.
Optionally filter by source or target block ID. Sorted by updated_at
descending with id as the tiebreaker. Pass after for the next
page, before for the previous page — mutually exclusive.
GET
List edges in a workflow’s current draft. Optionally filter to edges incident to a specific block by passing
source_block or target_block.
Returns the canonical { "data": [...], "list_metadata": { "before": null, "after": null } } pagination envelope shared with all Retab list endpoints. Cursor pagination is not yet implemented for this endpoint — list_metadata is always { before: null, after: null }.
Use this endpoint with List Blocks when you need to reconstruct a workflow graph.
Authorizations
Query Parameters
Filter by source block ID
Filter by target block ID
Edge id cursor: return the page before this id (mutually exclusive with after).
Edge id cursor: return the page after this id (mutually exclusive with before).
Maximum number of edges to return per page (1-200).
Required range:
1 <= x <= 200