VoiceAgentLiveDefinition interface

The Live voice agent definition. Its configuration (model, instructions, audio, and delegation) drives a managed speech-to-speech experience using a Foundry GPT Live deployment. Establish Live voice sessions through GET /agents/{agent_name}/endpoint/protocols/voice/live/sessions. Every create or update produces a new immutable version.

Extends

Properties

audio

Startup audio formats and output voice.

delegation

Delegation settings. Omit for client mode. responses.model is a backend deployment name in the Live resource, not a model catalog ID.

greeting

Template-only startup greeting, rendered with session structured inputs. Foundry-only; not sent in native Live settings.

model

The GPT Live deployment name.

model_type

Uses a Foundry model deployment.

sub_protocol

Selects the Live protocol.

Inherited Properties

instructions

Frontend instructions, templated with structured_inputs. Backend instructions belong in delegation.responses.

kind

Always voice.

rai_config

Configuration for Responsible AI (RAI) content filtering and safety features.

store

Persists conversation content and audio in Foundry, not native Live recordings. Defaults to false.

structured_inputs

Template inputs for session instructions and supported greetings.

Property Details

audio

Startup audio formats and output voice.

audio?: LiveInitialSessionAudioParam

Property Value

delegation

Delegation settings. Omit for client mode. responses.model is a backend deployment name in the Live resource, not a model catalog ID.

delegation?: VoiceAgentLiveDelegationUnion

Property Value

greeting

Template-only startup greeting, rendered with session structured inputs. Foundry-only; not sent in native Live settings.

greeting?: VoiceAgentTemplateGreetingConfig

Property Value

model

The GPT Live deployment name.

model: string

Property Value

string

model_type

Uses a Foundry model deployment.

model_type: "self_deployed"

Property Value

"self_deployed"

sub_protocol

Selects the Live protocol.

sub_protocol: "live"

Property Value

"live"

Inherited Property Details

instructions

Frontend instructions, templated with structured_inputs. Backend instructions belong in delegation.responses.

instructions?: string

Property Value

string

Inherited From VoiceAgentBaseDefinition.instructions

kind

Always voice.

kind: "voice"

Property Value

"voice"

Inherited From VoiceAgentBaseDefinition.kind

rai_config

Configuration for Responsible AI (RAI) content filtering and safety features.

rai_config?: RaiConfig

Property Value

Inherited From VoiceAgentBaseDefinition.rai_config

store

Persists conversation content and audio in Foundry, not native Live recordings. Defaults to false.

store?: boolean

Property Value

boolean

Inherited From VoiceAgentBaseDefinition.store

structured_inputs

Template inputs for session instructions and supported greetings.

structured_inputs?: Record<string, StructuredInputDefinition>

Property Value

Record<string, StructuredInputDefinition>

Inherited From VoiceAgentBaseDefinition.structured_inputs