health
Readiness probe — checks Postgres + Redis reachability
GET
/ready
const url = 'https://search.example.com/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://search.example.com/readyResponses
Section titled “Responses”Default Response
Media typeapplication/json
object
status
required
string
Examplegenerated
{ "status": "example"}Default Response
Media typeapplication/json
object
status
required
string
checks
required
object
postgres
required
string
redis
required
string
Examplegenerated
{ "status": "example", "checks": { "postgres": "example", "redis": "example" }}
