The block graph
Block 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:Timing
A canvas is created duringruns.create, but its canvas_id may not be
populated on the very first poll — the server persists it a moment
after the run starts. Read it from the run object once status moves
past running, or after a short wait: