VoiceAgentLiveSessionResource interface
Live session resource reported to Foundry clients. GPT Live runs native client delegation for foundry_managed_agent sessions; Foundry reports the effective owner.
Properties
| audio | Startup audio configuration. Only primary WebSockets accept audio.format; WebRTC and SIP negotiate their media format. Voice and format are immutable after startup. |
| client | Startup-only capabilities for an untrusted frontend attached to a unified WebRTC session. Trusted sideband connections are unaffected. |
| delegation | Delegation owner. foundry_managed_agent sessions report the pinned target, including the resolved agent_version. |
| expires_at | The Unix timestamp, in seconds, at which the Live session expires. |
| id | The unique ID of the Live session. Use this ID for sideband connections, forking, and recording download. |
| input | Ordered text-only history supplied before startup. Supports developer, user, and assistant messages with one text part each; at most 128 messages and a configured rendered-token limit (8,192 by default). |
| instructions | Instructions that guide the Live model's behavior during the session. |
| model | The Live model used to process audio and generate spoken responses. |
| status | The status of the session snapshot. Always |
| store | Whether to store the session for later forking and recording download. Defaults to false for new sessions. |
| triggers | At most one Decisions trigger per transcript event type. Triggers run independently of delegation. On update, omit triggers to keep the current configuration, send a list to replace it, or send an empty list to disable triggers. |
Property Details
audio
Startup audio configuration. Only primary WebSockets accept audio.format; WebRTC and SIP negotiate their media format. Voice and format are immutable after startup.
audio?: LiveInitialSessionAudioParam
Property Value
client
Startup-only capabilities for an untrusted frontend attached to a unified WebRTC session. Trusted sideband connections are unaffected.
client?: LiveClientConfigParam
Property Value
delegation
Delegation owner. foundry_managed_agent sessions report the pinned target, including the resolved agent_version.
delegation?: VoiceAgentLiveDelegationUnion
Property Value
expires_at
The Unix timestamp, in seconds, at which the Live session expires.
expires_at: number
Property Value
number
id
The unique ID of the Live session. Use this ID for sideband connections, forking, and recording download.
id: string
Property Value
string
input
Ordered text-only history supplied before startup. Supports developer, user, and assistant messages with one text part each; at most 128 messages and a configured rendered-token limit (8,192 by default).
input?: LiveInitialItemUnion[]
Property Value
instructions
Instructions that guide the Live model's behavior during the session.
instructions?: string
Property Value
string
model
The Live model used to process audio and generate spoken responses.
model: "gpt-live-1"
Property Value
"gpt-live-1"
status
The status of the session snapshot. Always active, including the final snapshot in session.closed; use the event type to determine that the session has closed.
status: "active"
Property Value
"active"
store
Whether to store the session for later forking and recording download. Defaults to false for new sessions.
store?: boolean
Property Value
boolean
triggers
At most one Decisions trigger per transcript event type. Triggers run independently of delegation. On update, omit triggers to keep the current configuration, send a list to replace it, or send an empty list to disable triggers.
triggers?: LiveDecisionTriggerInputParam[]