Health Check
Check if the Rephole API is running and healthy.
Endpoint
GET /health
Parameters
None
Response
{
"status": "ok"
}
Example
curl http://localhost:3000/health
Use Cases
- Load balancer health checks: Configure your load balancer to ping this endpoint
- Monitoring: Use with uptime monitoring tools
- Deployment verification: Verify the API started successfully
Status Codes
| Code | Description |
|---|---|
200 | Service is healthy |
503 | Service unavailable |