B2BB2B LLM

Health endpoints

Service liveness and readiness checks.

Health endpoints

GET /health

Unauthenticated public health response.

Request

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

Response

{"status":"ok"}

GET /health/live

Process liveness:

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

GET /health/ready

Checks MySQL and Redis dependencies:

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

When a dependency is unavailable, readiness returns HTTP 503 with the failing dependency in the JSON response.