---
title: "Download the published version’s 3D file (GLB, full detail)"
method: GET
path: "/api/scenes/{id}/glb"
---

# Download the published version’s 3D file (GLB, full detail)

`GET /api/scenes/{id}/glb`

## Request

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

Every answer but the 404 carries `X-Pascal-Version`, the published version it is about. Poll while it answers 202.

## Path parameters

- `id` string, required

## Response `202`

The 3D file is baking (`{ status: "pending", version }`)

## Other responses

- `307`: Ready: `Location` is a short-lived signed URL of the GLB (textures embedded as KTX2).
- `401`: Missing or invalid API key/session
- `404`: `not_found` (no project, or the credential may not download its 3D files), `not_published`, or `{ status: "unavailable", version }` when that version has no 3D file.
- `409`: The bake failed (`{ status: "failed", version }`).

---

[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/08f1f3f41067?raw)
