Interpret

Interpret

{
    "id": "<string>",
    "customer_id": "<string>",
    "activeflow_id": "<string>",
    "confbridge_id": "<string>",
    "call_id": "<string>",
    "peer_call_id": "<string>",
    "language": "<string>",
    "peer_language": "<string>",
    "keep_original_audio": <boolean>,
    "original_attenuation_db": <integer>,
    "provider": "<string>",
    "peer_voice_id": "<string>",
    "status": "<string>",
    "end_reason": "<string>",
    "utterance_count": <integer>,
    "translate_in_chars": <integer>,
    "translate_out_chars": <integer>,
    "tts_chars": <integer>,
    "tm_start": "<string>",
    "tm_end": "<string>",
    "tm_create": "<string>",
    "tm_update": "<string>",
    "tm_delete": "<string>"
}
  • id (UUID): The interpretation’s unique identifier. Returned when creating via POST /interprets or listing via GET /interprets.

  • customer_id (UUID): The customer who owns the interpretation. Obtained from GET /customers.

  • activeflow_id (UUID): The activeflow that started the interpretation. Obtained from GET /activeflows. Set to 00000000-0000-0000-0000-000000000000 when started by the API.

  • confbridge_id (UUID): The two party connect that the calls are joined to.

  • call_id (UUID): The call of this interpretation. Only this call is interpreted and controlled. Obtained from GET /calls. Empty while the interpretation of a connected call waits for that call to answer.

  • peer_call_id (UUID): The other call of the connect. A reference only: its media is never touched. Obtained from GET /calls.

  • language (String, BCP47): Language spoken on the call call_id. See Supported Languages.

  • peer_language (String, BCP47): Language that the other party hears.

  • keep_original_audio (Boolean): true when the original voice stays audible but attenuated.

  • original_attenuation_db (Integer): Attenuation of the original voice in dB.

  • provider (String): Text-to-speech provider. Empty is the platform default.

  • peer_voice_id (String): Voice that the other party hears.

  • status (enum string): See Status.

  • end_reason (enum string): See End reason. Empty while the interpretation is active.

  • utterance_count (Integer): Number of interpreted utterances.

  • translate_in_chars (Integer): Characters sent to the translation.

  • translate_out_chars (Integer): Characters received from the translation.

  • tts_chars (Integer): Characters played by the text-to-speech.

  • tm_start (string, ISO 8601): Timestamp when the interpretation started to interpret.

  • tm_end (string, ISO 8601): Timestamp when the interpretation ended.

  • tm_create (string, ISO 8601): Timestamp when the interpretation was created.

  • tm_update (string, ISO 8601): Timestamp of the last update.

  • tm_delete (string, ISO 8601): Timestamp when the interpretation was deleted. The field is absent while it is not deleted.

Example

{
    "id": "3f6c8d2a-5b1e-4a7c-9d0f-2e4b6a8c0d11",
    "customer_id": "5e4a0680-804e-11ec-8477-2fea5968d85b",
    "activeflow_id": "00000000-0000-0000-0000-000000000000",
    "confbridge_id": "0d1e2f3a-4b5c-6789-2345-678901abcdef",
    "call_id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
    "peer_call_id": "b2c3d4e5-f6a7-8901-bcde-f12345678901",
    "language": "en-US",
    "peer_language": "es-ES",
    "keep_original_audio": false,
    "original_attenuation_db": 12,
    "provider": "elevenlabs",
    "peer_voice_id": "AZnzlk1XvdvUeBnXmlld",
    "status": "progressing",
    "end_reason": "",
    "utterance_count": 14,
    "translate_in_chars": 620,
    "translate_out_chars": 690,
    "tts_chars": 690,
    "tm_start": "2026-12-04T10:15:30.000000Z",
    "tm_create": "2026-12-04T10:15:28.000000Z",
    "tm_update": "2026-12-04T10:25:30.000000Z"
}

Status

Status

Description

initiating

Waiting to be started, or for the connected call to answer.

starting

The media is being prepared.

progressing

Interpreting.

ending

Being stopped. The original voice of the call is restored.

ended

Finished.

failed

Finished by a failure.

End reason

End reason

Description

api_stop

Stopped by POST /interprets/{id}/stop.

flow_stop

Stopped by the interpret_stop action or by a failed connect.

call_hangup

The call or the other call of the connect hung up.

structure_changed

The call is no longer a two party connect.

failure

Failed while running.

start_failed

Could not start.

Utterance

{
    "id": "<string>",
    "customer_id": "<string>",
    "interpret_id": "<string>",
    "speaker_call_id": "<string>",
    "listener_call_id": "<string>",
    "speaker_language": "<string>",
    "listener_language": "<string>",
    "speech_text": "<string>",
    "translated_text": "<string>",
    "tm_speech_start": "<string>",
    "tm_speech_end": "<string>",
    "tm_play_start_est": "<string>",
    "latency_ms": <integer>,
    "tm_create": "<string>"
}
  • id (UUID): The utterance’s unique identifier. Returned from GET /interprets/{id}/utterances.

  • customer_id (UUID): The customer who owns the utterance.

  • interpret_id (UUID): The interpretation that the utterance belongs to.

  • speaker_call_id (UUID): The call that the words came from.

  • listener_call_id (UUID): The call that heard the translation.

  • speaker_language (String, BCP47): Language of the recognized words.

  • listener_language (String, BCP47): Language of the translation.

  • speech_text (String): The recognized words. Customer content.

  • translated_text (String): The translation. Customer content.

  • tm_speech_start (string, ISO 8601): Time the recognition reported the start of the speech. It is the receive time at the recognition service, later than the real speech.

  • tm_speech_end (string, ISO 8601): Time the recognition reported the end of the speech.

  • tm_play_start_est (string, ISO 8601): Estimated time that the translation started to play.

  • latency_ms (Integer): Milliseconds from the final recognition result to the moment the translation was handed to the text-to-speech.

  • tm_create (string, ISO 8601): Timestamp when the utterance was created.

Utterance failed

The payload of the interpret_utterance_failed event. It carries no customer content.

{
    "id": "<string>",
    "customer_id": "<string>",
    "speaker_call_id": "<string>",
    "listener_call_id": "<string>",
    "stage": "<string>",
    "error": "<string>",
    "tm_create": "<string>"
}
  • id (UUID): The interpretation that the failed utterance belongs to.

  • customer_id (UUID): The customer who owns the interpretation.

  • speaker_call_id (UUID): The call that the words came from.

  • listener_call_id (UUID): The call that would have heard the translation.

  • stage (String): The stage that failed: stt, translate, tts or queue.

  • error (String, Optional): The class of a translation failure. It is set only when stage is translate. The value is http_<status> or http_<status>_<ENUM> when the translation provider answered with an error (for example http_404 or http_404_NOT_FOUND, where <status> is the HTTP status and <ENUM> is the status name of the provider), or one of timeout, parse_error, empty_response, key_not_configured and request_failed. It never contains the provider message or the text.

  • tm_create (string, ISO 8601): Timestamp when the failure was recorded.