Health
GET
/health
const url = 'https://example.com/health';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://example.com/healthLiveness probe - ultra-lightweight check.
Returns immediately with 200 OK if the process is alive. No dependency checks - this is for Kubernetes/Railway liveness probes.
Responses
Section titled “ Responses ”Successful Response
Media type application/json
Example generated
example