GET /api/v1/health/db
Db Health
Verifies that the DB connection is alive (SELECT 1).
Auth: no token required
Request
Section titled “Request”curl -sS -X GET "https://entherium.duckdns.org:8443/api/v1/health/db"Response 200
Section titled “Response 200”The contract carries no example for this response; schema: DbHealth. Field-level shape: interactive explorer.
Returns
Section titled “Returns”DbHealth — Successful Response
| Field | Type | Description |
|---|---|---|
detail | string | |
status | "ok" | "fail" |
Parameters
Section titled “Parameters”None.
Errors
Section titled “Errors”| Code | Meaning | Body |
|---|---|---|
503 | Service Unavailable | DbHealth |
Every error body is {detail, code?, request_id, doc_url} — request_id is the value to quote, doc_url points at the Errors reference.