Skip to content

Search docs

Find pages, headings, and concepts. Press ⌘K or Ctrl+K to toggle.

Blocks

Canvas block CRUD, bulk positions, and arrange.

Blocks are canvas nodes created by agents or users. Project-scoped routes live under /api/v1/projects/:id/blocks.

Endpoints

MethodPathDescription
POST/api/v1/blocksCreate a block (org context).
PATCH/api/v1/blocks/:idUpdate title, data, position. Optional expectedUpdatedAt revision returns 409 when stale instead of overwriting; omitted keeps last-write-wins.
DELETE/api/v1/blocks/:idSoft-delete.
PATCH/api/v1/projects/:id/blocks/positionsBulk positions — atomic; all IDs must belong to the project.
POST/api/v1/blocks/arrangeAI layout; invalid layouts return 400 before billing.
POST/api/v1/blocks/:id/google-workspace/syncPull linked Google content.
POST/api/v1/blocks/:id/google-workspace/pushPush block content to Google.

See Blocks for the four creation paths (data_block, show, MCP App, app_create).