Overview
The health check endpoint provides a simple way to verify that the Concentrate AI API is operational. This endpoint does not require authentication and is useful for monitoring, uptime checks, and service health verification.Authentication
This endpoint does not require authentication. You can call it without an API key.
Request Examples
Response
Success (200 OK)
Empty response body with 200 status code indicates the API is operational.Failure (5xx)
If the API is experiencing issues, you may receive a 5xx status code or no response at all.Use Cases
1. Uptime Monitoring
Use health checks in your monitoring system:2. Pre-Flight Checks
Verify API availability before making critical requests:3. Load Balancer Health Checks
Configure your load balancer to use this endpoint:AWS ALB Target Group
Nginx Configuration
4. Circuit Breaker Integration
Use health checks to control circuit breaker state:Monitoring Best Practices
Set appropriate timeouts
Set appropriate timeouts
Always use short timeouts for health checks to avoid hanging:
Use exponential backoff
Use exponential backoff
Don’t hammer the health endpoint on failures:
Monitor from multiple locations
Monitor from multiple locations
Check from different regions to detect regional outages:
Track response times
Track response times
Monitor latency to detect degradation:
Health Check Metrics
Track these metrics for effective monitoring:Status Page
For real-time API status and incident updates, visit: status.concentrate.aiTroubleshooting
Health check always fails
Health check always fails
Possible causes:
- Network connectivity issues
- DNS resolution problems
- Firewall blocking requests
- SSL/TLS certificate issues
Intermittent failures
Intermittent failures
Possible causes:
- Network instability
- Timeout too short
- Load balancer issues
- API experiencing high load
- Increase timeout to 5-10 seconds
- Implement retry logic with backoff
- Check from multiple locations
- Review status page for incidents
Slow response times
Slow response times
Possible causes:
- API under heavy load
- Network latency
- Regional routing issues
- Monitor response time trends
- Check if issue is regional
- Consider using a closer endpoint
- Review status page
Example: Complete Health Monitoring System
Related Documentation
Error Handling
Handle API errors
Create Response
Main API endpoint