Object
CallSpeechEvent
Fields
idstringrequiredspeakerenum (string)requiredWho was speaking during this segment.
One of
useragentstarted_speaking_at_msnumberrequiredMilliseconds since session start when speech began.
stopped_speaking_at_msnumberrequirednullableMilliseconds since session start when speech ended. Null when the session ended before the turn closed.
transcriptstringrequirednullableRecognized text for this segment, when available.
was_cutbooleanrequirednullableAgent-only: true when the agent's audio was interrupted (real or auto-resumed). Null on user segments.
is_real_turnbooleanrequiredFalse when the segment was flagged as noise/blip rather than a meaningful turn.
stt_transcription_delay_msnumberrequirednullableUser-only: time from end-of-speech to final transcript, in ms.
llm_ttft_msnumberrequirednullableAgent-only: LLM time-to-first-token for the reply, in ms.
tts_ttfb_msnumberrequirednullableAgent-only: TTS time-to-first-audio-byte for the reply, in ms.
llm_winner_modelstringrequirednullableAgent-only: the model that produced the reply — the winning leg when the LLM is a race, which is also the model
llm_ttft_msdescribes.llm_system_promptstringrequirednullableAgent-only: despite the name, the whole prompt the LLM was given for this turn — system instructions plus conversation history — as JSON.