---
title: "Scene Bundle Endpoint"
method: GET
path: "/api/v1/scenes/{scene_id}"
tags: ["scenes"]
---

# Scene Bundle Endpoint

`GET /api/v1/scenes/{scene_id}`

## Request

- Base URL: `https://statsmapped.com`
- URL: `https://statsmapped.com/api/v1/scenes/{scene_id}`
- Auth: none declared

The data an agent needs to draw a scene, with a table twin, alt text, the licence line, typed absences and a hash anyone can recompute. The server renders nothing.

## Path parameters

- `scene_id` string, required

## Query parameters

- `vintage` string, nullable: ISO date of the data vintage; omit for the current one.
- `purpose` string: analytical (default) or promotional; a promotional use of a no-advertising licence is refused.

## Response `200`

Successful Response

- SceneBundle: GET /api/v1/scenes/{scene_id} (#1711, Ireland builds slice): everything an agent needs to DRAW a figure, and nothing rendered. Built by data_lab/scene_bundle.build_bundle; the contract is in the ledger row wl:f207d7f02ea7 (docs/design/e-scene-endpoint-shape.md). `scene_hash` covers the data only (scene_id, scene_schema, vintage, rows).
  - `country` string
  - `scene_id` string, required
  - `scene_schema` string, required
  - `vintage` string, required
  - `period_first` string, required
  - `period_last` string, required
  - `rows` object[], required
  - `absences` object[]
  - `table` object[], required
  - `table_html` string, required
  - `alt_text` string, required
  - `notes` string[]
  - `licence` object, required
  - `scene_hash` string, required
  - `receipt` string, required
  - `canonical_url` string, required

## Other responses

- `400`: Bad request
- `401`: Missing or invalid credentials
- `403`: Not authorized for this request
- `404`: Not found
- `422`: Validation error
- `429`: Rate limited

---

[API](https://skmtc.dev/statsmapped/apis/statsmapped-api.md) · [All operations](https://skmtc.dev/statsmapped/apis/statsmapped-api/llms.txt) · [OpenAPI document](https://skmtc.dev/statsmapped/apis/statsmapped-api/revisions/7c5b264d05b7?raw)
