API: health
GET /api/v1/health
Section titled “GET /api/v1/health”Liveness
Always returns 200 if the process is up. No external dependencies.
Auth: no token required
Responses:
| Code | Meaning | Body |
|---|---|---|
200 | Successful Response | HealthStatus |
GET /api/v1/health/db
Section titled “GET /api/v1/health/db”Db Health
Verifies that the DB connection is alive (SELECT 1).
Auth: no token required
Responses:
| Code | Meaning | Body |
|---|---|---|
200 | Successful Response | DbHealth |
503 | Service Unavailable | DbHealth |
GET /api/v1/health/ready
Section titled “GET /api/v1/health/ready”Readiness
K8s-style /readyz — green only if both DB and Redis respond.
Auth: no token required
Responses:
| Code | Meaning | Body |
|---|---|---|
200 | Successful Response | ReadinessReport |
503 | Service Unavailable | ReadinessReport |