healthcare.dev docs
API referenceService

Dependency readiness

GET /readyz

GET https://api.healthcare.dev/readyz

Returns 200 when the database and cache are reachable, 503 otherwise.

Public: no API key needed.

Examples

curl

curl "https://api.healthcare.dev/readyz"

TypeScript

const res = await fetch("https://api.healthcare.dev/readyz");
const { data, meta } = await res.json();

Python

import requests

res = requests.get("https://api.healthcare.dev/readyz")
body = res.json()

Try it

GEThttps://api.healthcare.dev/readyz
Copy as curl
curl "https://api.healthcare.dev/readyz"

Response

Ready

{
  "status": "ok",
  "checks": {}
}

Fields

FieldTypeAlways presentDescription
status"ok" | "degraded"yes
checksobjectyes

Errors

Errors are application/problem+json (RFC 9457). Branch on type, not on title. See Errors.

StatustypeWhen
503dataset-unavailable / unavailableThe dataset has no published version yet, or the service is degraded.

On this page