Health check
GET
Liveness, for orchestrators deciding whether to restart the instance; needs no token. Always 200 while the server runs (content and PDF routes work without the database); database is unavailable when it does not answer within 2 seconds. A load balancer choosing instances to route to uses /health/ready.
application/json- response
status*stringdegraded when a dependency is unavailable
Value in
"ok""degraded"database*stringValue in
"ok""unavailable"pool*stringsaturated when queries wait for a free database connection
Value in
"ok""saturated"blobs*stringunavailable when the blob store (images, files) does not answer
Value in
"ok""unavailable"curl -X GET 'http://localhost:3000/health'Example Response200
{ "status": "ok", "database": "ok", "pool": "ok", "blobs": "ok"}