For AI agents: a documentation index is available at the root level at /llms.txt and /llms-full.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
The health check endpoint provides a simple way to verify that the API server is running and responsive. Use this for monitoring, load balancer health checks, and readiness probes.
Endpoint
GET /health
Authentication
No authentication required - This endpoint is publicly accessible.
Request
Simple GET request with no parameters:
$
curl http://localhost:7100/health
Response
Healthy Response
HTTP Status: 200 OK
1
{
2
"status": "healthy"
3
}
Unhealthy Response
HTTP Status: 503 Service Unavailable
1
{
2
"status": "unhealthy",
3
"reason": "No ASR workers available"
4
}
Use Cases
Load Balancer Health Checks
Configure your load balancer to use the health endpoint:
AWS ALB/NLB
Kubernetes Service
1
apiServer:
2
service:
3
type: LoadBalancer
4
healthCheckPath: /health
5
healthCheckInterval: 30
6
healthCheckTimeout: 5
7
healthyThreshold: 2
8
unhealthyThreshold: 3
Kubernetes Liveness Probe
Monitor pod health in Kubernetes:
1
livenessProbe:
2
httpGet:
3
path: /health
4
port: 7100
5
initialDelaySeconds: 30
6
periodSeconds: 10
7
timeoutSeconds: 5
8
failureThreshold: 3
Kubernetes Readiness Probe
Determine when pod is ready to receive traffic:
1
readinessProbe:
2
httpGet:
3
path: /health
4
port: 7100
5
initialDelaySeconds: 10
6
periodSeconds: 5
7
timeoutSeconds: 3
8
failureThreshold: 3
Monitoring and Alerting
Monitor service availability:
Prometheus
Python Script
Bash Script
1
- job_name: 'api-server-health'
2
metrics_path: '/health'
3
scrape_interval: 30s
4
static_configs:
5
- targets: ['api-server:7100']
Uptime Monitoring
Integration with uptime monitoring services:
UptimeRobot
Pingdom
Datadog
Monitor Type: HTTP(s)
URL: https://api.example.com/health
Keyword: healthy
Interval: 5 minutes
Advanced Health Checks
Detailed Health Status
For more detailed health information, add query parameter: