B2BB2B LLM

Gezondheidseindpunten

Servicelevensduur en gereedheidscontroles.

Gezondheidseindpunten

GET /health

Niet-geauthenticeerde reactie op de volksgezondheid.

Verzoek

curl https://api.model-gate.com/health

Antwoord

{"status":"ok"}

GET /health/live

Levendigheid van het proces:

curl https://api.model-gate.com/health/live
{"status":"ok"}

GET /health/ready

Controleert MySQL- en Redis-afhankelijkheden:

curl https://api.model-gate.com/health/ready
{"status":"ready"}

Wanneer een afhankelijkheid niet beschikbaar is, retourneert gereedheid HTTP 503 met de falende afhankelijkheid in het JSON-antwoord.