API reference
Health
A single endpoint for verifying connectivity and subsystem health. Useful for monitoring, load balancer probes, and CI smoke tests.
Key points
- No authentication required — health is publicly reachable
- Status is one of healthy, degraded, or unhealthy
- Per-subsystem checks are reported alongside the overall status
- Use this for load balancer probes and external monitoring
About health
The health endpoint reports overall service status plus per-subsystem health for the engine’s required infrastructure: PostgreSQL, MongoDB, and Redis. The endpoint is publicly accessible — no JWT or organization header required — so it works as a load balancer probe.
Three statuses are possible:
healthy— every subsystem is reachable and responsivedegraded— at least one non-critical subsystem is unhealthy, but the engine can still process requests with reduced functionalityunhealthy— at least one critical subsystem is unreachable; expect failures
Check system health
/api/v1/healthReturns overall system health and per-subsystem status. No authentication required.
Responses
200Health check completed. Inspect the status field.{
"status": "healthy",
"timestamp": "2026-04-26T15:30:00.000Z",
"checks": {
"postgres": "healthy",
"mongodb": "healthy",
"redis": "healthy"
}
}Even when the engine is degraded, the endpoint returns 200 with a status field reflecting the actual state. The HTTP status is not the signal — the JSON body is. This is intentional so monitoring can distinguish “engine unreachable” (HTTP failure) from “engine reachable but degraded” (HTTP 200 with status: degraded).
Example: degraded response
When Redis is down but Postgres and Mongo are healthy:
{
"status": "degraded",
"timestamp": "2026-04-26T15:30:00.000Z",
"checks": {
"postgres": "healthy",
"mongodb": "healthy",
"redis": "unhealthy"
}
}Use for probes, not for client retries