Liveness probe
GET
/health/live
const url = 'https://api.emite.cr/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://api.emite.cr/health/livePublic endpoint. Answers as long as the event loop can run a handler — process uptime and current timestamp, nothing else. It deliberately does NOT touch the database, R2, ATV or Onvo: a liveness failure RESTARTS the container, so making it depend on a third party would turn any external blip into a restart storm across every replica. Excluded from the global v1 prefix.
Responses
Section titled “Responses”The process is up.
Media typeapplication/json
object
status
required
ok when the probe passed; error only from /health/ready, with a 503.
string
uptime
required
Seconds the process has been running.
number
timestamp
required
When the probe answered.
string format: date-time
Example
{ "status": "ok", "uptime": 3600.25}