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

# List Edges

> List all edges in the pathway

## Request

```bash theme={null}
GET https://api.pathors.com/v1/projects/{projectId}/pathway/edges
```

### Path Parameters

<ParamField path="projectId" type="string" required>The project ID</ParamField>

### Headers

<ParamField header="Authorization" type="string" required>
  Bearer token using your developer key
</ParamField>

## Response

<ResponseField name="data" type="array">
  Array of edge objects. Each edge connects a source node to a target node with a transition condition.
</ResponseField>

### Example

```bash theme={null}
curl https://api.pathors.com/v1/projects/{projectId}/pathway/edges \
  -H "Authorization: Bearer dk_your_key"
```

```json theme={null}
{
  "data": [
    {
      "id": "edge-1",
      "source": "node-1",
      "target": "node-2",
      "data": { "condition": "User wants to book" }
    }
  ]
}
```
