cURL
curl --request GET \ --url https://sajuapi.dev/v1/health \ --header 'X-API-Key: <api-key>'
/v1/status
200 OK
service_unavailable
curl -X GET https://api.sajuapi.dev/v1/health
{ "status": "healthy", "timestamp": "2025-01-16T09:00:00Z" }
{ "status": "unhealthy", "timestamp": "2025-01-16T09:00:00Z" }
status
healthy
unhealthy
timestamp
livenessProbe: httpGet: path: /v1/health port: 3000 initialDelaySeconds: 10 periodSeconds: 30 timeoutSeconds: 5 failureThreshold: 3
Health check path: /v1/health Healthy threshold: 2 Unhealthy threshold: 3 Timeout: 5 seconds Interval: 30 seconds Success codes: 200