BetaVoiceAgentsLiveConversationsOperations interface
Operations for managing persisted Live voice conversations.
Properties
| delete | Deletes the stored conversation and its items/audio, without closing the Live session. |
| download |
Streams the merged stereo WAV. BYOS returns 409; use blob_uri. Returns 404 for no audio, or 409 recording_not_ready/recording_unavailable for pending/failed finalization. |
| download |
Streams captured speech as WAV. BYOS returns 409; use blob_uri. Returns 404 for missing audio, conversations not stored, or delegation items. |
| get | Gets a stored Live conversation; fetch items separately. Returns 404 if absent or not stored. |
| get |
Gets merged stereo recording metadata (user left, assistant right). BYOS uses unsigned blob_uri. Returns 404 for no audio, or 409 recording_not_ready/recording_unavailable for pending/failed finalization; pending responses may include Retry-After. |
| get |
Gets captured speech-audio metadata. BYOS uses unsigned blob_uri. Returns 404 for missing audio, conversations not stored, or delegation items. |
| get |
Gets a stored item by ID. Returns 404 if the item or conversation is absent. |
| list | Lists stored Live conversations for this agent, including sessions stored via an override. |
| list |
Lists stored speech and delegation items in order; cursors use item IDs. Returns 404 if the conversation is absent or not stored. |
Property Details
delete
Deletes the stored conversation and its items/audio, without closing the Live session.
delete: (agentName: string, conversationId: string, options?: BetaVoiceAgentsLiveConversationsDeleteOptionalParams) => Promise<void>
Property Value
(agentName: string, conversationId: string, options?: BetaVoiceAgentsLiveConversationsDeleteOptionalParams) => Promise<void>
downloadAudio
Streams the merged stereo WAV. BYOS returns 409; use blob_uri. Returns 404 for no audio, or 409 recording_not_ready/recording_unavailable for pending/failed finalization.
downloadAudio: (agentName: string, conversationId: string, options?: BetaVoiceAgentsLiveConversationsDownloadAudioOptionalParams) => Promise<BetaVoiceAgentsLiveConversationsDownloadAudioResponse>
Property Value
(agentName: string, conversationId: string, options?: BetaVoiceAgentsLiveConversationsDownloadAudioOptionalParams) => Promise<BetaVoiceAgentsLiveConversationsDownloadAudioResponse>
downloadAudioItem
Streams captured speech as WAV. BYOS returns 409; use blob_uri. Returns 404 for missing audio, conversations not stored, or delegation items.
downloadAudioItem: (agentName: string, conversationId: string, itemId: string, options?: BetaVoiceAgentsLiveConversationsDownloadAudioItemOptionalParams) => Promise<BetaVoiceAgentsLiveConversationsDownloadAudioItemResponse>
Property Value
(agentName: string, conversationId: string, itemId: string, options?: BetaVoiceAgentsLiveConversationsDownloadAudioItemOptionalParams) => Promise<BetaVoiceAgentsLiveConversationsDownloadAudioItemResponse>
get
Gets a stored Live conversation; fetch items separately. Returns 404 if absent or not stored.
get: (agentName: string, conversationId: string, options?: BetaVoiceAgentsLiveConversationsGetOptionalParams) => Promise<VoiceAgentLiveConversation>
Property Value
(agentName: string, conversationId: string, options?: BetaVoiceAgentsLiveConversationsGetOptionalParams) => Promise<VoiceAgentLiveConversation>
getAudio
Gets merged stereo recording metadata (user left, assistant right). BYOS uses unsigned blob_uri. Returns 404 for no audio, or 409 recording_not_ready/recording_unavailable for pending/failed finalization; pending responses may include Retry-After.
getAudio: (agentName: string, conversationId: string, options?: BetaVoiceAgentsLiveConversationsGetAudioOptionalParams) => Promise<VoiceRecording>
Property Value
(agentName: string, conversationId: string, options?: BetaVoiceAgentsLiveConversationsGetAudioOptionalParams) => Promise<VoiceRecording>
getAudioItem
Gets captured speech-audio metadata. BYOS uses unsigned blob_uri. Returns 404 for missing audio, conversations not stored, or delegation items.
getAudioItem: (agentName: string, conversationId: string, itemId: string, options?: BetaVoiceAgentsLiveConversationsGetAudioItemOptionalParams) => Promise<VoiceAudioItem>
Property Value
(agentName: string, conversationId: string, itemId: string, options?: BetaVoiceAgentsLiveConversationsGetAudioItemOptionalParams) => Promise<VoiceAudioItem>
getItem
Gets a stored item by ID. Returns 404 if the item or conversation is absent.
getItem: (agentName: string, conversationId: string, itemId: string, options?: BetaVoiceAgentsLiveConversationsGetItemOptionalParams) => Promise<VoiceAgentLiveConversationItemUnion>
Property Value
(agentName: string, conversationId: string, itemId: string, options?: BetaVoiceAgentsLiveConversationsGetItemOptionalParams) => Promise<VoiceAgentLiveConversationItemUnion>
list
Lists stored Live conversations for this agent, including sessions stored via an override.
list: (agentName: string, options?: BetaVoiceAgentsLiveConversationsListOptionalParams) => PagedAsyncIterableIterator<VoiceAgentLiveConversation, VoiceAgentLiveConversation[], PageSettings>
Property Value
(agentName: string, options?: BetaVoiceAgentsLiveConversationsListOptionalParams) => PagedAsyncIterableIterator<VoiceAgentLiveConversation, VoiceAgentLiveConversation[], PageSettings>
listItems
Lists stored speech and delegation items in order; cursors use item IDs. Returns 404 if the conversation is absent or not stored.
listItems: (agentName: string, conversationId: string, options?: BetaVoiceAgentsLiveConversationsListItemsOptionalParams) => PagedAsyncIterableIterator<VoiceAgentLiveConversationItemUnion, VoiceAgentLiveConversationItemUnion[], PageSettings>
Property Value
(agentName: string, conversationId: string, options?: BetaVoiceAgentsLiveConversationsListItemsOptionalParams) => PagedAsyncIterableIterator<VoiceAgentLiveConversationItemUnion, VoiceAgentLiveConversationItemUnion[], PageSettings>