cURL
curl https://api.getspine.ai/v1/canvas/<canvas_id>/dag \ -H "X-API-KEY: sk_spine_..."
{ "success": true, "data": { "canvas_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "nodes": [ { "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "name": "<string>", "type": "prompt-block", "status": "completed", "content": "<string>", "url": "<string>", "sources": [ {} ] } ], "edges": [ { "source_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "target_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a" } ], "canvas_name": "<string>" } }
Returns the canvas block graph — nodes and edges.
An API key from the Spine developer portal. Keys are prefixed with sk_spine_ and shown only once at creation. Keep them server-side.
sk_spine_
Canvas identifier, returned on a completed run.
Canvas DAG.
Show child attributes