Skip to main content

healthz

Function healthz 

Source
pub fn healthz(pool: &State<DbPool>) -> Json<LivenessDto>
Expand description

Public liveness probe — minimal by design (KNOWN_ISSUES X-1): {status, database.reachable} only, safe to expose unauthenticated at the edge for load balancers and agents. The detailed report (pool, dispatcher ports, corpus storage, remediations) is admin-only: the /health screen and its token-gated agent twin api_health (GET /api/health).