TranscriptTurn
One thing that was said on the call, with its timing and any interruption detail.
- contentType: stringrequired
What was said, as text.
- roleType: enumrequired
Who spoke this turn — the Resia agent (assistant), the person it called (user), the system, or a non-speech event such as a keypad tone.
valuessystemuserassistantevent - captureType: enumnullable
_method How spoken_text was determined: exact-pts (an exact word-timed capture), estimate-16cps or sentence-sync (estimates), or none.
valuesexact-ptsestimate-16cpssentence-synclive-audio-syncnone - cutType: enumnullable
_cause Why an assistant turn was cut short — the caller talked over it (barge-in), or the call ended.
valuesbarge-incall-ended - endType: numbernullable
_secs When the turn ends, in seconds, on the same scale and from the same zero as start_secs.
- interruptedType: boolean
True when an assistant turn was cut off before it finished speaking.
- presentType: array of stringmin length:1max length:40nullable
Who was on the line when this turn was spoken, as participant names. The agent is implicit and the speaker is always a member. Absent means every participant declared on the call was on the line; an empty list means everyone was on hold and the agent was momentarily alone. A person heard a turn exactly when this field is absent or contains their name.
- speakerType: stringmin length:1max length:40nullable
Which human spoke this turn, as a participant name from the Call Agent's roster — the primary party uses the agent's primary_participant name. Present on every human turn of a multi-party call; absent on a plain two-party call.
- spokenType: numbernullable
_secs For an interrupted assistant turn, how many seconds of it were actually spoken before the cut.
- spokenType: stringnullable
_text For an interrupted assistant turn, the portion actually spoken before the cut, when known.
- startType: numbernullable
_secs When the turn starts, in seconds from the first sample of the call's recording. The count starts at the first inbound audio frame when the call has no recording. Null on multi-party calls and on turns whose position could not be measured.
- startedType: stringFormat: date-timenullable
_at When the turn's speech started, as an instant: the speech start for a person, the playout start for the agent, and the send time for a keypad tone. Every leg of a multi-party call uses the same clock, so this value interleaves the transcripts of different participants. Null for an agent turn that never played, and on older calls whose turn start was not recorded.
- timestampType: numbernullable
Deprecated: use started_at for the instant the turn started, and start_secs to place the turn in the audio. Unix epoch seconds at which Resia recorded the turn, which is not the moment speech started. Null on calls that do not record it. Do not sort or interleave turns by this value.
- turnType: string
_id Resia's identifier for this turn; empty when it was not set.
- wordsType: array of TranscriptWordnullableProperties: 3
Per-word timings for this turn, when the transcriber captured them; empty otherwise.

