Health Check
Health
Health Check
Check API health and component status
GET
Health Check
GET /health
Verify that the API is running and inspect the health of its backing components. Use this for uptime monitoring, load balancer probes, and operational dashboards.Notes
- No authentication required.
- Returns a top-level
statusfield:healthywhen all components are operational, ordegradedwhen one or more components report issues. - Component checks include:
- database — PostgreSQL connectivity (
healthyorunhealthy). - queue — SQS queue reachability with per-queue status (general, energy_model, shading), approximate message counts, and in-flight counts. Reported as
not_configuredif queue URLs are not set. - monitoring — Sentry integration (
configuredornot_configured).
- database — PostgreSQL connectivity (
- The response also includes
versionandenvironmentfields. - The health check does not fail the HTTP response on degraded components; it always returns
200with the component statuses embedded in the body.
