HTTP error codes

Status codes returned by the ASR and TTS APIs and what each one means.

Speech-to-Text (ASR)

StatusMeaning
200Success, audio or JSON body returned.
400Bad request, missing or malformed fields. Response body: {"detail": "..."}.
401Unauthorized, API key invalid or missing.
422Synthesis / transcription error (invalid text or config).
429Rate limit exceeded. Back off and retry.
500Internal server error, unexpected server-side failure.
503Service unavailable, Triton or Redis temporarily down.
504Gateway timeout, request exceeded the processing window.

Text-to-Speech (TTS)

StatusDescription
200Success. Audio bytes in response body.
400Missing or malformed fields. Body: {"detail": "..."}.
401API key invalid or missing.
422Invalid text or config.
429Rate limited.
500Internal server error.
503Backend (Triton/Redis) temporarily unavailable.
504Gateway timeout.