Health
Returns the health status of all API dependencies.
Request
Section titled “Request”GET /health
No parameters.
Example
Section titled “Example”curl https://api.mostlyright.xyz/healthfrom therminal import TherminalClientclient = TherminalClient()client.health()Response
Section titled “Response”{ "status": "ok", "duckdb": "ok", "supabase": "ok", "sync": { "last_sync": "2026-03-20T16:20:24Z", "file_count": 548, "is_stale": false }}| Field | Description |
|---|---|
status | ok or degraded |
duckdb | Embedded DuckDB status |
supabase | Supabase Postgres status |
sync.file_count | Number of parquet files synced from R2 |
sync.is_stale | true if last sync was >2 hours ago |
Try it
Section titled “Try it” GET
/health Click "Send →" to try it live