Readiness check REST API
GET
/readyz
const url = 'https://hitkeep.com/readyz';const options = {method: 'GET'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://hitkeep.com/readyzReadiness 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.
Responses
Section titled “Responses”Ready
Not ready
Media typeapplication/json
object
reason
required
string
retry_after_seconds
required
integer
status
required
string
Example
{ "reason": "not_leader", "status": "not_ready"}Headers
Section titled “Headers”Retry-After
integer
Seconds before retrying the readiness check.