Skip to main content
GET
Get all edges in a workflow
Legacy endpoint - deprecated. Unversioned endpoints are scheduled for removal on July 31, 2026. A public v1 replacement is not currently listed in the v1 reference. This endpoint remains available for existing integrations until then.
Returns every edge in the given workflow. Each edge encodes a directed transition between two nodes: from_node_id is the source, to_node_id is the destination, and the optional label describes the condition that triggers the transition (for example COMPLETED, NO_ANSWER, VOICEMAIL). Combine with List Nodes to reconstruct the full workflow graph.

When to use this

  • Visual editors: fetch the edge set so the canvas can draw transitions and conditional branches.
  • Workflow exports: produce a portable JSON snapshot of the workflow structure for backups, migrations, or version control.
  • Lint and audit tooling: verify every non-terminal node has at least one outgoing edge and that conditional nodes have a labelled edge for each expected outcome.
  • Path-coverage reports: walk edges to compute which sequences of nodes leads can take and surface unreachable branches.

Edge labels

Edges may be unlabelled (the default transition between sequential steps) or labelled with a condition that ties them to an outcome of the source node. Labels are free-form strings; the values your workflow uses depend on the node types in play. Common labels include outcomes from a voice call node (COMPLETED, NO_ANSWER, VOICEMAIL, FAILED) and branches of a conditional node.

Path parameters

Errors

  • 404 Not Found is returned when the workflow does not exist.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required

Response

200

Edges fetched successfully