Path Parameters
endpointId: The unique identifier of the endpoint to check health for
Query Parameters
check: Type of health check (basic,detailed,deep) - defaults tobasictimeout: Maximum time to wait for health check in seconds (1-30) - defaults to 10include: Additional health metrics to include (dependencies,resources,connectivity)
Example Usage
Basic Health Check
Detailed Health Check with Resources
Deep Health Check with Full Diagnostics
Batch Health Check for Multiple Endpoints
Response
Healthy Endpoint Response
Unhealthy Endpoint Response
Endpoint Starting Response
Health Status Values
Overall Status
healthy: Endpoint is fully operational and ready to serve requestsdegraded: Endpoint is operational but experiencing issues that may affect performanceunhealthy: Endpoint has critical issues and may not process requests reliablystarting: Endpoint is starting up and not yet readystopped: Endpoint is intentionally stoppederror: Endpoint is in an error state and requires intervention
Readiness Status
ready: Endpoint can accept and process requests immediatelynot_ready: Endpoint cannot process requests (starting, errors, resource issues)warming_up: Endpoint is ready but may have increased latency due to cold start
Component Status
healthy: Component is operating normallydegraded: Component is functional but with reduced performanceunhealthy: Component has critical issuesfailed: Component is not functioningunknown: Component status cannot be determined
Health Check Types
Basic Health Check
- API endpoint responsiveness
- Basic resource availability
- Service uptime
Detailed Health Check
- All basic checks plus:
- Resource utilization metrics
- Dependency service status
- Performance metrics
- Recent error rates
Deep Health Check
- All detailed checks plus:
- Full system diagnostics
- Connectivity tests to all dependencies
- Model inference test
- Storage and network I/O tests
Readiness Probes
Kubernetes-Style Readiness
Readiness Response
Liveness Probes
Basic Liveness Check
Liveness Response
Resource Health Monitoring
GPU Health Details
Storage Health Details
Error Handling
404 Endpoint Not Found
503 Service Unavailable
408 Timeout
SDK Examples
Python SDK
JavaScript SDK
Use Cases
Production Monitoring
- Service Reliability: Monitor endpoint health in production environments
- Automated Alerts: Set up alerting based on health status changes
- Load Balancing: Route traffic away from unhealthy endpoints
- Capacity Planning: Monitor resource utilization trends
CI/CD Integration
- Deployment Validation: Verify endpoint health after deployments
- Rollback Triggers: Automatically rollback on health failures
- Readiness Gates: Wait for endpoints to be ready before promoting traffic
- Health-based Testing: Run tests only when endpoints are healthy
Auto-scaling and Orchestration
- Kubernetes Integration: Use as readiness and liveness probes
- Auto-scaling Triggers: Scale based on resource health metrics
- Failover Systems: Detect failures and switch to backup endpoints
- Maintenance Windows: Schedule maintenance based on health patterns
Development and Debugging
- Performance Optimization: Identify performance bottlenecks
- Resource Monitoring: Track resource usage during development
- Dependency Validation: Ensure all dependencies are healthy
- Cold Start Analysis: Monitor startup performance and optimization
Best Practices
Health Check Strategy
- Regular Monitoring: Implement regular health checks with appropriate intervals
- Graduated Checks: Use basic checks for frequent monitoring, detailed for diagnostics
- Timeout Management: Set appropriate timeouts based on expected response times
- Error Handling: Implement graceful handling of health check failures
Performance Considerations
- Check Frequency: Balance monitoring frequency with system load
- Batch Operations: Use batch health checks for multiple endpoints
- Caching: Cache health results for non-critical monitoring
- Selective Inclusion: Only request detailed metrics when needed
Alert Configuration
- Threshold Setting: Set appropriate thresholds for different severity levels
- Alert Fatigue: Prevent alert fatigue with intelligent alerting
- Escalation Paths: Define clear escalation procedures for different issue types
- Recovery Actions: Implement automated recovery actions where appropriate
Integration Patterns
- Circuit Breakers: Use health status to trigger circuit breaker patterns
- Service Mesh: Integrate with service mesh health checking
- Monitoring Tools: Export health metrics to monitoring and observability tools
- Documentation: Document health check interpretations and response procedures
Health checks are cached for 30 seconds to reduce system load. For real-time status updates, use the streaming
endpoints or webhook notifications.

