Liveness probe
GET
/health/live
const url = 'https://example.com/health/live';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/health/liveResponses
Section titled “Responses”Default Response
Media typeapplication/json
object
status
required
string
version
required
string
uptime
required
number
Example
{ "status": "ok"}