VoiceAgentServerEventResponseAudioTimestampDelta interface
The response.audio_timestamp.delta server event.
- Extends
Properties
| audio_duration_ms | The duration, in milliseconds, of the audio corresponding to the timestamped text. |
| audio_offset_ms | The starting audio offset, in milliseconds, of the timestamped text. |
| content_index | The index of the content part in the item's content array. |
| event_id | The unique identifier of the server event. |
| item_id | The identifier of the output item associated with this event. |
| output_index | The index of the output item in the response. |
| response_id | The identifier of the response associated with this event. |
| text | The word associated with this audio timestamp. |
| timestamp_type | The granularity of the audio timestamp. Always |
| type | The event type. Always |
Property Details
audio_duration_ms
The duration, in milliseconds, of the audio corresponding to the timestamped text.
audio_duration_ms: number
Property Value
number
audio_offset_ms
The starting audio offset, in milliseconds, of the timestamped text.
audio_offset_ms: number
Property Value
number
content_index
The index of the content part in the item's content array.
content_index: number
Property Value
number
event_id
The unique identifier of the server event.
event_id: string
Property Value
string
item_id
The identifier of the output item associated with this event.
item_id: string
Property Value
string
output_index
The index of the output item in the response.
output_index: number
Property Value
number
response_id
The identifier of the response associated with this event.
response_id: string
Property Value
string
text
The word associated with this audio timestamp.
text: string
Property Value
string
timestamp_type
The granularity of the audio timestamp. Always word.
timestamp_type: "word"
Property Value
"word"
type
The event type. Always response.audio_timestamp.delta.
type: "response.audio_timestamp.delta"
Property Value
"response.audio_timestamp.delta"