Skip to main content
curl
curl https://api.getspine.ai/v1/canvas/<canvas_id>/tasks \
  -H "X-API-KEY: sk_spine_..."
{
  "success": true,
  "data": {
    "canvas_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "completed": [
      {
        "task_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
        "name": "<string>",
        "task_type": "parent-task",
        "status": "completed",
        "children": "<array>"
      }
    ],
    "not_completed": [
      {
        "task_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
        "name": "<string>",
        "task_type": "parent-task",
        "status": "completed",
        "children": "<array>"
      }
    ]
  }
}

Authorizations

X-API-KEY
string
header
required

An API key from the Spine developer portal. Keys are prefixed with sk_spine_ and shown only once at creation. Keep them server-side.

Path Parameters

canvas_id
string<uuid>
required

Canvas identifier, returned on a completed run.

Response

Task tree grouped by completion state.

success
boolean
required
data
object
required