Mojo UpDocs
API reference

Health

Liveness

GET/healthz

Public. Answers while the process is up, with its version.

Response Body

application/json

curl -X GET "https://example.com/healthz"
{  "ok": true,  "version": "string"}

Readiness

GET/readyz

Public. Answers when the API is ready for traffic.

Response Body

application/json

curl -X GET "https://example.com/readyz"
{  "ok": true}