health
Readiness probe
GET
/health/ready
const url = 'https://aggregator.example.com/health/ready';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://aggregator.example.com/health/readyReturns 200 only when Postgres and Redis are both reachable; 503 otherwise.
Responses
Section titled “Responses”Default Response
Media typeapplication/json
object
status
required
string
Example
{ "status": "ready"}Default Response
Media typeapplication/json
object
status
required
string
checks
required
object
postgres
required
string
redis
required
string
Example
{ "status": "not_ready"}
