Skip to content

Liveness probe

GET
/health/live
curl --request GET \
--url https://api.emite.cr/health/live

Public 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.

The process is up.

Media typeapplication/json
object
status
required

ok when the probe passed; error only from /health/ready, with a 503.

string
Allowed values: ok error
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
}