TrackMe API Docs

Readiness probe — checks Postgres, Redis, Meilisearch, and the object store.

Gated by `x-monitoring-secret` (or `Authorization: Bearer <MONITORING_SECRET>`). Returns 200 only when every checked dependency responds within its timeout. Returns 503 with a per-dependency status breakdown on failure.

GET
/health/ready

Response Body

application/json

application/json

application/json

curl -X GET "https://example.com/health/ready"
{  "status": "ok",  "checks": {    "postgres": {      "ok": true,      "latencyMs": 3    },    "redis": {      "ok": true,      "latencyMs": 1    },    "meilisearch": {      "ok": true,      "latencyMs": 5    },    "objectStore": {      "ok": true,      "latencyMs": 8    }  }}
{  "error": {    "code": "AUTH_REQUIRED",    "message": "Monitoring secret missing or invalid."  }}
{  "status": "ok",  "checks": {    "postgres": {      "ok": true,      "latencyMs": 3    },    "redis": {      "ok": true,      "latencyMs": 1    },    "meilisearch": {      "ok": true,      "latencyMs": 5    },    "objectStore": {      "ok": true,      "latencyMs": 8    }  }}