Skip to main content
GET
/
healthz
/
ready
Readiness check
curl --request GET \
  --url http://localhost:9002/healthz/ready
{
  "status": "ready",
  "service": "authn-svc",
  "version": "1.0.0",
  "timestamp": "2024-01-15T10:30:00Z",
  "checks": {
    "database": {
      "status": "healthy",
      "latency": "2.5ms"
    },
    "accounts_service": {
      "status": "healthy",
      "latency": "1.2ms"
    },
    "notification_service": {
      "status": "healthy",
      "latency": "0.8ms"
    }
  }
}

Response

Service is ready to handle traffic

Response from the readiness probe endpoint

status
enum<string>

Current readiness status

Available options:
ready,
not_ready
service
string
Example:

"authn-svc"

version
string
Example:

"1.0.0"

timestamp
string<date-time>

UTC timestamp of the check

checks
object

Individual health check results