Skip to content
Start free in Cloud

Readiness check REST API

GET
/readyz
curl --request GET \
--url https://hitkeep.com/readyz

Readiness endpoint for leader state and shared or open tenant database availability. Recovery and operator-attention states return a stable reason with a short retry interval.

Ready

Not ready

Media typeapplication/json
object
reason
required
string
Allowed values: not_leader database_unavailable database_recovering database_needs_attention
retry_after_seconds
required
integer
>= 1
status
required
string
Allowed values: not_ready
Example
{
"reason": "not_leader",
"status": "not_ready"
}
Retry-After
integer
>= 1

Seconds before retrying the readiness check.