Skip to content
中文

Canvas API

Canvas creates shared design canvases, edits them with scripts, and reads nodes and rendered images for people and agents. Concepts follow Figma REST API files, file nodes, image maps and file versions, with each file represented by a canvas. Differences: fields use snake_case and node documents use pen.dev (Pencil) .pen schema 2.21 rather than Figma nodes; writes use the custom :execute action with synchronous Pencil execute functions and :restore restores a retained version as a new version; image URLs are inline data:image/png;base64,… values, not hosted assets. Start with praxis.canvas.canvases.create, then pass its id to praxis.canvas.canvases.execute to draw your first frame.

Base URL

https://api.deepraxis.com/canvas/v1

Authentication

Authorization: Bearer <PRAXIS_API_KEY>

Endpoints