Check API health
Returns a lightweight liveness response without contacting Postgres, WorkOS, or R2, so deploys and monitors can confirm that the API process is running.
GET
/healthResponses
200Service is running
servicestringrequiredAllowed:
billtyme-apistatusstringrequiredAllowed:
okversionstringrequiredAllowed:
0.1.0Request
curl -X GET "/health"const response = await fetch("/health", {
method: "GET"
});import requests
response = requests.get(
"/health",
)Response
{
"service": "billtyme-api",
"status": "ok",
"version": "0.1.0"
}