---
title: "Db Health"
method: GET
path: "/db_health"
---

# Db Health

`GET /db_health`

Return the API + database health status (unauthenticated).

Probes the DB with a lean unscoped ``SELECT 1`` through the ORM engine
so health mirrors the actual request path (ENG-4793). Unscoped is
correct here: ``/db_health`` is unauthenticated and has no team scope,
so ``get_session()`` would raise; a raw round-trip also avoids pinning
any table's schema and keeps the probe cheap.

Args:
    request: FastAPI request (used to consult ``app.state.is_shutting_down``).

Returns:
    JSON payload describing overall + database status.

## Response `200`

Successful Response

- unknown

---

[API](https://skmtc.net/pioneer/apis/brain-api.md) · [All operations](https://skmtc.net/pioneer/apis/brain-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/pioneer/brain-api/revisions/b92f75fd3b61/schema)
