Overview
The health check endpoint allows you to verify that all required Unmute backend services are operational. This endpoint checks the status of the TTS (Text-to-Speech), STT (Speech-to-Text), LLM (Language Model), and Voice Cloning services.Endpoint
Response
The endpoint returns a JSON object with the status of each service:Indicates whether the Text-to-Speech service is operational
Indicates whether the Speech-to-Text service is operational
Indicates whether the Language Model service is operational
Indicates whether the Voice Cloning service is operational
Overall health status. Returns
true if TTS, STT, and LLM services are all operational. Note that voice cloning is not required for the server to be considered healthy.Response Example
Error Response
If any critical service is down, the response will indicate which services are unavailable:Status Codes
Successfully retrieved health status (returned regardless of whether services are healthy or not)
Caching
This endpoint implements a 0.5-second TTL cache to prevent excessive health checks from overwhelming the backend services.Usage Notes
- The
okfield only considers TTS, STT, and LLM services as critical - Voice cloning service status is informational but does not affect the overall
okstatus - Health checks are performed asynchronously in parallel for optimal performance
- This endpoint should be called before initiating a WebSocket connection to
/v1/realtime