Create AI Agent
Create a new AI agent with the provided configuration.
Body
Name identifier for the AI agent
Language model configuration for the agent
Text-to-Speech configuration for voice synthesis
Speech-to-Text configuration for voice recognition
Language code for the agent (e.g., 'en-US' for US English)
ID of the knowledge base to use for enhanced responses
Whether to allow users to interrupt the agent while speaking
Minimum duration (in seconds) of speech before allowing interruption
0 <= x <= 15
Minimum number of words spoken before allowing interruption
0 <= x <= 5
Time to wait before detecting end of speech
0 <= x <= 15
Type of ambient background sound to add to the call
office
, cafe
, restaurant
, park
, street
, home
, library
, airport
, train_station
, beach
, none
Volume level for ambient sound (0-2, where 1 is normal volume)
0 <= x <= 2
URL to receive webhook notifications about call events
Number of seconds of silence before automatically ending the call
10 <= x <= 30
Maximum duration of the call in seconds (30-3600)
30 <= x <= 3600
Custom message to be spoken when the call begins
Time to wait for detecting voicemail before taking action
x >= 0
Configuration for dynamic data sources used by the agent
Configuration for analysis items to be processed after the call
Specifies that this analysis item will return a text string result
Response
Unique identifier for the AI agent
Name of the AI agent
Language model configuration for the AI agent
Speech-to-text configuration for the AI agent
Text-to-speech configuration for the AI agent
ID of the user who created this AI agent
Language code for the AI agent in BCP-47 format
ID of the associated knowledge base, if any
Whether to allow users to interrupt the AI agent while speaking
Minimum duration of speech in seconds before interruptions are allowed
0 <= x <= 15
Minimum number of words that must be spoken before interruption is allowed
0 <= x <= 5
Time in seconds to wait before considering speech has ended
0 <= x <= 15
Type of ambient background sound to use during calls
office
, cafe
, restaurant
, park
, street
, home
, library
, airport
, train_station
, beach
, none
Volume level for ambient sound, from 0 (muted) to 2 (loud)
0 <= x <= 2
URL to send webhook notifications about call events
Number of seconds of silence before automatically ending the call
10 <= x <= 30
Maximum duration of a call in seconds
30 <= x <= 3600
Custom welcome message to play at the start of calls
Time in seconds to wait for voicemail detection
x >= 0
Configuration for dynamic data sources that can be used during calls
Configuration for analysis items to be processed after calls