---
title: "Load the current scene graph visible to this credential"
method: GET
path: "/api/scenes/{id}"
---

# Load the current scene graph visible to this credential

`GET /api/scenes/{id}`

## Request

- Base URL: `https://editor.pascal.app`
- URL: `https://editor.pascal.app/api/scenes/{id}`
- Auth: HTTP bearer

## Path parameters

- `id` string, required

## Response `200`

Scene with graph

- SceneWithGraph
  - `id` string, required
  - `name` string, required
  - `projectId` string, nullable, required
  - `ownerId` string, nullable, required
  - `thumbnailUrl` string, uri, nullable
  - `version` integer, required
  - `createdAt` string, date-time, required
  - `updatedAt` string, date-time, required
  - `sizeBytes` integer
  - `nodeCount` integer
  - `graph` SceneGraph, required
    - `nodes` object, required: Pascal scene nodes keyed by node id. Runtime-validated with AnyNode.
    - `rootNodeIds` string[], required
    - `collections` object
    - `installedPlugins` string[]
    - `materials` object

## Other responses

- `401`: Missing or invalid API key/session
- `404`: Scene or project not found

---

[API](https://skmtc.dev/pascal/apis/pascal-editor-scene-api.md) · [All operations](https://skmtc.dev/pascal/apis/pascal-editor-scene-api/llms.txt) · [OpenAPI document](https://skmtc.dev/pascal/apis/pascal-editor-scene-api/revisions/664dbfa7109a?raw)
