Health
A lightweight health check for the evaluation service. Use it for load-balancer probes, smoke tests, and uptime monitoring.
GET /health
Request
No authentication is required. There is no body.
curl https://api.redpennon.dev/health
Response
{
"status": "ok",
"db": true
}
| Field | Type | Description |
|---|---|---|
status | string | "ok" when the service can reach its database, "error" otherwise |
db | boolean | true when a database connection was established successfully |
Status codes
| Status | Meaning |
|---|---|
200 | Healthy — process up, database reachable |
503 | Unhealthy — the database connection failed |
Use this for liveness, not for cache priming
The endpoint runs a real database connection check, so keep probe frequency reasonable. Once per few seconds per probe is plenty.