> ## 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.

# Get Pathway

> Get the full pathway (nodes + edges) for a project

## Request

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

### 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

Returns the full pathway data including all nodes, edges, and metadata.

### Example

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

```json theme={null}
{
  "data": {
    "nodes": [
      {
        "id": "node-1",
        "type": "prompt",
        "position": { "x": 0, "y": 0 },
        "data": {
          "type": "start",
          "title": "Welcome",
          "prompt": "Greet the user and ask how you can help.",
          "tools": ["tool-uuid-1"]
        }
      }
    ],
    "edges": [
      {
        "id": "edge-1",
        "source": "node-1",
        "target": "node-2",
        "data": { "condition": "User wants to book" }
      }
    ],
    "version": "1.0",
    "updatedAt": "2026-03-07T00:00:00.000Z"
  }
}
```
