The block graph
CanvasNode exposes:
| Field | Description |
|---|---|
id | UUID of the block. |
name | Human-readable block name. |
type | Block type (e.g. document-block, excel-block). |
status | Current state (idle, running, completed, error, …). |
content | Textual content, when applicable. |
url | External or pre-signed download URL, when applicable. |
sources | Source attributions (block-type specific). |
The task tree
The task tree describes the agent execution that produced the canvas — parent tasks, persona tasks, individual tool calls. It is split into completed and in-progress subtrees:A single task
If you already have a task id (from a progress webhook or a previous tree), fetch just that one with its immediate children:Async versions
Every method above has an async twin onAsyncSpineClient: