HTTP API reference
The HTTP API is documented one page per resource group under
docs/api/. Start at
the API overview for the conventions that apply to every
route: the legacy vs /db/{db} dual-route shapes, authentication, scope, the
error format, and the server-side caps.
This page is the index: every method and path the engine serves, linked to the endpoint that documents it.
Pages
| Page | Covers |
|---|---|
| Overview | conventions, auth, scope, errors, caps |
| Ops | /health, /healthz, /ready, /readyz |
| Auth | session tokens |
| Databases | /db management |
| Collections | create, list, drop, stats, config, locations, compress, fingerprint |
| Writes | write, bulk_load |
| Reads | read, attention, analyze |
| Documents | document storage and similarity search |
| Algebra | algebra over collections, compose/read |
| Vectors | stateless /vec/* math |
| Audit | the access log |
| Dream | on-demand consolidation |
Route table
45 endpoints, verified against heather_server 0.4.1. Collection and algebra routes
exist in two shapes; both are listed, and both link to the one endpoint that
documents them. The /db/{db} shape addresses any database, the legacy shape
addresses default.
Source of truth: heather_server/src/main.rs.
Ops
| Route | Legacy form |
|---|---|
| GET /health | — |
| GET /healthz | — |
| GET /ready | — |
| GET /readyz | — |
Auth
| Route | Legacy form |
|---|---|
| POST /auth/token | — |
| POST /auth/token/revoke | — |
Databases
| Route | Legacy form |
|---|---|
| GET /db | — |
| POST /db | — |
| GET /db/{db} | — |
| DELETE /db/{db} | — |
Dream
| Route | Legacy form |
|---|---|
| POST /db/{db}/dream | — |
Audit
| Route | Legacy form |
|---|---|
| GET /db/{db}/audit | — |
Collections
Writes
| Route | Legacy form |
|---|---|
| POST /db/{db}/collections/{name}/write | POST /collections/{name}/write |
| POST /db/{db}/collections/{name}/bulk_load | POST /collections/{name}/bulk_load |
Reads
Documents
Algebra
Vectors
| Route | Legacy form |
|---|---|
| POST /vec/bind | — |
| POST /vec/unbind | — |
| POST /vec/bundle | — |
| POST /vec/pow | — |
| POST /vec/rotate | — |