Blocks
List Blocks
List blocks for a workflow with keyset cursor pagination.
Sorted by updated_at descending with id as the tiebreaker. Pass
after (the previous response’s list_metadata.after) for the next
page, before for the previous page. They are mutually exclusive; the
400 cleanly tells the caller which to drop.
GET
List every authored block in a workflow’s current draft.
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 Edges when you need to reconstruct a workflow graph.
Authorizations
Query Parameters
Block id cursor: return the page before this id (mutually exclusive with after).
Block id cursor: return the page after this id (mutually exclusive with before).
Maximum number of blocks to return per page (1-200).
Required range:
1 <= x <= 200