HTTP Server Overview¶
The HTTP server exposes the same database and collection operations used by the Python remote client.
Start the server¶
With authentication:
Response envelope¶
Successful JSON responses use this shape:
Error responses include an error field:
Authentication¶
When --api-key is configured, all endpoints except /, /healthz, and
/readyz require authentication.
Bearer token:
Basic auth is also accepted; the password is treated as the API key.
Operational endpoints¶
| Method | Path | Auth | Description |
|---|---|---|---|
GET |
/ |
public | server banner and status |
GET |
/healthz |
public | liveness check |
GET |
/readyz |
public | readiness check |
GET |
/metrics |
protected | Prometheus metrics |
GET |
/openapi.json |
protected | generated OpenAPI schema |
Binary endpoints¶
Some high-throughput operations use compact binary payloads internally:
/bulk_add_binary/search_binary/batch_search_binary/head_binary/tail_binary
The Python HTTP client handles these protocols. Prefer the Python client unless you are implementing another language client.