latestOpenAPI 3.0.02026-08-08270135.7 KB

c1404d1545ba

scenes
scene-content

Get scene content

Retrieve the complete content of a scene including all drawing elements and files.

This endpoint returns:
- All drawing elements (shapes, lines, text, etc.)
- Embedded files and images
- Scene settings and configuration
- Version information
- Canvas state and viewport settings

<Callout type="info">
The response includes the current version of the scene. For version history or specific versions, use the versioning endpoints.
</Callout>

<Callout type="performance">
Large scenes with many elements or files may result in substantial response sizes. Consider implementing client-side caching for frequently accessed scenes.
</Callout>

**Use cases:**
- Loading scenes for editing
- Creating scene backups
- Exporting scene data
- Scene analysis and processing
get/api/v1/scenes/{sceneId}/content

Path parameters

sceneIdstring required

Response

This response returns the complete content of the requested scene.

type'excalidraw' required
versionnumber required
sourcestring required
sceneVersionstring required
filesobject required
filesFailedToEmbedstring[]

List of file IDs referenced by the scene that could not be embedded into the response. Omitted when all referenced files were embedded successfully.