- Sync
- Async
Returns
DetailedHealthCheckResponse: Overall health plus per-service status details
Return detailed health status for the API
def get_health() -> DetailedHealthCheckResponse
async def get_health() -> DetailedHealthCheckResponse
DetailedHealthCheckResponse: Overall health plus per-service status detailshealth = db.get_health()
print(health.status)
for svc in health.services:
print(svc.name, svc.status)
Was this page helpful?