> ## Documentation Index
> Fetch the complete documentation index at: https://dialnexa.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# List Edges

> Retrieve every edge (transition) in a workflow so you can rebuild the workflow graph alongside its nodes.

<Warning>
  **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.
</Warning>

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](/docs/api-reference/workflow-nodes/list) 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

| Parameter | Description                                      |
| --------- | ------------------------------------------------ |
| `id`      | The workflow ID, for example `wfl_m3v7zb9rk2px`. |

## Errors

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

## Related endpoints

* [List Nodes](/docs/api-reference/workflow-nodes/list): fetch the workflow's nodes.
* [Create Edge](/docs/api-reference/workflow-edges/create): add a new transition.
* [Delete Edge](/docs/api-reference/workflow-edges/delete): remove a transition without removing its nodes.


## OpenAPI

````yaml GET /workflows/{id}/edges
openapi: 3.0.0
info:
  title: DialNexa API
  description: >-
    Public REST API for the DialNexa voice AI platform. Versioned endpoints are
    under /v1; unversioned endpoints are legacy and deprecated.
  version: 1.0.0
servers:
  - url: https://api.dialnexa.com
    description: DialNexa production API
security:
  - bearer: []
tags:
  - name: API Keys
  - name: Agent Functions
  - name: Agents V1
  - name: Agents2
  - name: Batch Calls
  - name: Batch Calls V1
  - name: Call Logs
  - name: Calls
  - name: Calls V1
  - name: Campaign Leads
  - name: Campaigns
  - name: External Webhooks
  - name: Knowledge Base
  - name: Knowledge Base V1
  - name: LLMs
  - name: LLMs V1
  - name: Languages
  - name: Languages V1
  - name: Organization Phone Numbers
  - name: Organization Phone Numbers V1
  - name: Phone Number Pricing
  - name: Phone Number Pricing V1
  - name: Transcribers
  - name: Transcribers V1
  - name: User Webhooks
  - name: User Webhooks V1
  - name: V1
  - name: Voices
  - name: Voices V1
  - name: Webcall
  - name: Workflow Leads
  - name: Workflow Leads V1
  - name: Workflows
  - name: Workflows V1
paths:
  /workflows/{id}/edges:
    get:
      tags:
        - Workflows
      summary: Get all edges in a workflow
      description: >-
        **Legacy endpoint - deprecated, scheduled for removal on July 31,
        2026.** Use the `/v1` version for new integrations. 
      operationId: WorkflowsController_getEdges
      parameters:
        - name: id
          required: true
          in: path
          schema:
            type: string
      responses:
        '200':
          description: Edges fetched successfully
      deprecated: true
components:
  securitySchemes:
    bearer:
      scheme: bearer
      bearerFormat: JWT
      type: http

````