session: Session

Model and startup configuration for the Live session that answers the incoming SIP call.

model: (string & {}) | "gpt-live-1"

The Live model to use for the accepted call.

minLength1
One of the following:
(string & {})
This type repeats the enclosing schema.
"gpt-live-1"
"gpt-live-1"
type: "live"

The session type. Always live.

audio?: Audio { output }

Startup audio output configuration. SIP negotiates the media format; audio.format is only accepted for primary WebSockets. Voice cannot change after startup.

output?: Output { voice }

Settings for speech generated by the Live model. Choose the voice before starting the session.

voice?: string | BuiltInVoice | CustomVoice { id }

The voice used for Live speech, as a built-in voice name or a custom voice object containing its ID. Defaults to marin and cannot change after startup.

One of the following:
string
BuiltInVoice = "alloy" | "ash" | "ballad" | 20 more

A built-in voice available for Live speech.

One of the following:
"alloy"
"ash"
"ballad"
"beacon"
"bossa"
"cedar"
"cinder"
"coral"
"delta"
"echo"
"gleam"
"marin"
"meridian"
"quartz"
"ripple"
"sage"
"shida"
"shimmer"
"stone"
"tempo"
"verse"
"vesper"
"willow"
CustomVoice { id }
id: string
minLength1
maxLength128
delegation?: ClientDelegation { type, acknowledgement_delay_ms } | Responses { responses, type, acknowledgement_delay_ms } | Decisions { decisions, type, acknowledgement_delay_ms } | null

Who handles tasks delegated by the Live model. Omitted or null selects your application; use responses or decisions to delegate to the corresponding API.

One of the following:
ClientDelegation { type, acknowledgement_delay_ms }

Delegate tasks to your application. The Live session emits delegation events that your backend handles.

type: "client"

The delegation owner. Always client for tasks handled by your application.

acknowledgement_delay_ms?: number

Milliseconds to wait before requesting an automatic spoken acknowledgement for a delegation. The model may still speak before this delay. Any commentary or thinking appended to the session cancels all pending acknowledgements, including those for other delegations. Defaults to 400 for Decisions sessions and 0 (request immediately) for other sessions. Omission in a session update preserves the current value. Updates apply to subsequent delegations.

minimum0
maximum800
Responses { responses, type, acknowledgement_delay_ms }

Delegate tasks to a Responses model managed by the Live session.

responses: ResponsesDelegationConfig { model, instructions, max_output_tokens, 6 more }

Backend model, prompt, and tools used when the Live session delegates a task to Responses.

model: string

The model used for server-owned Responses delegations.

instructions?: string | null

Instructions for the delegated Responses model, separate from Live instructions. See backend prompting.

max_output_tokens?: number | null

Maximum number of output tokens for each delegated response.

minimum16
parallel_tool_calls?: boolean | null

Whether the delegated Responses model may request multiple tool calls in a single response.

reasoning?: Reasoning | null

Reasoning settings passed to each delegated Responses request.

effort?: "none" | "minimal" | "low" | 3 more | null

How much reasoning effort the delegated Responses model should use. Supported values depend on the backend model.

One of the following:
"none"
"minimal"
"low"
"medium"
"high"
"xhigh"
summary?: "concise" | "detailed" | "auto" | null

The reasoning summary to request from the delegated Responses model, when supported.

One of the following:
"concise"
"detailed"
"auto"
service_tier?: "auto" | "default" | "fast_tier_temp_pilot" | 3 more | null

Service tier for delegated Responses requests.

One of the following:
"auto"
"default"
"fast_tier_temp_pilot"
"flex"
"priority"
"ultrafast"
text?: Text | null

Text generation settings passed to each delegated Responses request.

verbosity?: "low" | "medium" | "high" | null

The amount of detail in text generated by the Responses backend. This does not configure the Live model’s spoken delivery.

One of the following:
"low"
"medium"
"high"
tool_choice?: "auto" | "none" | "required" | LiveFunctionToolChoiceParam { name, type } | LiveMCPToolChoiceParam { name, server_label, type } | 11 more

Controls which tool the Responses backend uses when handling a task delegated by the Live model.

One of the following:
"auto" | "none" | "required"
"auto"
"none"
"required"
LiveFunctionToolChoiceParam { name, type }
name: string
minLength1
maxLength64
type: "function"
LiveMCPToolChoiceParam { name, server_label, type }
name: string
minLength1
maxLength64
server_label: string
minLength1
maxLength64
type: "mcp"
FileSearchToolChoice { type }
type: "file_search"

The tool to call. Always file_search.

WebSearchToolChoice { type }
type: "web_search"

The tool to call. Always web_search.

WebSearchPreview { type }
type: "web_search_preview"

The tool to call. Always web_search_preview.

ImageGenerationToolChoice { type }
type: "image_generation"

The tool to call. Always image_generation.

ComputerToolChoice { type }
type: "computer"

The tool to call. Always computer.

CodeInterpreterToolChoice { type }
type: "code_interpreter"

The tool to call. Always code_interpreter.

ProgrammaticToolCallingToolChoice { type }
type: "programmatic_tool_calling"

The tool to call. Always programmatic_tool_calling.

ShellToolChoice { type }

Forces the model to call the shell tool when a tool call is required.

type: "shell"

The tool to call. Always shell.

CustomToolChoice { name, type }
name: string

The name of the custom tool to call.

type: "custom"

The tool to call. Always custom.

ApplyPatchToolChoice { type }

Forces the model to call the apply_patch tool when executing a tool call.

type: "apply_patch"

The tool to call. Always apply_patch.

LiveAllowedToolsChoiceParam { tools, type, mode }
tools: Array<LiveFunctionToolChoiceParam { name, type } | LiveMCPToolChoiceParam { name, server_label, type } | FileSearchToolChoice { type } | 9 more>

The tools that the delegated Responses model may call.

minItems1
maxItems128
One of the following:
LiveFunctionToolChoiceParam { name, type }
name: string
minLength1
maxLength64
type: "function"
LiveMCPToolChoiceParam { name, server_label, type }
name: string
minLength1
maxLength64
server_label: string
minLength1
maxLength64
type: "mcp"
FileSearchToolChoice { type }
type: "file_search"

The tool to call. Always file_search.

WebSearchToolChoice { type }
type: "web_search"

The tool to call. Always web_search.

WebSearchPreview { type }
type: "web_search_preview"

The tool to call. Always web_search_preview.

ImageGenerationToolChoice { type }
type: "image_generation"

The tool to call. Always image_generation.

ComputerToolChoice { type }
type: "computer"

The tool to call. Always computer.

CodeInterpreterToolChoice { type }
type: "code_interpreter"

The tool to call. Always code_interpreter.

ProgrammaticToolCallingToolChoice { type }
type: "programmatic_tool_calling"

The tool to call. Always programmatic_tool_calling.

ShellToolChoice { type }

Forces the model to call the shell tool when a tool call is required.

type: "shell"

The tool to call. Always shell.

CustomToolChoice { name, type }
name: string

The name of the custom tool to call.

type: "custom"

The tool to call. Always custom.

ApplyPatchToolChoice { type }

Forces the model to call the apply_patch tool when executing a tool call.

type: "apply_patch"

The tool to call. Always apply_patch.

type: "allowed_tools"

The tool choice type. Always allowed_tools.

mode?: "none" | "auto" | "required" | null

How to select a tool from the allowed set.

One of the following:
"none"
"auto"
"required"
tools?: Array<FunctionTool { name, type, description, 2 more } | WebSearch { type } | FileSearch { type } | 10 more>

Tools available to the Responses backend while it handles tasks delegated by the Live model.

One of the following:
FunctionTool { name, type, description, 2 more }

A function tool available to the Responses backend when the Live model delegates a task.

name: string

The name the delegated Responses model uses when calling this function.

type: "function"

The tool type. Always function.

description?: string | null

What the function does and when the delegated Responses model should call it.

parameters?: Record<string, unknown> | null

A JSON Schema object describing the arguments accepted by the function.

strict?: boolean | null

Whether the delegated Responses model must follow the function’s parameter schema exactly.

WebSearch { type }

A web search tool available to the Live session’s Responses backend.

type: "web_search"

The tool type. Always web_search.

FileSearch { type }
type: "file_search"
CodeInterpreter { type }
type: "code_interpreter"
Shell { type, environment }

A Responses shell tool. Use a hosted container or return local shell results with response.item.create. Domain secrets are not supported.

type: "shell"
environment?: ContainerAuto { type, file_ids, memory_limit, 2 more } | ContainerReference { container_id, type } | Local { type, skills } | null
One of the following:
ContainerAuto { type, file_ids, memory_limit, 2 more }
type: "container_auto"

Automatically creates a container for this request

file_ids?: Array<string> | null

An optional list of uploaded files to make available to your code.

maxItems50
memory_limit?: "1g" | "4g" | "16g" | "64g" | null

The memory limit for the container.

One of the following:
"1g"
"4g"
"16g"
"64g"
network_policy?: Disabled { type } | Allowlist { allowed_domains, type } | null

Network access policy for the container.

One of the following:
Disabled { type }
type: "disabled"

Disable outbound network access. Always disabled.

Allowlist { allowed_domains, type }
allowed_domains: Array<string>

A list of allowed domains when type is allowlist.

minItems1
type: "allowlist"

Allow outbound network access only to specified domains. Always allowlist.

skills?: Array<SkillReference { skill_id, type, version } | Inline { description, name, source, type } > | null

An optional list of skills referenced by id or inline data.

maxItems200
One of the following:
SkillReference { skill_id, type, version }
skill_id: string

The ID of the referenced skill.

minLength1
maxLength64
type: "skill_reference"

References a skill created with the /v1/skills endpoint.

version?: string | null

Optional skill version. Use a positive integer or ‘latest’. Omit for default.

Inline { description, name, source, type }
description: string

The description of the skill.

name: string

The name of the skill.

source: Source { data, media_type, type }

Inline skill payload

data: string

Base64-encoded skill zip bundle.

minLength1
maxLength70254592
media_type: "application/zip"

The media type of the inline skill payload. Must be application/zip.

type: "base64"

The type of the inline skill source. Must be base64.

type: "inline"

Defines an inline skill for this request.

ContainerReference { container_id, type }
Local { type, skills }
ImageGeneration { type }
Mcp { type }
Custom { type }
Namespace { type }
ToolSearch { type }
ProgrammaticToolCalling { type }
Computer { type }
ApplyPatch { type }
type: "responses"

The delegation owner. Always responses for tasks handled by the Responses API.

acknowledgement_delay_ms?: number

Milliseconds to wait before requesting an automatic spoken acknowledgement for a delegation. The model may still speak before this delay. Any commentary or thinking appended to the session cancels all pending acknowledgements, including those for other delegations. Defaults to 400 for Decisions sessions and 0 (request immediately) for other sessions. Omission in a session update preserves the current value. Updates apply to subsequent delegations.

minimum0
maximum800
Decisions { decisions, type, acknowledgement_delay_ms }
input?: Array<InitialItem>

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).

maxItems128
instructions?: string | null

Frontend instructions for voice, conversation, interruptions, and when to delegate. Start with the Live prompting guide; put business rules and tool workflows in a separate backend prompt. Limited to 16,384 client-supplied tokens. Omitted or blank instructions use server defaults. Immutable after startup.

store?: boolean

Whether to store the session for later forking and recording download. Defaults to false for new sessions.

triggers?: Array<DecisionTrigger { decisions, event_type, type } >

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.

maxItems2