Check FHIR store health
- Sandbox: available
- Staging: available
- Production: unknown
Checks whether the backend can reach the FHIR store and returns the FHIR store's own health report. Its old paths, GET /healthcheck/fhir-store and GET /healthcheck/medplum, answer 301 with Location: /healthcheck/fhir.
Auth: none. The route needs no bearer token.
Behaviour
- Calls the FHIR store's
healthcheckendpoint and returnsok,version,platform,runtime,postgresandredisfrom its answer. - When the call fails, the route still answers
200, withok,postgresandredisset tofalseandversion,platformandruntimeset to empty strings. - Unlike
GET /healthcheck, this probe has no time limit of its own.
Example
curl -X GET 'https://api.sandbox.ovok.com/healthcheck/fhir'FHIR store health status.
curl -X GET 'https://api.sandbox.ovok.com/healthcheck/fhir'Check email service health GET
Reports the email service status. **Auth:** none. The route needs no bearer token. ## Behaviour - Contacts nothing. It always answers `{ "ok": true, "skipped": true }`, so the result says nothing about whether email delivery works. - `GET /healthcheck` does not include email for the same reason. ## Example ```bash curl -X GET 'https://api.sandbox.ovok.com/healthcheck/email' ```
Check CMS health GET
Checks whether the backend can reach the CMS. **Auth:** none. The route needs no bearer token. ## Behaviour - Calls the CMS's own health endpoint, `GET /api/_ovok/health`. `ok` is `true` only when it answers `200` with `status: "ok"`, which it does once it has read its database. - `ok` is `false` when the CMS answers anything else, cannot be reached, takes longer than 2 seconds, or no CMS URL is configured. - The status is `200` in every case. ## Example ```bash curl -X GET 'https://api.sandbox.ovok.com/healthcheck/cms' ``` ```json { "ok": true } ```