Db Health Check
GET
/health/db
const url = 'https://example.com/health/db';const options = {method: 'GET'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://example.com/health/dbReadiness probe — verifies DB connectivity within a short timeout.
Unauthenticated (documented as the operator readiness check), so the body is the status only: 200 {“status”: “healthy”}, or 503 {“status”: “unhealthy”} when the query fails or exceeds the timeout. The cause is logged, never returned.
Responses
Section titled “Responses”Successful Response
Media typeapplication/json
Example generated
example