Skip to main content

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

Always use short timeouts for health checks to avoid hanging:
Don’t hammer the health endpoint on failures:
Check from different regions to detect regional outages:
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.ai
Subscribe to status page updates to receive notifications about planned maintenance and incidents.

Troubleshooting

Possible causes:
  • Network connectivity issues
  • DNS resolution problems
  • Firewall blocking requests
  • SSL/TLS certificate issues
Debug steps:
Possible causes:
  • Network instability
  • Timeout too short
  • Load balancer issues
  • API experiencing high load
Solutions:
  • Increase timeout to 5-10 seconds
  • Implement retry logic with backoff
  • Check from multiple locations
  • Review status page for incidents
Possible causes:
  • API under heavy load
  • Network latency
  • Regional routing issues
Solutions:
  • Monitor response time trends
  • Check if issue is regional
  • Consider using a closer endpoint
  • Review status page

Example: Complete Health Monitoring System

Error Handling

Handle API errors

Create Response

Main API endpoint