Skip to content

Health ​

Generated from core/api/router.go. Edit the router, not this file.

MethodPathWho can call it
GET/healthzPublic — no credential
GET/readyzPublic — no credential

GET /healthz ​

Who can call itPublic — no credential
Handlerinline

Public, and deliberately says nothing about internals.

Example request
bash
curl -X GET 'https://certpilot.example.com/healthz'

GET /readyz ​

Who can call itPublic — no credential
Handlerinline

Readiness: whether this replica can serve, which it cannot without its database. /healthz stays a liveness probe and keeps answering, so an orchestrator does not restart a process whose only fault is the network; a load balancer probing this stops sending it traffic instead. The cause is logged, not returned: the caller is unauthenticated.

Example request
bash
curl -X GET 'https://certpilot.example.com/readyz'