Status Endpoint
Monitor self-hosted node health and readiness.
The /v1/status endpoint provides real-time health and readiness information for your Deepgram self-hosted nodes. This endpoint is essential for monitoring your deployment and integrating with load balancers, orchestration platforms, and health check systems.
Overview
The status endpoint reports the current operational state of a Deepgram node, tracking it through various states as it starts up, serves requests, and responds to runtime conditions. The endpoint helps prevent false critical alerts and provides accurate information about whether a node is ready to handle requests.
Response Format
The status endpoint returns a JSON object with the following fields:
system_health: The current state of the node (Initializing,Ready,Healthy,Degraded, orCritical)active_batch_requests: Number of pre-recorded transcription requests currently being processedactive_stream_requests: Number of real-time streaming requests currently activeactive_listen_v2_stream_requests: Number of active Flux (/v2/listen) streaming requests. Available in release260319and later.
Status States
The system_health field reports one of five possible states:
Initializing
Reported during node startup. When a Deepgram API node first starts, it reports Initializing status until the API is available and a backend Engine is connected.
The node automatically transitions to Ready once initialization completes successfully.
Example Response:
Ready
A backend Engine is available. Once initialization is complete, the node transitions to Ready status. No inference requests have been processed yet, so the node cannot confirm whether requests will succeed.
From the Ready state, the node will:
- Transition to
Healthyafter successfully processing enough requests (more than 90% success rate) - Transition to
Degradedif some requests succeed but the success rate is between 40% and 90% - Transition to
Criticalif most requests fail (fewer than 40% success rate)
Example Response:
Healthy
Sustained successful operation. A backend Engine is available and more than 90% of inference requests have been processed successfully. This indicates stable, production-ready operation.
A Healthy node can transition to Degraded or Critical if the success rate drops, including from repeated Flux (/v2/listen) request failures.
Example Response:
Degraded
Some inference requests are succeeding. A backend Engine is available, but the success rate has dropped below 90%. Between 40% and 90% of inference requests are completing successfully. The node is still processing requests, but reliability is reduced.
A Degraded node can recover to Healthy if the success rate improves above 90%, or transition to Critical if it drops below 40%.
Example Response:
Critical
Node is experiencing failures. A backend Engine is available, but fewer than 40% of inference requests are completing successfully.
This state indicates:
- The node is experiencing operational issues
- Requests may fail or produce errors
- Intervention may be required
A node in Critical status can recover to Degraded or Healthy once the success rate improves, but intervention may be required if the node remains in this state.
Example Response:
State Transitions
The following diagram illustrates how nodes transition between states:
The system determines health based on the success rate of recent inference requests:
Using the Status Endpoint
Making a Request
Query the status endpoint with a simple GET request:
Integration with Load Balancers
Configure your load balancer to use the status endpoint for health checks. Different states may require different handling:
- Initializing: Consider the node unhealthy/not ready
- Ready: Node is healthy and can receive traffic
- Healthy: Node is healthy and can receive traffic
- Degraded: Node can receive traffic but may produce errors; consider reducing load
- Critical: Remove node from rotation or reduce traffic
Example: AWS Application Load Balancer
Integration with Kubernetes
Use the status endpoint for liveness and readiness probes:
Monitoring and Alerting
The status endpoint is valuable for monitoring dashboards and alerting systems:
Best Practices
Startup Handling
During node deployment or restart:
- Wait for the
Initializingstate to transition toReadybefore sending production traffic - Allow adequate time for initialization (typically 30-60 seconds)
- Configure health checks with appropriate initial delays
Error Recovery
When a node enters Degraded or Critical state:
- Check node logs for specific error messages
- Verify Engine connectivity and resource availability
- Monitor for automatic recovery — the node can transition to a healthier state as the success rate improves
- Consider restarting the node if it remains in
Criticalstate
High Availability
For production deployments:
- Deploy multiple API nodes for redundancy
- Configure load balancers to remove
Criticalnodes from rotation and reduce traffic toDegradednodes - Set up automated alerts for
DegradedandCriticalstate transitions - Monitor the proportion of nodes in each state across your deployment
Monitoring Active Requests
Use the active_batch_requests, active_stream_requests, and active_listen_v2_stream_requests fields to:
- Track node utilization and load distribution
- Identify nodes that may be overloaded
- Plan capacity based on request patterns
- Implement graceful shutdowns by waiting for active requests to complete
Troubleshooting
Node Stuck in Initializing
If a node remains in Initializing state for an extended period:
- Verify Engine containers are running and accessible
- Check network connectivity between API and Engine nodes
- Review API and Engine logs for initialization errors
- Ensure proper configuration in
api.tomlandengine.toml
Frequent Degraded or Critical State Transitions
If nodes frequently transition to Degraded or Critical:
- Review Engine resource allocation (GPU/CPU/memory)
- Check for model loading issues or corrupted model files
- Verify license validity and connectivity to license servers
- Monitor for request patterns that may cause failures
Status Endpoint Not Responding
If the status endpoint is unreachable:
- Verify the API container is running:
docker ps - Check API logs:
docker logs CONTAINER_ID - Ensure port 8080 is accessible and not blocked by firewall rules
- Verify the API container has started successfully
What’s Next
Now that you understand how to monitor node health with the status endpoint, explore related topics:
- Metrics Guide - Detailed metrics and monitoring
- System Maintenance - Keeping your deployment healthy
- Prometheus Integration - Advanced monitoring setup