- API Reference
- endpoint
- audio
Audio Agents
Audio Agents
GET /v1/audio/agents
List audio agents
List audio agents
Parameters
page_size
integerqueryMaximum number of agents to return
page_token
string | nullqueryCursor returned as next_page_token by the previous page
search
string | nullquerySubstring match on the agent name
Responses
Successful Response
AudioAgentResponse
configuration
AudioAgentConfigurationResponseConfig | nullAudioAgentConfigurationResponseConfig
instructions
string | nullAudioLLMConfig
model
stringAudioSTTConfig
context_bias
array<string> | nulllanguage
string | nullmodel
stringtarget_streaming_delay_ms
integer | nullturn_detection
AudioTurnDetectionConfig | nullAudioTurnDetectionConfig
eager_end_threshold
number | nullend_threshold
number | nullend_timeout_ms
integer | nullmin_silence_ms
integer | nullstart_threshold
number | nulltools
array<VoiceAgentWebSearchTool | VoiceAgentDocumentLibraryTool | VoiceAgentCustomConnector | VoiceAgentFunctionTool | TransferCallTool | HangUpTool> | nullVoiceAgentWebSearchTool
filler
StaticToolFiller | GeneratedToolFiller | nullStaticToolFiller
text
stringMin Length: 1Max Length: 200* requiredtype
stringDefault 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 | nullStaticToolFiller
text
stringMin Length: 1Max Length: 200* requiredtype
stringDefault Value: "static"
instructions
string | nulltype
stringDefault Value: "generated"
tool_configuration
ToolConfiguration | nullToolConfiguration
exclude
array<string> | nullinclude
array<string> | nullrequires_confirmation
array<string> | nulltype
"web_search"Default Value: "web_search"
VoiceAgentDocumentLibraryTool
filler
StaticToolFiller | GeneratedToolFiller | nullStaticToolFiller
text
stringMin Length: 1Max Length: 200* requiredtype
stringDefault 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 | nullStaticToolFiller
text
stringMin Length: 1Max Length: 200* requiredtype
stringDefault Value: "static"
instructions
string | nulltype
stringDefault Value: "generated"
library_ids
array<string>Min Items: 1* requiredIds of the library in which to search.
tool_configuration
ToolConfiguration | nullToolConfiguration
exclude
array<string> | nullinclude
array<string> | nullrequires_confirmation
array<string> | nulltype
"document_library"Default Value: "document_library"
VoiceAgentCustomConnector
authorization
OAuth2TokenAuth | APIKeyAuth | nullDeprecated: 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* requiredAPIKeyAuth
type
"api-key"Default Value: "api-key"
value
string* requiredconnector_id
string* requiredfiller
StaticToolFiller | GeneratedToolFiller | nullStaticToolFiller
text
stringMin Length: 1Max Length: 200* requiredtype
stringDefault 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 | nullStaticToolFiller
text
stringMin Length: 1Max Length: 200* requiredtype
stringDefault Value: "static"
instructions
string | nulltype
stringDefault Value: "generated"
tool_configuration
ToolConfiguration | nullToolConfiguration
exclude
array<string> | nullinclude
array<string> | nullrequires_confirmation
array<string> | nulltype
"connector"Default Value: "connector"
VoiceAgentFunctionTool
filler
StaticToolFiller | GeneratedToolFiller | nullStaticToolFiller
text
stringMin Length: 1Max Length: 200* requiredtype
stringDefault 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 | nullStaticToolFiller
text
stringMin Length: 1Max Length: 200* requiredtype
stringDefault Value: "static"
instructions
string | nulltype
stringDefault Value: "generated"
Function
description
stringDefault Value: ""
name
string* requiredparameters
map<any>* requiredstrict
booleanDefault Value: false
timeout_ms
integer | nulltype
"function"Default Value: "function"
TransferCallTool
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* requiredPhoneDestination
number
stringPattern: ^\+[1-9]\d{1,14}$* requiredtype
stringDefault Value: "phone"
SipDestination
type
stringDefault Value: "sip"
uri
stringPattern: ^sips?:[^\s@]+@[^\s@]+$* requiredid
stringPattern: ^[a-z0-9][a-z0-9_-]{0,31}$* requiredfiller
StaticToolFiller | GeneratedToolFiller | nullStaticToolFiller
text
stringMin Length: 1Max Length: 200* requiredtype
stringDefault 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 | nullStaticToolFiller
text
stringMin Length: 1Max Length: 200* requiredtype
stringDefault Value: "static"
instructions
string | nulltype
stringDefault Value: "generated"
type
stringDefault Value: "transfer_call"
HangUpTool
filler
StaticToolFiller | GeneratedToolFiller | nullStaticToolFiller
text
stringMin Length: 1Max Length: 200* requiredtype
stringDefault 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 | nullStaticToolFiller
text
stringMin Length: 1Max Length: 200* requiredtype
stringDefault Value: "static"
instructions
string | nulltype
stringDefault Value: "generated"
type
stringDefault Value: "hang_up"
AudioTTSConfig
expressiveness
number | nullmodel
stringvoice_id
stringAudioTurnConfig
allow_interruptions
booleaninactivity
AudioInactivityConfig | nullAudioInactivityConfig
max_reminders
integerMin: 1Max: 10* requiredmessages
array<string>Max Items: 5timeout_ms
integerMin: 1000Max: 300000* requiredwelcome_message
string | nullcreated_at
date-time* requireddescription
string | nullid
string* requiredname
string | nullowner_id
string* requiredupdated_at
date-time* requiredversion
integer | nullnext_page_token
string | nullCursor 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
AudioAgentConfigurationRequest
instructions
string | nullAudioLLMConfig
model
stringAudioSTTConfig
context_bias
array<string> | nulllanguage
string | nullmodel
stringtarget_streaming_delay_ms
integer | nullturn_detection
AudioTurnDetectionConfig | nullAudioTurnDetectionConfig
eager_end_threshold
number | nullend_threshold
number | nullend_timeout_ms
integer | nullmin_silence_ms
integer | nullstart_threshold
number | nulltools
array<VoiceAgentWebSearchTool | VoiceAgentDocumentLibraryTool | VoiceAgentCustomConnector | VoiceAgentFunctionToolRequest | TransferCallTool | HangUpTool> | nullVoiceAgentWebSearchTool
filler
StaticToolFiller | GeneratedToolFiller | nullStaticToolFiller
text
stringMin Length: 1Max Length: 200* requiredtype
stringDefault 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 | nullStaticToolFiller
text
stringMin Length: 1Max Length: 200* requiredtype
stringDefault Value: "static"
instructions
string | nulltype
stringDefault Value: "generated"
tool_configuration
ToolConfiguration | nullToolConfiguration
exclude
array<string> | nullinclude
array<string> | nullrequires_confirmation
array<string> | nulltype
"web_search"Default Value: "web_search"
VoiceAgentDocumentLibraryTool
filler
StaticToolFiller | GeneratedToolFiller | nullStaticToolFiller
text
stringMin Length: 1Max Length: 200* requiredtype
stringDefault 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 | nullStaticToolFiller
text
stringMin Length: 1Max Length: 200* requiredtype
stringDefault Value: "static"
instructions
string | nulltype
stringDefault Value: "generated"
library_ids
array<string>Min Items: 1* requiredIds of the library in which to search.
tool_configuration
ToolConfiguration | nullToolConfiguration
exclude
array<string> | nullinclude
array<string> | nullrequires_confirmation
array<string> | nulltype
"document_library"Default Value: "document_library"
VoiceAgentCustomConnector
authorization
OAuth2TokenAuth | APIKeyAuth | nullDeprecated: 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* requiredAPIKeyAuth
type
"api-key"Default Value: "api-key"
value
string* requiredconnector_id
string* requiredfiller
StaticToolFiller | GeneratedToolFiller | nullStaticToolFiller
text
stringMin Length: 1Max Length: 200* requiredtype
stringDefault 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 | nullStaticToolFiller
text
stringMin Length: 1Max Length: 200* requiredtype
stringDefault Value: "static"
instructions
string | nulltype
stringDefault Value: "generated"
tool_configuration
ToolConfiguration | nullToolConfiguration
exclude
array<string> | nullinclude
array<string> | nullrequires_confirmation
array<string> | nulltype
"connector"Default Value: "connector"
VoiceAgentFunctionToolRequest
filler
StaticToolFiller | GeneratedToolFiller | nullStaticToolFiller
text
stringMin Length: 1Max Length: 200* requiredtype
stringDefault 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 | nullStaticToolFiller
text
stringMin Length: 1Max Length: 200* requiredtype
stringDefault Value: "static"
instructions
string | nulltype
stringDefault Value: "generated"
FunctionRequest
description
stringMax Length: 1024Default Value: ""
name
stringPattern: ^[a-zA-Z0-9_-]{1,64}$* requiredparameters
map<any>* requiredstrict
booleanDefault Value: false
timeout_ms
integer | nulltype
"function"Default Value: "function"
TransferCallTool
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* requiredPhoneDestination
number
stringPattern: ^\+[1-9]\d{1,14}$* requiredtype
stringDefault Value: "phone"
SipDestination
type
stringDefault Value: "sip"
uri
stringPattern: ^sips?:[^\s@]+@[^\s@]+$* requiredid
stringPattern: ^[a-z0-9][a-z0-9_-]{0,31}$* requiredfiller
StaticToolFiller | GeneratedToolFiller | nullStaticToolFiller
text
stringMin Length: 1Max Length: 200* requiredtype
stringDefault 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 | nullStaticToolFiller
text
stringMin Length: 1Max Length: 200* requiredtype
stringDefault Value: "static"
instructions
string | nulltype
stringDefault Value: "generated"
type
stringDefault Value: "transfer_call"
HangUpTool
filler
StaticToolFiller | GeneratedToolFiller | nullStaticToolFiller
text
stringMin Length: 1Max Length: 200* requiredtype
stringDefault 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 | nullStaticToolFiller
text
stringMin Length: 1Max Length: 200* requiredtype
stringDefault Value: "static"
instructions
string | nulltype
stringDefault Value: "generated"
type
stringDefault Value: "hang_up"
AudioTTSConfig
expressiveness
number | nullmodel
stringvoice_id
stringturn
AudioTurnConfigAudioTurnConfig
allow_interruptions
booleaninactivity
AudioInactivityConfig | nullAudioInactivityConfig
max_reminders
integerMin: 1Max: 10* requiredmessages
array<string>Max Items: 5timeout_ms
integerMin: 1000Max: 300000* requiredwelcome_message
string | nulldescription
string | nullname
stringMax Length: 255* requiredResponses
Successful Response
configuration
AudioAgentConfigurationResponseConfig | nullAudioAgentConfigurationResponseConfig
instructions
string | nullAudioLLMConfig
model
stringAudioSTTConfig
context_bias
array<string> | nulllanguage
string | nullmodel
stringtarget_streaming_delay_ms
integer | nullturn_detection
AudioTurnDetectionConfig | nullAudioTurnDetectionConfig
eager_end_threshold
number | nullend_threshold
number | nullend_timeout_ms
integer | nullmin_silence_ms
integer | nullstart_threshold
number | nulltools
array<VoiceAgentWebSearchTool | VoiceAgentDocumentLibraryTool | VoiceAgentCustomConnector | VoiceAgentFunctionTool | TransferCallTool | HangUpTool> | nullVoiceAgentWebSearchTool
filler
StaticToolFiller | GeneratedToolFiller | nullStaticToolFiller
text
stringMin Length: 1Max Length: 200* requiredtype
stringDefault 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 | nullStaticToolFiller
text
stringMin Length: 1Max Length: 200* requiredtype
stringDefault Value: "static"
instructions
string | nulltype
stringDefault Value: "generated"
tool_configuration
ToolConfiguration | nullToolConfiguration
exclude
array<string> | nullinclude
array<string> | nullrequires_confirmation
array<string> | nulltype
"web_search"Default Value: "web_search"
VoiceAgentDocumentLibraryTool
filler
StaticToolFiller | GeneratedToolFiller | nullStaticToolFiller
text
stringMin Length: 1Max Length: 200* requiredtype
stringDefault 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 | nullStaticToolFiller
text
stringMin Length: 1Max Length: 200* requiredtype
stringDefault Value: "static"
instructions
string | nulltype
stringDefault Value: "generated"
library_ids
array<string>Min Items: 1* requiredIds of the library in which to search.
tool_configuration
ToolConfiguration | nullToolConfiguration
exclude
array<string> | nullinclude
array<string> | nullrequires_confirmation
array<string> | nulltype
"document_library"Default Value: "document_library"
VoiceAgentCustomConnector
authorization
OAuth2TokenAuth | APIKeyAuth | nullDeprecated: 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* requiredAPIKeyAuth
type
"api-key"Default Value: "api-key"
value
string* requiredconnector_id
string* requiredfiller
StaticToolFiller | GeneratedToolFiller | nullStaticToolFiller
text
stringMin Length: 1Max Length: 200* requiredtype
stringDefault 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 | nullStaticToolFiller
text
stringMin Length: 1Max Length: 200* requiredtype
stringDefault Value: "static"
instructions
string | nulltype
stringDefault Value: "generated"
tool_configuration
ToolConfiguration | nullToolConfiguration
exclude
array<string> | nullinclude
array<string> | nullrequires_confirmation
array<string> | nulltype
"connector"Default Value: "connector"
VoiceAgentFunctionTool
filler
StaticToolFiller | GeneratedToolFiller | nullStaticToolFiller
text
stringMin Length: 1Max Length: 200* requiredtype
stringDefault 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 | nullStaticToolFiller
text
stringMin Length: 1Max Length: 200* requiredtype
stringDefault Value: "static"
instructions
string | nulltype
stringDefault Value: "generated"
Function
description
stringDefault Value: ""
name
string* requiredparameters
map<any>* requiredstrict
booleanDefault Value: false
timeout_ms
integer | nulltype
"function"Default Value: "function"
TransferCallTool
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* requiredPhoneDestination
number
stringPattern: ^\+[1-9]\d{1,14}$* requiredtype
stringDefault Value: "phone"
SipDestination
type
stringDefault Value: "sip"
uri
stringPattern: ^sips?:[^\s@]+@[^\s@]+$* requiredid
stringPattern: ^[a-z0-9][a-z0-9_-]{0,31}$* requiredfiller
StaticToolFiller | GeneratedToolFiller | nullStaticToolFiller
text
stringMin Length: 1Max Length: 200* requiredtype
stringDefault 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 | nullStaticToolFiller
text
stringMin Length: 1Max Length: 200* requiredtype
stringDefault Value: "static"
instructions
string | nulltype
stringDefault Value: "generated"
type
stringDefault Value: "transfer_call"
HangUpTool
filler
StaticToolFiller | GeneratedToolFiller | nullStaticToolFiller
text
stringMin Length: 1Max Length: 200* requiredtype
stringDefault 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 | nullStaticToolFiller
text
stringMin Length: 1Max Length: 200* requiredtype
stringDefault Value: "static"
instructions
string | nulltype
stringDefault Value: "generated"
type
stringDefault Value: "hang_up"
AudioTTSConfig
expressiveness
number | nullmodel
stringvoice_id
stringAudioTurnConfig
allow_interruptions
booleaninactivity
AudioInactivityConfig | nullAudioInactivityConfig
max_reminders
integerMin: 1Max: 10* requiredmessages
array<string>Max Items: 5timeout_ms
integerMin: 1000Max: 300000* requiredwelcome_message
string | nullcreated_at
date-time* requireddescription
string | nullid
string* requiredname
string | nullowner_id
string* requiredupdated_at
date-time* requiredversion
integer | nullGET /v1/audio/agents/{agent_id}
Get an audio agent
Get an audio agent
Parameters
agent_id
stringpath* requiredversion
integer | nullqueryVersion to return. Defaults to the latest version.
Responses
Successful Response
configuration
AudioAgentConfigurationResponseConfig | nullAudioAgentConfigurationResponseConfig
instructions
string | nullAudioLLMConfig
model
stringAudioSTTConfig
context_bias
array<string> | nulllanguage
string | nullmodel
stringtarget_streaming_delay_ms
integer | nullturn_detection
AudioTurnDetectionConfig | nullAudioTurnDetectionConfig
eager_end_threshold
number | nullend_threshold
number | nullend_timeout_ms
integer | nullmin_silence_ms
integer | nullstart_threshold
number | nulltools
array<VoiceAgentWebSearchTool | VoiceAgentDocumentLibraryTool | VoiceAgentCustomConnector | VoiceAgentFunctionTool | TransferCallTool | HangUpTool> | nullVoiceAgentWebSearchTool
filler
StaticToolFiller | GeneratedToolFiller | nullStaticToolFiller
text
stringMin Length: 1Max Length: 200* requiredtype
stringDefault 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 | nullStaticToolFiller
text
stringMin Length: 1Max Length: 200* requiredtype
stringDefault Value: "static"
instructions
string | nulltype
stringDefault Value: "generated"
tool_configuration
ToolConfiguration | nullToolConfiguration
exclude
array<string> | nullinclude
array<string> | nullrequires_confirmation
array<string> | nulltype
"web_search"Default Value: "web_search"
VoiceAgentDocumentLibraryTool
filler
StaticToolFiller | GeneratedToolFiller | nullStaticToolFiller
text
stringMin Length: 1Max Length: 200* requiredtype
stringDefault 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 | nullStaticToolFiller
text
stringMin Length: 1Max Length: 200* requiredtype
stringDefault Value: "static"
instructions
string | nulltype
stringDefault Value: "generated"
library_ids
array<string>Min Items: 1* requiredIds of the library in which to search.
tool_configuration
ToolConfiguration | nullToolConfiguration
exclude
array<string> | nullinclude
array<string> | nullrequires_confirmation
array<string> | nulltype
"document_library"Default Value: "document_library"
VoiceAgentCustomConnector
authorization
OAuth2TokenAuth | APIKeyAuth | nullDeprecated: 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* requiredAPIKeyAuth
type
"api-key"Default Value: "api-key"
value
string* requiredconnector_id
string* requiredfiller
StaticToolFiller | GeneratedToolFiller | nullStaticToolFiller
text
stringMin Length: 1Max Length: 200* requiredtype
stringDefault 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 | nullStaticToolFiller
text
stringMin Length: 1Max Length: 200* requiredtype
stringDefault Value: "static"
instructions
string | nulltype
stringDefault Value: "generated"
tool_configuration
ToolConfiguration | nullToolConfiguration
exclude
array<string> | nullinclude
array<string> | nullrequires_confirmation
array<string> | nulltype
"connector"Default Value: "connector"
VoiceAgentFunctionTool
filler
StaticToolFiller | GeneratedToolFiller | nullStaticToolFiller
text
stringMin Length: 1Max Length: 200* requiredtype
stringDefault 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 | nullStaticToolFiller
text
stringMin Length: 1Max Length: 200* requiredtype
stringDefault Value: "static"
instructions
string | nulltype
stringDefault Value: "generated"
Function
description
stringDefault Value: ""
name
string* requiredparameters
map<any>* requiredstrict
booleanDefault Value: false
timeout_ms
integer | nulltype
"function"Default Value: "function"
TransferCallTool
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* requiredPhoneDestination
number
stringPattern: ^\+[1-9]\d{1,14}$* requiredtype
stringDefault Value: "phone"
SipDestination
type
stringDefault Value: "sip"
uri
stringPattern: ^sips?:[^\s@]+@[^\s@]+$* requiredid
stringPattern: ^[a-z0-9][a-z0-9_-]{0,31}$* requiredfiller
StaticToolFiller | GeneratedToolFiller | nullStaticToolFiller
text
stringMin Length: 1Max Length: 200* requiredtype
stringDefault 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 | nullStaticToolFiller
text
stringMin Length: 1Max Length: 200* requiredtype
stringDefault Value: "static"
instructions
string | nulltype
stringDefault Value: "generated"
type
stringDefault Value: "transfer_call"
HangUpTool
filler
StaticToolFiller | GeneratedToolFiller | nullStaticToolFiller
text
stringMin Length: 1Max Length: 200* requiredtype
stringDefault 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 | nullStaticToolFiller
text
stringMin Length: 1Max Length: 200* requiredtype
stringDefault Value: "static"
instructions
string | nulltype
stringDefault Value: "generated"
type
stringDefault Value: "hang_up"
AudioTTSConfig
expressiveness
number | nullmodel
stringvoice_id
stringAudioTurnConfig
allow_interruptions
booleaninactivity
AudioInactivityConfig | nullAudioInactivityConfig
max_reminders
integerMin: 1Max: 10* requiredmessages
array<string>Max Items: 5timeout_ms
integerMin: 1000Max: 300000* requiredwelcome_message
string | nullcreated_at
date-time* requireddescription
string | nullid
string* requiredname
string | nullowner_id
string* requiredupdated_at
date-time* requiredversion
integer | nullPUT /v1/audio/agents/{agent_id}
Update an audio agent
Update an audio agent
Parameters
agent_id
stringpath* requiredRequest Example
{
"configuration": {},
"name": "ipsum eiusmod"
}
Request Body
AudioAgentConfigurationRequest
instructions
string | nullAudioLLMConfig
model
stringAudioSTTConfig
context_bias
array<string> | nulllanguage
string | nullmodel
stringtarget_streaming_delay_ms
integer | nullturn_detection
AudioTurnDetectionConfig | nullAudioTurnDetectionConfig
eager_end_threshold
number | nullend_threshold
number | nullend_timeout_ms
integer | nullmin_silence_ms
integer | nullstart_threshold
number | nulltools
array<VoiceAgentWebSearchTool | VoiceAgentDocumentLibraryTool | VoiceAgentCustomConnector | VoiceAgentFunctionToolRequest | TransferCallTool | HangUpTool> | nullVoiceAgentWebSearchTool
filler
StaticToolFiller | GeneratedToolFiller | nullStaticToolFiller
text
stringMin Length: 1Max Length: 200* requiredtype
stringDefault 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 | nullStaticToolFiller
text
stringMin Length: 1Max Length: 200* requiredtype
stringDefault Value: "static"
instructions
string | nulltype
stringDefault Value: "generated"
tool_configuration
ToolConfiguration | nullToolConfiguration
exclude
array<string> | nullinclude
array<string> | nullrequires_confirmation
array<string> | nulltype
"web_search"Default Value: "web_search"
VoiceAgentDocumentLibraryTool
filler
StaticToolFiller | GeneratedToolFiller | nullStaticToolFiller
text
stringMin Length: 1Max Length: 200* requiredtype
stringDefault 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 | nullStaticToolFiller
text
stringMin Length: 1Max Length: 200* requiredtype
stringDefault Value: "static"
instructions
string | nulltype
stringDefault Value: "generated"
library_ids
array<string>Min Items: 1* requiredIds of the library in which to search.
tool_configuration
ToolConfiguration | nullToolConfiguration
exclude
array<string> | nullinclude
array<string> | nullrequires_confirmation
array<string> | nulltype
"document_library"Default Value: "document_library"
VoiceAgentCustomConnector
authorization
OAuth2TokenAuth | APIKeyAuth | nullDeprecated: 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* requiredAPIKeyAuth
type
"api-key"Default Value: "api-key"
value
string* requiredconnector_id
string* requiredfiller
StaticToolFiller | GeneratedToolFiller | nullStaticToolFiller
text
stringMin Length: 1Max Length: 200* requiredtype
stringDefault 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 | nullStaticToolFiller
text
stringMin Length: 1Max Length: 200* requiredtype
stringDefault Value: "static"
instructions
string | nulltype
stringDefault Value: "generated"
tool_configuration
ToolConfiguration | nullToolConfiguration
exclude
array<string> | nullinclude
array<string> | nullrequires_confirmation
array<string> | nulltype
"connector"Default Value: "connector"
VoiceAgentFunctionToolRequest
filler
StaticToolFiller | GeneratedToolFiller | nullStaticToolFiller
text
stringMin Length: 1Max Length: 200* requiredtype
stringDefault 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 | nullStaticToolFiller
text
stringMin Length: 1Max Length: 200* requiredtype
stringDefault Value: "static"
instructions
string | nulltype
stringDefault Value: "generated"
FunctionRequest
description
stringMax Length: 1024Default Value: ""
name
stringPattern: ^[a-zA-Z0-9_-]{1,64}$* requiredparameters
map<any>* requiredstrict
booleanDefault Value: false
timeout_ms
integer | nulltype
"function"Default Value: "function"
TransferCallTool
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* requiredPhoneDestination
number
stringPattern: ^\+[1-9]\d{1,14}$* requiredtype
stringDefault Value: "phone"
SipDestination
type
stringDefault Value: "sip"
uri
stringPattern: ^sips?:[^\s@]+@[^\s@]+$* requiredid
stringPattern: ^[a-z0-9][a-z0-9_-]{0,31}$* requiredfiller
StaticToolFiller | GeneratedToolFiller | nullStaticToolFiller
text
stringMin Length: 1Max Length: 200* requiredtype
stringDefault 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 | nullStaticToolFiller
text
stringMin Length: 1Max Length: 200* requiredtype
stringDefault Value: "static"
instructions
string | nulltype
stringDefault Value: "generated"
type
stringDefault Value: "transfer_call"
HangUpTool
filler
StaticToolFiller | GeneratedToolFiller | nullStaticToolFiller
text
stringMin Length: 1Max Length: 200* requiredtype
stringDefault 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 | nullStaticToolFiller
text
stringMin Length: 1Max Length: 200* requiredtype
stringDefault Value: "static"
instructions
string | nulltype
stringDefault Value: "generated"
type
stringDefault Value: "hang_up"
AudioTTSConfig
expressiveness
number | nullmodel
stringvoice_id
stringturn
AudioTurnConfigAudioTurnConfig
allow_interruptions
booleaninactivity
AudioInactivityConfig | nullAudioInactivityConfig
max_reminders
integerMin: 1Max: 10* requiredmessages
array<string>Max Items: 5timeout_ms
integerMin: 1000Max: 300000* requiredwelcome_message
string | nulldescription
string | nullname
stringMax Length: 255* requiredResponses
Successful Response
configuration
AudioAgentConfigurationResponseConfig | nullAudioAgentConfigurationResponseConfig
instructions
string | nullAudioLLMConfig
model
stringAudioSTTConfig
context_bias
array<string> | nulllanguage
string | nullmodel
stringtarget_streaming_delay_ms
integer | nullturn_detection
AudioTurnDetectionConfig | nullAudioTurnDetectionConfig
eager_end_threshold
number | nullend_threshold
number | nullend_timeout_ms
integer | nullmin_silence_ms
integer | nullstart_threshold
number | nulltools
array<VoiceAgentWebSearchTool | VoiceAgentDocumentLibraryTool | VoiceAgentCustomConnector | VoiceAgentFunctionTool | TransferCallTool | HangUpTool> | nullVoiceAgentWebSearchTool
filler
StaticToolFiller | GeneratedToolFiller | nullStaticToolFiller
text
stringMin Length: 1Max Length: 200* requiredtype
stringDefault 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 | nullStaticToolFiller
text
stringMin Length: 1Max Length: 200* requiredtype
stringDefault Value: "static"
instructions
string | nulltype
stringDefault Value: "generated"
tool_configuration
ToolConfiguration | nullToolConfiguration
exclude
array<string> | nullinclude
array<string> | nullrequires_confirmation
array<string> | nulltype
"web_search"Default Value: "web_search"
VoiceAgentDocumentLibraryTool
filler
StaticToolFiller | GeneratedToolFiller | nullStaticToolFiller
text
stringMin Length: 1Max Length: 200* requiredtype
stringDefault 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 | nullStaticToolFiller
text
stringMin Length: 1Max Length: 200* requiredtype
stringDefault Value: "static"
instructions
string | nulltype
stringDefault Value: "generated"
library_ids
array<string>Min Items: 1* requiredIds of the library in which to search.
tool_configuration
ToolConfiguration | nullToolConfiguration
exclude
array<string> | nullinclude
array<string> | nullrequires_confirmation
array<string> | nulltype
"document_library"Default Value: "document_library"
VoiceAgentCustomConnector
authorization
OAuth2TokenAuth | APIKeyAuth | nullDeprecated: 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* requiredAPIKeyAuth
type
"api-key"Default Value: "api-key"
value
string* requiredconnector_id
string* requiredfiller
StaticToolFiller | GeneratedToolFiller | nullStaticToolFiller
text
stringMin Length: 1Max Length: 200* requiredtype
stringDefault 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 | nullStaticToolFiller
text
stringMin Length: 1Max Length: 200* requiredtype
stringDefault Value: "static"
instructions
string | nulltype
stringDefault Value: "generated"
tool_configuration
ToolConfiguration | nullToolConfiguration
exclude
array<string> | nullinclude
array<string> | nullrequires_confirmation
array<string> | nulltype
"connector"Default Value: "connector"
VoiceAgentFunctionTool
filler
StaticToolFiller | GeneratedToolFiller | nullStaticToolFiller
text
stringMin Length: 1Max Length: 200* requiredtype
stringDefault 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 | nullStaticToolFiller
text
stringMin Length: 1Max Length: 200* requiredtype
stringDefault Value: "static"
instructions
string | nulltype
stringDefault Value: "generated"
Function
description
stringDefault Value: ""
name
string* requiredparameters
map<any>* requiredstrict
booleanDefault Value: false
timeout_ms
integer | nulltype
"function"Default Value: "function"
TransferCallTool
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* requiredPhoneDestination
number
stringPattern: ^\+[1-9]\d{1,14}$* requiredtype
stringDefault Value: "phone"
SipDestination
type
stringDefault Value: "sip"
uri
stringPattern: ^sips?:[^\s@]+@[^\s@]+$* requiredid
stringPattern: ^[a-z0-9][a-z0-9_-]{0,31}$* requiredfiller
StaticToolFiller | GeneratedToolFiller | nullStaticToolFiller
text
stringMin Length: 1Max Length: 200* requiredtype
stringDefault 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 | nullStaticToolFiller
text
stringMin Length: 1Max Length: 200* requiredtype
stringDefault Value: "static"
instructions
string | nulltype
stringDefault Value: "generated"
type
stringDefault Value: "transfer_call"
HangUpTool
filler
StaticToolFiller | GeneratedToolFiller | nullStaticToolFiller
text
stringMin Length: 1Max Length: 200* requiredtype
stringDefault 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 | nullStaticToolFiller
text
stringMin Length: 1Max Length: 200* requiredtype
stringDefault Value: "static"
instructions
string | nulltype
stringDefault Value: "generated"
type
stringDefault Value: "hang_up"
AudioTTSConfig
expressiveness
number | nullmodel
stringvoice_id
stringAudioTurnConfig
allow_interruptions
booleaninactivity
AudioInactivityConfig | nullAudioInactivityConfig
max_reminders
integerMin: 1Max: 10* requiredmessages
array<string>Max Items: 5timeout_ms
integerMin: 1000Max: 300000* requiredwelcome_message
string | nullcreated_at
date-time* requireddescription
string | nullid
string* requiredname
string | nullowner_id
string* requiredupdated_at
date-time* requiredversion
integer | nullDELETE /v1/audio/agents/{agent_id}
Delete an audio agent
Delete an audio agent
Parameters
agent_id
stringpath* requiredGET /v1/audio/agents/{agent_id}/versions
List audio agent versions
List audio agent versions
Parameters
agent_id
stringpath* requiredpage_size
integerqueryMaximum number of versions to return
page_token
string | nullqueryCursor returned as next_page_token by the previous page
Responses
Successful Response
AudioAgentResponse
configuration
AudioAgentConfigurationResponseConfig | nullAudioAgentConfigurationResponseConfig
instructions
string | nullAudioLLMConfig
model
stringAudioSTTConfig
context_bias
array<string> | nulllanguage
string | nullmodel
stringtarget_streaming_delay_ms
integer | nullturn_detection
AudioTurnDetectionConfig | nullAudioTurnDetectionConfig
eager_end_threshold
number | nullend_threshold
number | nullend_timeout_ms
integer | nullmin_silence_ms
integer | nullstart_threshold
number | nulltools
array<VoiceAgentWebSearchTool | VoiceAgentDocumentLibraryTool | VoiceAgentCustomConnector | VoiceAgentFunctionTool | TransferCallTool | HangUpTool> | nullVoiceAgentWebSearchTool
filler
StaticToolFiller | GeneratedToolFiller | nullStaticToolFiller
text
stringMin Length: 1Max Length: 200* requiredtype
stringDefault 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 | nullStaticToolFiller
text
stringMin Length: 1Max Length: 200* requiredtype
stringDefault Value: "static"
instructions
string | nulltype
stringDefault Value: "generated"
tool_configuration
ToolConfiguration | nullToolConfiguration
exclude
array<string> | nullinclude
array<string> | nullrequires_confirmation
array<string> | nulltype
"web_search"Default Value: "web_search"
VoiceAgentDocumentLibraryTool
filler
StaticToolFiller | GeneratedToolFiller | nullStaticToolFiller
text
stringMin Length: 1Max Length: 200* requiredtype
stringDefault 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 | nullStaticToolFiller
text
stringMin Length: 1Max Length: 200* requiredtype
stringDefault Value: "static"
instructions
string | nulltype
stringDefault Value: "generated"
library_ids
array<string>Min Items: 1* requiredIds of the library in which to search.
tool_configuration
ToolConfiguration | nullToolConfiguration
exclude
array<string> | nullinclude
array<string> | nullrequires_confirmation
array<string> | nulltype
"document_library"Default Value: "document_library"
VoiceAgentCustomConnector
authorization
OAuth2TokenAuth | APIKeyAuth | nullDeprecated: 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* requiredAPIKeyAuth
type
"api-key"Default Value: "api-key"
value
string* requiredconnector_id
string* requiredfiller
StaticToolFiller | GeneratedToolFiller | nullStaticToolFiller
text
stringMin Length: 1Max Length: 200* requiredtype
stringDefault 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 | nullStaticToolFiller
text
stringMin Length: 1Max Length: 200* requiredtype
stringDefault Value: "static"
instructions
string | nulltype
stringDefault Value: "generated"
tool_configuration
ToolConfiguration | nullToolConfiguration
exclude
array<string> | nullinclude
array<string> | nullrequires_confirmation
array<string> | nulltype
"connector"Default Value: "connector"
VoiceAgentFunctionTool
filler
StaticToolFiller | GeneratedToolFiller | nullStaticToolFiller
text
stringMin Length: 1Max Length: 200* requiredtype
stringDefault 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 | nullStaticToolFiller
text
stringMin Length: 1Max Length: 200* requiredtype
stringDefault Value: "static"
instructions
string | nulltype
stringDefault Value: "generated"
Function
description
stringDefault Value: ""
name
string* requiredparameters
map<any>* requiredstrict
booleanDefault Value: false
timeout_ms
integer | nulltype
"function"Default Value: "function"
TransferCallTool
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* requiredPhoneDestination
number
stringPattern: ^\+[1-9]\d{1,14}$* requiredtype
stringDefault Value: "phone"
SipDestination
type
stringDefault Value: "sip"
uri
stringPattern: ^sips?:[^\s@]+@[^\s@]+$* requiredid
stringPattern: ^[a-z0-9][a-z0-9_-]{0,31}$* requiredfiller
StaticToolFiller | GeneratedToolFiller | nullStaticToolFiller
text
stringMin Length: 1Max Length: 200* requiredtype
stringDefault 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 | nullStaticToolFiller
text
stringMin Length: 1Max Length: 200* requiredtype
stringDefault Value: "static"
instructions
string | nulltype
stringDefault Value: "generated"
type
stringDefault Value: "transfer_call"
HangUpTool
filler
StaticToolFiller | GeneratedToolFiller | nullStaticToolFiller
text
stringMin Length: 1Max Length: 200* requiredtype
stringDefault 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 | nullStaticToolFiller
text
stringMin Length: 1Max Length: 200* requiredtype
stringDefault Value: "static"
instructions
string | nulltype
stringDefault Value: "generated"
type
stringDefault Value: "hang_up"
AudioTTSConfig
expressiveness
number | nullmodel
stringvoice_id
stringAudioTurnConfig
allow_interruptions
booleaninactivity
AudioInactivityConfig | nullAudioInactivityConfig
max_reminders
integerMin: 1Max: 10* requiredmessages
array<string>Max Items: 5timeout_ms
integerMin: 1000Max: 300000* requiredwelcome_message
string | nullcreated_at
date-time* requireddescription
string | nullid
string* requiredname
string | nullowner_id
string* requiredupdated_at
date-time* requiredversion
integer | nullnext_page_token
string | nullCursor 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* requiredpage_size
integerqueryMaximum number of sessions to return
page_token
string | nullqueryCursor returned as next_page_token by the previous page
Responses
Successful Response
AudioAgentSessionSummary
A session of a saved agent, without its transcript.
agent_id
string* requiredbridge_metadata
AmazonConnectContact | nullContact metadata recorded when Amazon Connect starts a session.
AmazonConnectContact
Contact metadata recorded when Amazon Connect starts a session.
called_number
string | nullcaller_number
string | nullchannel
string | nullcontact_arn
string | nullcontact_id
string | nullcontext_id
stringMin Length: 1Max Length: 1024* requiredAmazon Connect session context ID.
instance_arn
string | nullinstance_id
string | nulltype
string* requiredduration
integer | nullSeconds from the first participant joining to the session ending, null if nobody joined or it is still running.
id
string* requiredphone_number_id
string | nullSet when the session came in over telephony.
started_at
date-time | nullWhen the first participant joined, null if nobody ever did.
next_page_token
string | nullCursor for the next page, null on the last page