Endpoint
Response
Returns200 OK with a fixed JSON body:
Always
"ok". This value is a static string written directly by the handler — no dynamic checks are performed.This endpoint checks only that the gateway process is alive and its HTTP server is accepting connections. It does not verify that upstream models (drafter or heavyweight) are reachable, that Qdrant or Redis are healthy, or that any dependent service is available.
Use cases
Docker health check
Add aHEALTHCHECK instruction to your Dockerfile or docker-compose.yml to let Docker restart the container if the gateway becomes unresponsive.
Kubernetes liveness probe
Use/health as a livenessProbe to let Kubernetes restart pods that are no longer responding.
Load balancer health check
Most load balancers can poll/health to determine whether to include an instance in the rotation. Configure the check to expect HTTP 200 and the response body {"status":"ok"}.