Export a Canvas
GET
/api/v1/notes/{id}/export
const url = 'https://example.com/api/v1/notes/example/export?format=png';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url 'https://example.com/api/v1/notes/example/export?format=png' \ --header 'Authorization: Bearer <token>'Export the authenticated User’s Canvas as PNG or SVG. The bounded offline renderer resolves authorized Home images and returns 429 when it is busy. Route: /api/v1/notes/{id}/export. Inputs: id, format, offset, limit. Safe reads can use bounded retries.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”id
required
string
Query Parameters
Section titled “Query Parameters”format
required
The format is fixed; callers cannot select a program, path or browser flag.
string
offset
integer
Byte offset for bounded CLI/MCP transfers. Omit to download the whole file.
limit
integer
A chunk is at most 512 KiB, below the shared adapter response ceiling.
Responses
Section titled “Responses”Media typeapplication/octet-stream
Array<integer>
Invalid Canvas or export dimensions
Note not found
Renderer busy
Renderer unavailable