# HTTP API

> Everything the editor can do, Glider can do over HTTP.

Glider documentation · Automation & API · Web page: https://cgglider.com/docs/http-api/

Sections of this page: [Pages](https://cgglider.com/docs/http-api.md) · [Runtime](https://cgglider.com/docs/http-api/runtime.md) · [Files, fonts & secrets](https://cgglider.com/docs/http-api/files.md) · [Checks](https://cgglider.com/docs/http-api/checks.md) · [Streaming](https://cgglider.com/docs/http-api/streams.md)

Create, read, update, delete.

| Endpoint | Does |
| --- | --- |
| GET /api/pages | List saved pages. |
| POST /api/pages | Create one. |
| GET /api/pages/{id} | Read the page, including its state. 404 when it does not exist. |
| PUT /api/pages/{id} | Update name, state, isLive, data, memory, lastPlay or rundown — any subset. A full state sent here reaches an open editor at once (one undo step there), so the editor's next autosave cannot put the older scene back. |
| DELETE /api/pages/{id} | Delete it. |
| POST /api/pages/{id}/revert | Roll back to a checkpoint. |
| GET /api/pages/{id}/scene | The scene document on its own. |

> **isLive false → true runs the gate:** A PUT that turns live sync on runs the wiring, structure, unit and scene checks. A failure answers 409 with the failing check name and its report — see Pre-flight Checks.

> **Warning:** Do not write data/pages/*.json directly while the server is running; the app owns those files and will overwrite you.
