Health & Readiness

GET /health and GET /ready — Health check endpoints

Health Check

GET /health

Authentication: Public (no API key required)

Returns the API status:

curl https://api.vat-engine.daily-automations.app/health
{
  "status": "ok"
}

Readiness Check

GET /ready

Authentication: Public (no API key required)

Returns whether the API is ready to accept traffic (database connection is healthy):

curl https://api.vat-engine.daily-automations.app/ready
{
  "status": "ready"
}

A non-200 response from /ready indicates the service is not ready to handle requests (e.g., database is unreachable).