Endpoint
Description
Returns the health status of the API Gateway and its dependencies. This endpoint is used for monitoring, load balancers, and orchestration tools to ensure the service is running correctly.Authentication
No authentication required.Response
The health check validates connectivity to critical dependencies, including RabbitMQ.Overall health status of the serviceValues:
ok, error, shutting_downDetailed information about healthy services
Details about services that failed health checks (only present when status is
error)Complete details of all health indicators checked
Example Request
Example Response
200 Healthy
503 Unhealthy
Use in Monitoring
This endpoint can be used for:- Kubernetes/Docker: Liveness and readiness probes
- Load Balancers: Health check configuration
- Monitoring Tools: Uptime monitoring (Prometheus, Datadog, etc.)
- CI/CD: Verify service health after deployment
Kubernetes Example
Notes
- Returns HTTP 200 when all checks pass
- Returns HTTP 503 when any dependency is unhealthy
- RabbitMQ connectivity is verified by attempting a ping to the message broker
- Response time should be monitored - slow responses may indicate degraded performance