VoiceRecording Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Metadata for the merged, whole-call stereo recording of a voice conversation (user audio on the left channel,
agent audio on the right). Built once from the per-turn segments after the session ends and durably cached.
The common metadata (format, sample rate, channels, channel layout, duration) is returned for both
Foundry-managed and bring-your-own-storage (BYOS) recordings. For BYOS the response also includes blob_uri,
the URI of the recording in the customer's own storage (no SAS token), which the customer downloads using their
own storage credentials. For Foundry-managed storage blob_uri is absent and the bytes are streamed via the
/audio/content route instead.
public class VoiceRecording : System.ClientModel.Primitives.IJsonModel<Azure.AI.Projects.Agents.VoiceRecording>, System.ClientModel.Primitives.IPersistableModel<Azure.AI.Projects.Agents.VoiceRecording>
type VoiceRecording = class
interface IJsonModel<VoiceRecording>
interface IPersistableModel<VoiceRecording>
Public Class VoiceRecording
Implements IJsonModel(Of VoiceRecording), IPersistableModel(Of VoiceRecording)
- Inheritance
-
VoiceRecording
- Implements
Properties
| Name | Description |
|---|---|
| BlobUri |
For bring-your-own-storage (BYOS) recordings only: the URI of the recording in the customer's own storage, without a SAS token. The customer downloads it using their own storage credentials. Absent for Foundry-managed storage, where the bytes are streamed via the |
| ChannelLayout |
The role assigned to each stereo channel. |
| Channels |
The number of audio channels. The merged recording is stereo ( |
| ConversationId |
The id of the conversation this recording belongs to. |
| DurationMs |
The total duration of the recording. |
| Format |
The container format of the recording. |
| SampleRate |
The sample rate of the recording in Hz, e.g. 24000. |
Methods
Operators
| Name | Description |
|---|---|
| Explicit(ClientResult to VoiceRecording) | |