Skip to main content

get_health

Function get_health 

Source
pub async fn get_health(
    _admin: AdminAuth,
    __arg1: State<Arc<AppState>>,
) -> Response
Expand description

GET /admin/health — Overall system health.

Returns the aggregate health of all subsystems. The HTTP status code reflects the overall health:

  • 200 OK — all subsystems healthy
  • 503 Service Unavailable — one or more critical subsystems unhealthy