mistralM

Docs

sideBar

Audio Agents

API for audio agents.

GET /v1/audio/agents

List audio agents

List audio agents

Parameters

page_size
integerquery

Maximum number of agents to return

page_token
string | nullquery

Cursor returned as next_page_token by the previous page

string | nullquery

Substring match on the agent name

Responses

Successful Response

data
array<AudioAgentResponse>* required
AudioAgentResponse
AudioAgentConfigurationResponseConfig
instructions
string | null
llm
AudioLLMConfig* required
AudioLLMConfig
model
string
stt
AudioSTTConfig* required
AudioSTTConfig
context_bias
array<string> | null
language
string | null
model
string
target_streaming_delay_ms
integer | null
turn_detection
AudioTurnDetectionConfig | null
AudioTurnDetectionConfig
eager_end_threshold
number | null
end_threshold
number | null
end_timeout_ms
integer | null
min_silence_ms
integer | null
start_threshold
number | null
VoiceAgentWebSearchTool
StaticToolFiller
text
stringMin Length: 1Max Length: 200* required
type
string

Default Value: "static"

GeneratedToolFiller

A filler the model writes for each call, in the user's language.

instructions guide what it says. fallback is spoken when it writes none; without one, the call is silent.

fallback
StaticToolFiller | null
StaticToolFiller
text
stringMin Length: 1Max Length: 200* required
type
string

Default Value: "static"

instructions
string | null
type
string

Default Value: "generated"

tool_configuration
ToolConfiguration | null
ToolConfiguration
exclude
array<string> | null
include
array<string> | null
requires_confirmation
array<string> | null
type
"web_search"

Default Value: "web_search"

VoiceAgentDocumentLibraryTool
StaticToolFiller
text
stringMin Length: 1Max Length: 200* required
type
string

Default Value: "static"

GeneratedToolFiller

A filler the model writes for each call, in the user's language.

instructions guide what it says. fallback is spoken when it writes none; without one, the call is silent.

fallback
StaticToolFiller | null
StaticToolFiller
text
stringMin Length: 1Max Length: 200* required
type
string

Default Value: "static"

instructions
string | null
type
string

Default Value: "generated"

library_ids
array<string>Min Items: 1* required

Ids of the library in which to search.

tool_configuration
ToolConfiguration | null
ToolConfiguration
exclude
array<string> | null
include
array<string> | null
requires_confirmation
array<string> | null
type
"document_library"

Default Value: "document_library"

VoiceAgentCustomConnector
authorization
OAuth2TokenAuth | APIKeyAuth | null
exclamationMark

Deprecated: per-request connector credentials will be removed. Authenticate the connector through the Connectors API instead.

OAuth2TokenAuth
type
"oauth2-token"

Default Value: "oauth2-token"

value
string* required
APIKeyAuth
type
"api-key"

Default Value: "api-key"

value
string* required
connector_id
string* required
StaticToolFiller
text
stringMin Length: 1Max Length: 200* required
type
string

Default Value: "static"

GeneratedToolFiller

A filler the model writes for each call, in the user's language.

instructions guide what it says. fallback is spoken when it writes none; without one, the call is silent.

fallback
StaticToolFiller | null
StaticToolFiller
text
stringMin Length: 1Max Length: 200* required
type
string

Default Value: "static"

instructions
string | null
type
string

Default Value: "generated"

tool_configuration
ToolConfiguration | null
ToolConfiguration
exclude
array<string> | null
include
array<string> | null
requires_confirmation
array<string> | null
type
"connector"

Default Value: "connector"

VoiceAgentFunctionTool
StaticToolFiller
text
stringMin Length: 1Max Length: 200* required
type
string

Default Value: "static"

GeneratedToolFiller

A filler the model writes for each call, in the user's language.

instructions guide what it says. fallback is spoken when it writes none; without one, the call is silent.

fallback
StaticToolFiller | null
StaticToolFiller
text
stringMin Length: 1Max Length: 200* required
type
string

Default Value: "static"

instructions
string | null
type
string

Default Value: "generated"

function
Function* required
Function
description
string

Default Value: ""

name
string* required
parameters
map<any>* required
strict
boolean

Default Value: false

timeout_ms
integer | null
type
"function"

Default Value: "function"

TransferCallTool
destinations
array<TransferTarget>Min Items: 1Max Items: 10* required
TransferTarget

One allowed hand-off, chosen by the model through id alone.

The address never reaches the model: it only sees id and condition, so it cannot dial a near-miss of a real number.

condition
stringMin Length: 1Max Length: 200* required
destination
PhoneDestination | SipDestination* required
PhoneDestination
number
stringPattern: ^\+[1-9]\d{1,14}$* required
type
string

Default Value: "phone"

SipDestination
type
string

Default Value: "sip"

uri
stringPattern: ^sips?:[^\s@]+@[^\s@]+$* required
id
stringPattern: ^[a-z0-9][a-z0-9_-]{0,31}$* required
StaticToolFiller
text
stringMin Length: 1Max Length: 200* required
type
string

Default Value: "static"

GeneratedToolFiller

A filler the model writes for each call, in the user's language.

instructions guide what it says. fallback is spoken when it writes none; without one, the call is silent.

fallback
StaticToolFiller | null
StaticToolFiller
text
stringMin Length: 1Max Length: 200* required
type
string

Default Value: "static"

instructions
string | null
type
string

Default Value: "generated"

type
string

Default Value: "transfer_call"

HangUpTool
StaticToolFiller
text
stringMin Length: 1Max Length: 200* required
type
string

Default Value: "static"

GeneratedToolFiller

A filler the model writes for each call, in the user's language.

instructions guide what it says. fallback is spoken when it writes none; without one, the call is silent.

fallback
StaticToolFiller | null
StaticToolFiller
text
stringMin Length: 1Max Length: 200* required
type
string

Default Value: "static"

instructions
string | null
type
string

Default Value: "generated"

type
string

Default Value: "hang_up"

tts
AudioTTSConfig* required
AudioTTSConfig
expressiveness
number | null
model
string
voice_id
string
turn
AudioTurnConfig* required
AudioTurnConfig
allow_interruptions
boolean
inactivity
AudioInactivityConfig | null
AudioInactivityConfig
max_reminders
integerMin: 1Max: 10* required
messages
array<string>Max Items: 5
timeout_ms
integerMin: 1000Max: 300000* required
welcome_message
string | null
created_at
date-time* required
description
string | null
id
string* required
name
string | null
owner_id
string* required
updated_at
date-time* required
version
integer | null
next_page_token
string | null

Cursor for the next page, null on the last page

POST /v1/audio/agents

Create an audio agent

Create an audio agent

Request Example

{
  "configuration": {},
  "name": "ipsum eiusmod"
}

Request Body

configuration
AudioAgentConfigurationRequest* required
AudioAgentConfigurationRequest
instructions
string | null
AudioLLMConfig
model
string
AudioSTTConfig
context_bias
array<string> | null
language
string | null
model
string
target_streaming_delay_ms
integer | null
turn_detection
AudioTurnDetectionConfig | null
AudioTurnDetectionConfig
eager_end_threshold
number | null
end_threshold
number | null
end_timeout_ms
integer | null
min_silence_ms
integer | null
start_threshold
number | null
VoiceAgentWebSearchTool
StaticToolFiller
text
stringMin Length: 1Max Length: 200* required
type
string

Default Value: "static"

GeneratedToolFiller

A filler the model writes for each call, in the user's language.

instructions guide what it says. fallback is spoken when it writes none; without one, the call is silent.

fallback
StaticToolFiller | null
StaticToolFiller
text
stringMin Length: 1Max Length: 200* required
type
string

Default Value: "static"

instructions
string | null
type
string

Default Value: "generated"

tool_configuration
ToolConfiguration | null
ToolConfiguration
exclude
array<string> | null
include
array<string> | null
requires_confirmation
array<string> | null
type
"web_search"

Default Value: "web_search"

VoiceAgentDocumentLibraryTool
StaticToolFiller
text
stringMin Length: 1Max Length: 200* required
type
string

Default Value: "static"

GeneratedToolFiller

A filler the model writes for each call, in the user's language.

instructions guide what it says. fallback is spoken when it writes none; without one, the call is silent.

fallback
StaticToolFiller | null
StaticToolFiller
text
stringMin Length: 1Max Length: 200* required
type
string

Default Value: "static"

instructions
string | null
type
string

Default Value: "generated"

library_ids
array<string>Min Items: 1* required

Ids of the library in which to search.

tool_configuration
ToolConfiguration | null
ToolConfiguration
exclude
array<string> | null
include
array<string> | null
requires_confirmation
array<string> | null
type
"document_library"

Default Value: "document_library"

VoiceAgentCustomConnector
authorization
OAuth2TokenAuth | APIKeyAuth | null
exclamationMark

Deprecated: per-request connector credentials will be removed. Authenticate the connector through the Connectors API instead.

OAuth2TokenAuth
type
"oauth2-token"

Default Value: "oauth2-token"

value
string* required
APIKeyAuth
type
"api-key"

Default Value: "api-key"

value
string* required
connector_id
string* required
StaticToolFiller
text
stringMin Length: 1Max Length: 200* required
type
string

Default Value: "static"

GeneratedToolFiller

A filler the model writes for each call, in the user's language.

instructions guide what it says. fallback is spoken when it writes none; without one, the call is silent.

fallback
StaticToolFiller | null
StaticToolFiller
text
stringMin Length: 1Max Length: 200* required
type
string

Default Value: "static"

instructions
string | null
type
string

Default Value: "generated"

tool_configuration
ToolConfiguration | null
ToolConfiguration
exclude
array<string> | null
include
array<string> | null
requires_confirmation
array<string> | null
type
"connector"

Default Value: "connector"

VoiceAgentFunctionToolRequest
StaticToolFiller
text
stringMin Length: 1Max Length: 200* required
type
string

Default Value: "static"

GeneratedToolFiller

A filler the model writes for each call, in the user's language.

instructions guide what it says. fallback is spoken when it writes none; without one, the call is silent.

fallback
StaticToolFiller | null
StaticToolFiller
text
stringMin Length: 1Max Length: 200* required
type
string

Default Value: "static"

instructions
string | null
type
string

Default Value: "generated"

function
FunctionRequest* required
FunctionRequest
description
stringMax Length: 1024

Default Value: ""

name
stringPattern: ^[a-zA-Z0-9_-]{1,64}$* required
parameters
map<any>* required
strict
boolean

Default Value: false

timeout_ms
integer | null
type
"function"

Default Value: "function"

TransferCallTool
destinations
array<TransferTarget>Min Items: 1Max Items: 10* required
TransferTarget

One allowed hand-off, chosen by the model through id alone.

The address never reaches the model: it only sees id and condition, so it cannot dial a near-miss of a real number.

condition
stringMin Length: 1Max Length: 200* required
destination
PhoneDestination | SipDestination* required
PhoneDestination
number
stringPattern: ^\+[1-9]\d{1,14}$* required
type
string

Default Value: "phone"

SipDestination
type
string

Default Value: "sip"

uri
stringPattern: ^sips?:[^\s@]+@[^\s@]+$* required
id
stringPattern: ^[a-z0-9][a-z0-9_-]{0,31}$* required
StaticToolFiller
text
stringMin Length: 1Max Length: 200* required
type
string

Default Value: "static"

GeneratedToolFiller

A filler the model writes for each call, in the user's language.

instructions guide what it says. fallback is spoken when it writes none; without one, the call is silent.

fallback
StaticToolFiller | null
StaticToolFiller
text
stringMin Length: 1Max Length: 200* required
type
string

Default Value: "static"

instructions
string | null
type
string

Default Value: "generated"

type
string

Default Value: "transfer_call"

HangUpTool
StaticToolFiller
text
stringMin Length: 1Max Length: 200* required
type
string

Default Value: "static"

GeneratedToolFiller

A filler the model writes for each call, in the user's language.

instructions guide what it says. fallback is spoken when it writes none; without one, the call is silent.

fallback
StaticToolFiller | null
StaticToolFiller
text
stringMin Length: 1Max Length: 200* required
type
string

Default Value: "static"

instructions
string | null
type
string

Default Value: "generated"

type
string

Default Value: "hang_up"

AudioTTSConfig
expressiveness
number | null
model
string
voice_id
string
AudioTurnConfig
allow_interruptions
boolean
inactivity
AudioInactivityConfig | null
AudioInactivityConfig
max_reminders
integerMin: 1Max: 10* required
messages
array<string>Max Items: 5
timeout_ms
integerMin: 1000Max: 300000* required
welcome_message
string | null
description
string | null
name
stringMax Length: 255* required

Responses

Successful Response

AudioAgentConfigurationResponseConfig
instructions
string | null
llm
AudioLLMConfig* required
AudioLLMConfig
model
string
stt
AudioSTTConfig* required
AudioSTTConfig
context_bias
array<string> | null
language
string | null
model
string
target_streaming_delay_ms
integer | null
turn_detection
AudioTurnDetectionConfig | null
AudioTurnDetectionConfig
eager_end_threshold
number | null
end_threshold
number | null
end_timeout_ms
integer | null
min_silence_ms
integer | null
start_threshold
number | null
VoiceAgentWebSearchTool
StaticToolFiller
text
stringMin Length: 1Max Length: 200* required
type
string

Default Value: "static"

GeneratedToolFiller

A filler the model writes for each call, in the user's language.

instructions guide what it says. fallback is spoken when it writes none; without one, the call is silent.

fallback
StaticToolFiller | null
StaticToolFiller
text
stringMin Length: 1Max Length: 200* required
type
string

Default Value: "static"

instructions
string | null
type
string

Default Value: "generated"

tool_configuration
ToolConfiguration | null
ToolConfiguration
exclude
array<string> | null
include
array<string> | null
requires_confirmation
array<string> | null
type
"web_search"

Default Value: "web_search"

VoiceAgentDocumentLibraryTool
StaticToolFiller
text
stringMin Length: 1Max Length: 200* required
type
string

Default Value: "static"

GeneratedToolFiller

A filler the model writes for each call, in the user's language.

instructions guide what it says. fallback is spoken when it writes none; without one, the call is silent.

fallback
StaticToolFiller | null
StaticToolFiller
text
stringMin Length: 1Max Length: 200* required
type
string

Default Value: "static"

instructions
string | null
type
string

Default Value: "generated"

library_ids
array<string>Min Items: 1* required

Ids of the library in which to search.

tool_configuration
ToolConfiguration | null
ToolConfiguration
exclude
array<string> | null
include
array<string> | null
requires_confirmation
array<string> | null
type
"document_library"

Default Value: "document_library"

VoiceAgentCustomConnector
authorization
OAuth2TokenAuth | APIKeyAuth | null
exclamationMark

Deprecated: per-request connector credentials will be removed. Authenticate the connector through the Connectors API instead.

OAuth2TokenAuth
type
"oauth2-token"

Default Value: "oauth2-token"

value
string* required
APIKeyAuth
type
"api-key"

Default Value: "api-key"

value
string* required
connector_id
string* required
StaticToolFiller
text
stringMin Length: 1Max Length: 200* required
type
string

Default Value: "static"

GeneratedToolFiller

A filler the model writes for each call, in the user's language.

instructions guide what it says. fallback is spoken when it writes none; without one, the call is silent.

fallback
StaticToolFiller | null
StaticToolFiller
text
stringMin Length: 1Max Length: 200* required
type
string

Default Value: "static"

instructions
string | null
type
string

Default Value: "generated"

tool_configuration
ToolConfiguration | null
ToolConfiguration
exclude
array<string> | null
include
array<string> | null
requires_confirmation
array<string> | null
type
"connector"

Default Value: "connector"

VoiceAgentFunctionTool
StaticToolFiller
text
stringMin Length: 1Max Length: 200* required
type
string

Default Value: "static"

GeneratedToolFiller

A filler the model writes for each call, in the user's language.

instructions guide what it says. fallback is spoken when it writes none; without one, the call is silent.

fallback
StaticToolFiller | null
StaticToolFiller
text
stringMin Length: 1Max Length: 200* required
type
string

Default Value: "static"

instructions
string | null
type
string

Default Value: "generated"

function
Function* required
Function
description
string

Default Value: ""

name
string* required
parameters
map<any>* required
strict
boolean

Default Value: false

timeout_ms
integer | null
type
"function"

Default Value: "function"

TransferCallTool
destinations
array<TransferTarget>Min Items: 1Max Items: 10* required
TransferTarget

One allowed hand-off, chosen by the model through id alone.

The address never reaches the model: it only sees id and condition, so it cannot dial a near-miss of a real number.

condition
stringMin Length: 1Max Length: 200* required
destination
PhoneDestination | SipDestination* required
PhoneDestination
number
stringPattern: ^\+[1-9]\d{1,14}$* required
type
string

Default Value: "phone"

SipDestination
type
string

Default Value: "sip"

uri
stringPattern: ^sips?:[^\s@]+@[^\s@]+$* required
id
stringPattern: ^[a-z0-9][a-z0-9_-]{0,31}$* required
StaticToolFiller
text
stringMin Length: 1Max Length: 200* required
type
string

Default Value: "static"

GeneratedToolFiller

A filler the model writes for each call, in the user's language.

instructions guide what it says. fallback is spoken when it writes none; without one, the call is silent.

fallback
StaticToolFiller | null
StaticToolFiller
text
stringMin Length: 1Max Length: 200* required
type
string

Default Value: "static"

instructions
string | null
type
string

Default Value: "generated"

type
string

Default Value: "transfer_call"

HangUpTool
StaticToolFiller
text
stringMin Length: 1Max Length: 200* required
type
string

Default Value: "static"

GeneratedToolFiller

A filler the model writes for each call, in the user's language.

instructions guide what it says. fallback is spoken when it writes none; without one, the call is silent.

fallback
StaticToolFiller | null
StaticToolFiller
text
stringMin Length: 1Max Length: 200* required
type
string

Default Value: "static"

instructions
string | null
type
string

Default Value: "generated"

type
string

Default Value: "hang_up"

tts
AudioTTSConfig* required
AudioTTSConfig
expressiveness
number | null
model
string
voice_id
string
turn
AudioTurnConfig* required
AudioTurnConfig
allow_interruptions
boolean
inactivity
AudioInactivityConfig | null
AudioInactivityConfig
max_reminders
integerMin: 1Max: 10* required
messages
array<string>Max Items: 5
timeout_ms
integerMin: 1000Max: 300000* required
welcome_message
string | null
created_at
date-time* required
description
string | null
id
string* required
name
string | null
owner_id
string* required
updated_at
date-time* required
version
integer | null

GET /v1/audio/agents/{agent_id}

Get an audio agent

Get an audio agent

Parameters

agent_id
stringpath* required
version
integer | nullquery

Version to return. Defaults to the latest version.

Responses

Successful Response

AudioAgentConfigurationResponseConfig
instructions
string | null
llm
AudioLLMConfig* required
AudioLLMConfig
model
string
stt
AudioSTTConfig* required
AudioSTTConfig
context_bias
array<string> | null
language
string | null
model
string
target_streaming_delay_ms
integer | null
turn_detection
AudioTurnDetectionConfig | null
AudioTurnDetectionConfig
eager_end_threshold
number | null
end_threshold
number | null
end_timeout_ms
integer | null
min_silence_ms
integer | null
start_threshold
number | null
VoiceAgentWebSearchTool
StaticToolFiller
text
stringMin Length: 1Max Length: 200* required
type
string

Default Value: "static"

GeneratedToolFiller

A filler the model writes for each call, in the user's language.

instructions guide what it says. fallback is spoken when it writes none; without one, the call is silent.

fallback
StaticToolFiller | null
StaticToolFiller
text
stringMin Length: 1Max Length: 200* required
type
string

Default Value: "static"

instructions
string | null
type
string

Default Value: "generated"

tool_configuration
ToolConfiguration | null
ToolConfiguration
exclude
array<string> | null
include
array<string> | null
requires_confirmation
array<string> | null
type
"web_search"

Default Value: "web_search"

VoiceAgentDocumentLibraryTool
StaticToolFiller
text
stringMin Length: 1Max Length: 200* required
type
string

Default Value: "static"

GeneratedToolFiller

A filler the model writes for each call, in the user's language.

instructions guide what it says. fallback is spoken when it writes none; without one, the call is silent.

fallback
StaticToolFiller | null
StaticToolFiller
text
stringMin Length: 1Max Length: 200* required
type
string

Default Value: "static"

instructions
string | null
type
string

Default Value: "generated"

library_ids
array<string>Min Items: 1* required

Ids of the library in which to search.

tool_configuration
ToolConfiguration | null
ToolConfiguration
exclude
array<string> | null
include
array<string> | null
requires_confirmation
array<string> | null
type
"document_library"

Default Value: "document_library"

VoiceAgentCustomConnector
authorization
OAuth2TokenAuth | APIKeyAuth | null
exclamationMark

Deprecated: per-request connector credentials will be removed. Authenticate the connector through the Connectors API instead.

OAuth2TokenAuth
type
"oauth2-token"

Default Value: "oauth2-token"

value
string* required
APIKeyAuth
type
"api-key"

Default Value: "api-key"

value
string* required
connector_id
string* required
StaticToolFiller
text
stringMin Length: 1Max Length: 200* required
type
string

Default Value: "static"

GeneratedToolFiller

A filler the model writes for each call, in the user's language.

instructions guide what it says. fallback is spoken when it writes none; without one, the call is silent.

fallback
StaticToolFiller | null
StaticToolFiller
text
stringMin Length: 1Max Length: 200* required
type
string

Default Value: "static"

instructions
string | null
type
string

Default Value: "generated"

tool_configuration
ToolConfiguration | null
ToolConfiguration
exclude
array<string> | null
include
array<string> | null
requires_confirmation
array<string> | null
type
"connector"

Default Value: "connector"

VoiceAgentFunctionTool
StaticToolFiller
text
stringMin Length: 1Max Length: 200* required
type
string

Default Value: "static"

GeneratedToolFiller

A filler the model writes for each call, in the user's language.

instructions guide what it says. fallback is spoken when it writes none; without one, the call is silent.

fallback
StaticToolFiller | null
StaticToolFiller
text
stringMin Length: 1Max Length: 200* required
type
string

Default Value: "static"

instructions
string | null
type
string

Default Value: "generated"

function
Function* required
Function
description
string

Default Value: ""

name
string* required
parameters
map<any>* required
strict
boolean

Default Value: false

timeout_ms
integer | null
type
"function"

Default Value: "function"

TransferCallTool
destinations
array<TransferTarget>Min Items: 1Max Items: 10* required
TransferTarget

One allowed hand-off, chosen by the model through id alone.

The address never reaches the model: it only sees id and condition, so it cannot dial a near-miss of a real number.

condition
stringMin Length: 1Max Length: 200* required
destination
PhoneDestination | SipDestination* required
PhoneDestination
number
stringPattern: ^\+[1-9]\d{1,14}$* required
type
string

Default Value: "phone"

SipDestination
type
string

Default Value: "sip"

uri
stringPattern: ^sips?:[^\s@]+@[^\s@]+$* required
id
stringPattern: ^[a-z0-9][a-z0-9_-]{0,31}$* required
StaticToolFiller
text
stringMin Length: 1Max Length: 200* required
type
string

Default Value: "static"

GeneratedToolFiller

A filler the model writes for each call, in the user's language.

instructions guide what it says. fallback is spoken when it writes none; without one, the call is silent.

fallback
StaticToolFiller | null
StaticToolFiller
text
stringMin Length: 1Max Length: 200* required
type
string

Default Value: "static"

instructions
string | null
type
string

Default Value: "generated"

type
string

Default Value: "transfer_call"

HangUpTool
StaticToolFiller
text
stringMin Length: 1Max Length: 200* required
type
string

Default Value: "static"

GeneratedToolFiller

A filler the model writes for each call, in the user's language.

instructions guide what it says. fallback is spoken when it writes none; without one, the call is silent.

fallback
StaticToolFiller | null
StaticToolFiller
text
stringMin Length: 1Max Length: 200* required
type
string

Default Value: "static"

instructions
string | null
type
string

Default Value: "generated"

type
string

Default Value: "hang_up"

tts
AudioTTSConfig* required
AudioTTSConfig
expressiveness
number | null
model
string
voice_id
string
turn
AudioTurnConfig* required
AudioTurnConfig
allow_interruptions
boolean
inactivity
AudioInactivityConfig | null
AudioInactivityConfig
max_reminders
integerMin: 1Max: 10* required
messages
array<string>Max Items: 5
timeout_ms
integerMin: 1000Max: 300000* required
welcome_message
string | null
created_at
date-time* required
description
string | null
id
string* required
name
string | null
owner_id
string* required
updated_at
date-time* required
version
integer | null

PUT /v1/audio/agents/{agent_id}

Update an audio agent

Update an audio agent

Parameters

agent_id
stringpath* required

Request Example

{
  "configuration": {},
  "name": "ipsum eiusmod"
}

Request Body

configuration
AudioAgentConfigurationRequest* required
AudioAgentConfigurationRequest
instructions
string | null
AudioLLMConfig
model
string
AudioSTTConfig
context_bias
array<string> | null
language
string | null
model
string
target_streaming_delay_ms
integer | null
turn_detection
AudioTurnDetectionConfig | null
AudioTurnDetectionConfig
eager_end_threshold
number | null
end_threshold
number | null
end_timeout_ms
integer | null
min_silence_ms
integer | null
start_threshold
number | null
VoiceAgentWebSearchTool
StaticToolFiller
text
stringMin Length: 1Max Length: 200* required
type
string

Default Value: "static"

GeneratedToolFiller

A filler the model writes for each call, in the user's language.

instructions guide what it says. fallback is spoken when it writes none; without one, the call is silent.

fallback
StaticToolFiller | null
StaticToolFiller
text
stringMin Length: 1Max Length: 200* required
type
string

Default Value: "static"

instructions
string | null
type
string

Default Value: "generated"

tool_configuration
ToolConfiguration | null
ToolConfiguration
exclude
array<string> | null
include
array<string> | null
requires_confirmation
array<string> | null
type
"web_search"

Default Value: "web_search"

VoiceAgentDocumentLibraryTool
StaticToolFiller
text
stringMin Length: 1Max Length: 200* required
type
string

Default Value: "static"

GeneratedToolFiller

A filler the model writes for each call, in the user's language.

instructions guide what it says. fallback is spoken when it writes none; without one, the call is silent.

fallback
StaticToolFiller | null
StaticToolFiller
text
stringMin Length: 1Max Length: 200* required
type
string

Default Value: "static"

instructions
string | null
type
string

Default Value: "generated"

library_ids
array<string>Min Items: 1* required

Ids of the library in which to search.

tool_configuration
ToolConfiguration | null
ToolConfiguration
exclude
array<string> | null
include
array<string> | null
requires_confirmation
array<string> | null
type
"document_library"

Default Value: "document_library"

VoiceAgentCustomConnector
authorization
OAuth2TokenAuth | APIKeyAuth | null
exclamationMark

Deprecated: per-request connector credentials will be removed. Authenticate the connector through the Connectors API instead.

OAuth2TokenAuth
type
"oauth2-token"

Default Value: "oauth2-token"

value
string* required
APIKeyAuth
type
"api-key"

Default Value: "api-key"

value
string* required
connector_id
string* required
StaticToolFiller
text
stringMin Length: 1Max Length: 200* required
type
string

Default Value: "static"

GeneratedToolFiller

A filler the model writes for each call, in the user's language.

instructions guide what it says. fallback is spoken when it writes none; without one, the call is silent.

fallback
StaticToolFiller | null
StaticToolFiller
text
stringMin Length: 1Max Length: 200* required
type
string

Default Value: "static"

instructions
string | null
type
string

Default Value: "generated"

tool_configuration
ToolConfiguration | null
ToolConfiguration
exclude
array<string> | null
include
array<string> | null
requires_confirmation
array<string> | null
type
"connector"

Default Value: "connector"

VoiceAgentFunctionToolRequest
StaticToolFiller
text
stringMin Length: 1Max Length: 200* required
type
string

Default Value: "static"

GeneratedToolFiller

A filler the model writes for each call, in the user's language.

instructions guide what it says. fallback is spoken when it writes none; without one, the call is silent.

fallback
StaticToolFiller | null
StaticToolFiller
text
stringMin Length: 1Max Length: 200* required
type
string

Default Value: "static"

instructions
string | null
type
string

Default Value: "generated"

function
FunctionRequest* required
FunctionRequest
description
stringMax Length: 1024

Default Value: ""

name
stringPattern: ^[a-zA-Z0-9_-]{1,64}$* required
parameters
map<any>* required
strict
boolean

Default Value: false

timeout_ms
integer | null
type
"function"

Default Value: "function"

TransferCallTool
destinations
array<TransferTarget>Min Items: 1Max Items: 10* required
TransferTarget

One allowed hand-off, chosen by the model through id alone.

The address never reaches the model: it only sees id and condition, so it cannot dial a near-miss of a real number.

condition
stringMin Length: 1Max Length: 200* required
destination
PhoneDestination | SipDestination* required
PhoneDestination
number
stringPattern: ^\+[1-9]\d{1,14}$* required
type
string

Default Value: "phone"

SipDestination
type
string

Default Value: "sip"

uri
stringPattern: ^sips?:[^\s@]+@[^\s@]+$* required
id
stringPattern: ^[a-z0-9][a-z0-9_-]{0,31}$* required
StaticToolFiller
text
stringMin Length: 1Max Length: 200* required
type
string

Default Value: "static"

GeneratedToolFiller

A filler the model writes for each call, in the user's language.

instructions guide what it says. fallback is spoken when it writes none; without one, the call is silent.

fallback
StaticToolFiller | null
StaticToolFiller
text
stringMin Length: 1Max Length: 200* required
type
string

Default Value: "static"

instructions
string | null
type
string

Default Value: "generated"

type
string

Default Value: "transfer_call"

HangUpTool
StaticToolFiller
text
stringMin Length: 1Max Length: 200* required
type
string

Default Value: "static"

GeneratedToolFiller

A filler the model writes for each call, in the user's language.

instructions guide what it says. fallback is spoken when it writes none; without one, the call is silent.

fallback
StaticToolFiller | null
StaticToolFiller
text
stringMin Length: 1Max Length: 200* required
type
string

Default Value: "static"

instructions
string | null
type
string

Default Value: "generated"

type
string

Default Value: "hang_up"

AudioTTSConfig
expressiveness
number | null
model
string
voice_id
string
AudioTurnConfig
allow_interruptions
boolean
inactivity
AudioInactivityConfig | null
AudioInactivityConfig
max_reminders
integerMin: 1Max: 10* required
messages
array<string>Max Items: 5
timeout_ms
integerMin: 1000Max: 300000* required
welcome_message
string | null
description
string | null
name
stringMax Length: 255* required

Responses

Successful Response

AudioAgentConfigurationResponseConfig
instructions
string | null
llm
AudioLLMConfig* required
AudioLLMConfig
model
string
stt
AudioSTTConfig* required
AudioSTTConfig
context_bias
array<string> | null
language
string | null
model
string
target_streaming_delay_ms
integer | null
turn_detection
AudioTurnDetectionConfig | null
AudioTurnDetectionConfig
eager_end_threshold
number | null
end_threshold
number | null
end_timeout_ms
integer | null
min_silence_ms
integer | null
start_threshold
number | null
VoiceAgentWebSearchTool
StaticToolFiller
text
stringMin Length: 1Max Length: 200* required
type
string

Default Value: "static"

GeneratedToolFiller

A filler the model writes for each call, in the user's language.

instructions guide what it says. fallback is spoken when it writes none; without one, the call is silent.

fallback
StaticToolFiller | null
StaticToolFiller
text
stringMin Length: 1Max Length: 200* required
type
string

Default Value: "static"

instructions
string | null
type
string

Default Value: "generated"

tool_configuration
ToolConfiguration | null
ToolConfiguration
exclude
array<string> | null
include
array<string> | null
requires_confirmation
array<string> | null
type
"web_search"

Default Value: "web_search"

VoiceAgentDocumentLibraryTool
StaticToolFiller
text
stringMin Length: 1Max Length: 200* required
type
string

Default Value: "static"

GeneratedToolFiller

A filler the model writes for each call, in the user's language.

instructions guide what it says. fallback is spoken when it writes none; without one, the call is silent.

fallback
StaticToolFiller | null
StaticToolFiller
text
stringMin Length: 1Max Length: 200* required
type
string

Default Value: "static"

instructions
string | null
type
string

Default Value: "generated"

library_ids
array<string>Min Items: 1* required

Ids of the library in which to search.

tool_configuration
ToolConfiguration | null
ToolConfiguration
exclude
array<string> | null
include
array<string> | null
requires_confirmation
array<string> | null
type
"document_library"

Default Value: "document_library"

VoiceAgentCustomConnector
authorization
OAuth2TokenAuth | APIKeyAuth | null
exclamationMark

Deprecated: per-request connector credentials will be removed. Authenticate the connector through the Connectors API instead.

OAuth2TokenAuth
type
"oauth2-token"

Default Value: "oauth2-token"

value
string* required
APIKeyAuth
type
"api-key"

Default Value: "api-key"

value
string* required
connector_id
string* required
StaticToolFiller
text
stringMin Length: 1Max Length: 200* required
type
string

Default Value: "static"

GeneratedToolFiller

A filler the model writes for each call, in the user's language.

instructions guide what it says. fallback is spoken when it writes none; without one, the call is silent.

fallback
StaticToolFiller | null
StaticToolFiller
text
stringMin Length: 1Max Length: 200* required
type
string

Default Value: "static"

instructions
string | null
type
string

Default Value: "generated"

tool_configuration
ToolConfiguration | null
ToolConfiguration
exclude
array<string> | null
include
array<string> | null
requires_confirmation
array<string> | null
type
"connector"

Default Value: "connector"

VoiceAgentFunctionTool
StaticToolFiller
text
stringMin Length: 1Max Length: 200* required
type
string

Default Value: "static"

GeneratedToolFiller

A filler the model writes for each call, in the user's language.

instructions guide what it says. fallback is spoken when it writes none; without one, the call is silent.

fallback
StaticToolFiller | null
StaticToolFiller
text
stringMin Length: 1Max Length: 200* required
type
string

Default Value: "static"

instructions
string | null
type
string

Default Value: "generated"

function
Function* required
Function
description
string

Default Value: ""

name
string* required
parameters
map<any>* required
strict
boolean

Default Value: false

timeout_ms
integer | null
type
"function"

Default Value: "function"

TransferCallTool
destinations
array<TransferTarget>Min Items: 1Max Items: 10* required
TransferTarget

One allowed hand-off, chosen by the model through id alone.

The address never reaches the model: it only sees id and condition, so it cannot dial a near-miss of a real number.

condition
stringMin Length: 1Max Length: 200* required
destination
PhoneDestination | SipDestination* required
PhoneDestination
number
stringPattern: ^\+[1-9]\d{1,14}$* required
type
string

Default Value: "phone"

SipDestination
type
string

Default Value: "sip"

uri
stringPattern: ^sips?:[^\s@]+@[^\s@]+$* required
id
stringPattern: ^[a-z0-9][a-z0-9_-]{0,31}$* required
StaticToolFiller
text
stringMin Length: 1Max Length: 200* required
type
string

Default Value: "static"

GeneratedToolFiller

A filler the model writes for each call, in the user's language.

instructions guide what it says. fallback is spoken when it writes none; without one, the call is silent.

fallback
StaticToolFiller | null
StaticToolFiller
text
stringMin Length: 1Max Length: 200* required
type
string

Default Value: "static"

instructions
string | null
type
string

Default Value: "generated"

type
string

Default Value: "transfer_call"

HangUpTool
StaticToolFiller
text
stringMin Length: 1Max Length: 200* required
type
string

Default Value: "static"

GeneratedToolFiller

A filler the model writes for each call, in the user's language.

instructions guide what it says. fallback is spoken when it writes none; without one, the call is silent.

fallback
StaticToolFiller | null
StaticToolFiller
text
stringMin Length: 1Max Length: 200* required
type
string

Default Value: "static"

instructions
string | null
type
string

Default Value: "generated"

type
string

Default Value: "hang_up"

tts
AudioTTSConfig* required
AudioTTSConfig
expressiveness
number | null
model
string
voice_id
string
turn
AudioTurnConfig* required
AudioTurnConfig
allow_interruptions
boolean
inactivity
AudioInactivityConfig | null
AudioInactivityConfig
max_reminders
integerMin: 1Max: 10* required
messages
array<string>Max Items: 5
timeout_ms
integerMin: 1000Max: 300000* required
welcome_message
string | null
created_at
date-time* required
description
string | null
id
string* required
name
string | null
owner_id
string* required
updated_at
date-time* required
version
integer | null

DELETE /v1/audio/agents/{agent_id}

Delete an audio agent

Delete an audio agent

Parameters

agent_id
stringpath* required

GET /v1/audio/agents/{agent_id}/versions

List audio agent versions

List audio agent versions

Parameters

agent_id
stringpath* required
page_size
integerquery

Maximum number of versions to return

page_token
string | nullquery

Cursor returned as next_page_token by the previous page

Responses

Successful Response

data
array<AudioAgentResponse>* required
AudioAgentResponse
AudioAgentConfigurationResponseConfig
instructions
string | null
llm
AudioLLMConfig* required
AudioLLMConfig
model
string
stt
AudioSTTConfig* required
AudioSTTConfig
context_bias
array<string> | null
language
string | null
model
string
target_streaming_delay_ms
integer | null
turn_detection
AudioTurnDetectionConfig | null
AudioTurnDetectionConfig
eager_end_threshold
number | null
end_threshold
number | null
end_timeout_ms
integer | null
min_silence_ms
integer | null
start_threshold
number | null
VoiceAgentWebSearchTool
StaticToolFiller
text
stringMin Length: 1Max Length: 200* required
type
string

Default Value: "static"

GeneratedToolFiller

A filler the model writes for each call, in the user's language.

instructions guide what it says. fallback is spoken when it writes none; without one, the call is silent.

fallback
StaticToolFiller | null
StaticToolFiller
text
stringMin Length: 1Max Length: 200* required
type
string

Default Value: "static"

instructions
string | null
type
string

Default Value: "generated"

tool_configuration
ToolConfiguration | null
ToolConfiguration
exclude
array<string> | null
include
array<string> | null
requires_confirmation
array<string> | null
type
"web_search"

Default Value: "web_search"

VoiceAgentDocumentLibraryTool
StaticToolFiller
text
stringMin Length: 1Max Length: 200* required
type
string

Default Value: "static"

GeneratedToolFiller

A filler the model writes for each call, in the user's language.

instructions guide what it says. fallback is spoken when it writes none; without one, the call is silent.

fallback
StaticToolFiller | null
StaticToolFiller
text
stringMin Length: 1Max Length: 200* required
type
string

Default Value: "static"

instructions
string | null
type
string

Default Value: "generated"

library_ids
array<string>Min Items: 1* required

Ids of the library in which to search.

tool_configuration
ToolConfiguration | null
ToolConfiguration
exclude
array<string> | null
include
array<string> | null
requires_confirmation
array<string> | null
type
"document_library"

Default Value: "document_library"

VoiceAgentCustomConnector
authorization
OAuth2TokenAuth | APIKeyAuth | null
exclamationMark

Deprecated: per-request connector credentials will be removed. Authenticate the connector through the Connectors API instead.

OAuth2TokenAuth
type
"oauth2-token"

Default Value: "oauth2-token"

value
string* required
APIKeyAuth
type
"api-key"

Default Value: "api-key"

value
string* required
connector_id
string* required
StaticToolFiller
text
stringMin Length: 1Max Length: 200* required
type
string

Default Value: "static"

GeneratedToolFiller

A filler the model writes for each call, in the user's language.

instructions guide what it says. fallback is spoken when it writes none; without one, the call is silent.

fallback
StaticToolFiller | null
StaticToolFiller
text
stringMin Length: 1Max Length: 200* required
type
string

Default Value: "static"

instructions
string | null
type
string

Default Value: "generated"

tool_configuration
ToolConfiguration | null
ToolConfiguration
exclude
array<string> | null
include
array<string> | null
requires_confirmation
array<string> | null
type
"connector"

Default Value: "connector"

VoiceAgentFunctionTool
StaticToolFiller
text
stringMin Length: 1Max Length: 200* required
type
string

Default Value: "static"

GeneratedToolFiller

A filler the model writes for each call, in the user's language.

instructions guide what it says. fallback is spoken when it writes none; without one, the call is silent.

fallback
StaticToolFiller | null
StaticToolFiller
text
stringMin Length: 1Max Length: 200* required
type
string

Default Value: "static"

instructions
string | null
type
string

Default Value: "generated"

function
Function* required
Function
description
string

Default Value: ""

name
string* required
parameters
map<any>* required
strict
boolean

Default Value: false

timeout_ms
integer | null
type
"function"

Default Value: "function"

TransferCallTool
destinations
array<TransferTarget>Min Items: 1Max Items: 10* required
TransferTarget

One allowed hand-off, chosen by the model through id alone.

The address never reaches the model: it only sees id and condition, so it cannot dial a near-miss of a real number.

condition
stringMin Length: 1Max Length: 200* required
destination
PhoneDestination | SipDestination* required
PhoneDestination
number
stringPattern: ^\+[1-9]\d{1,14}$* required
type
string

Default Value: "phone"

SipDestination
type
string

Default Value: "sip"

uri
stringPattern: ^sips?:[^\s@]+@[^\s@]+$* required
id
stringPattern: ^[a-z0-9][a-z0-9_-]{0,31}$* required
StaticToolFiller
text
stringMin Length: 1Max Length: 200* required
type
string

Default Value: "static"

GeneratedToolFiller

A filler the model writes for each call, in the user's language.

instructions guide what it says. fallback is spoken when it writes none; without one, the call is silent.

fallback
StaticToolFiller | null
StaticToolFiller
text
stringMin Length: 1Max Length: 200* required
type
string

Default Value: "static"

instructions
string | null
type
string

Default Value: "generated"

type
string

Default Value: "transfer_call"

HangUpTool
StaticToolFiller
text
stringMin Length: 1Max Length: 200* required
type
string

Default Value: "static"

GeneratedToolFiller

A filler the model writes for each call, in the user's language.

instructions guide what it says. fallback is spoken when it writes none; without one, the call is silent.

fallback
StaticToolFiller | null
StaticToolFiller
text
stringMin Length: 1Max Length: 200* required
type
string

Default Value: "static"

instructions
string | null
type
string

Default Value: "generated"

type
string

Default Value: "hang_up"

tts
AudioTTSConfig* required
AudioTTSConfig
expressiveness
number | null
model
string
voice_id
string
turn
AudioTurnConfig* required
AudioTurnConfig
allow_interruptions
boolean
inactivity
AudioInactivityConfig | null
AudioInactivityConfig
max_reminders
integerMin: 1Max: 10* required
messages
array<string>Max Items: 5
timeout_ms
integerMin: 1000Max: 300000* required
welcome_message
string | null
created_at
date-time* required
description
string | null
id
string* required
name
string | null
owner_id
string* required
updated_at
date-time* required
version
integer | null
next_page_token
string | null

Cursor for the next page, null on the last page

GET /v1/audio/agents/{agent_id}/sessions

List audio agent sessions

List audio agent sessions

Parameters

agent_id
stringpath* required
page_size
integerquery

Maximum number of sessions to return

page_token
string | nullquery

Cursor returned as next_page_token by the previous page

Responses

Successful Response

data
array<AudioAgentSessionSummary>* required
AudioAgentSessionSummary

A session of a saved agent, without its transcript.

agent_id
string* required
bridge_metadata
AmazonConnectContact | null

Contact metadata recorded when Amazon Connect starts a session.

AmazonConnectContact

Contact metadata recorded when Amazon Connect starts a session.

called_number
string | null
caller_number
string | null
channel
string | null
contact_arn
string | null
contact_id
string | null
context_id
stringMin Length: 1Max Length: 1024* required

Amazon Connect session context ID.

instance_arn
string | null
instance_id
string | null
type
string* required
duration
integer | null

Seconds from the first participant joining to the session ending, null if nobody joined or it is still running.

id
string* required
phone_number_id
string | null

Set when the session came in over telephony.

started_at
date-time | null

When the first participant joined, null if nobody ever did.

next_page_token
string | null

Cursor for the next page, null on the last page