State machines
10 live operations under /api/state-machines. 8 require a machine key; 2 are public. Tagged: Chain & State.
| Method | Path | What it does | Auth |
|---|---|---|---|
DELETE | /api/state-machines/{slug}/chats/{threadKey} | — | key |
GET | /api/state-machines/{slug}/chats/full | everything incl. messages (boot pull) | key |
GET | /api/state-machines/{slug}/chats | thread list (meta only) | key |
PUT | /api/state-machines/{slug}/chats | bulk upsert (debounced client push) | key |
GET | /api/state-machines/{slug}/pages/{pageSlug}/history | (owner-only) | key |
POST | /api/state-machines/{slug}/pages/{pageSlug}/publish | — | key |
POST | /api/state-machines/{slug}/pages/{pageSlug}/rollback | (owner-only) | key |
POST | /api/state-machines/{slug}/pages/{pageSlug}/unpublish | (owner-only) | key |
GET | /api/state-machines/{slug}/pages/{pageSlug} | Public read of the published version. | public |
GET | /api/state-machines/{slug}/pages | Public — published pages are hosted content. | public |
Generated by scripts/generate-reference.mjs from https://zeq.me/openapi.json.