cURL
curl --request GET \ --url https://api.pathors.com/v1/projects/{projectId}/pathway \ --header 'Authorization: <authorization>'
Get the full pathway (nodes + edges) for a project
GET https://api.pathors.com/v1/projects/{projectId}/pathway
curl https://api.pathors.com/v1/projects/{projectId}/pathway \ -H "Authorization: Bearer dk_your_key"
{ "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" } }