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
Speech-to-Text configuration for voice recognition
Text-to-Speech configuration for voice synthesis
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
Configuration for dynamic data sources used by the agent
Whether to allow users to interrupt the agent while speaking
Number of seconds of silence before automatically ending the call
10 < x < 30
ID of the knowledge base to use for enhanced responses
Language code for the agent (e.g., 'en-US' for US English)
Maximum duration of the call in seconds (30-3600)
30 < x < 3600
Minimum duration (in seconds) of speech before allowing interruption
0 < x < 15
Minimum number of words spoken before allowing interruption
0 < x < 5
Configuration for analysis items to be processed after the call
Time to wait for detecting voicemail before taking action
x > 0
Time to wait before detecting end of speech
0 < x < 15
URL to receive webhook notifications about call events
Custom message to be spoken when the call begins
Response
Name of the AI agent
Unique identifier for the AI agent
ID of the user who created this 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
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
Configuration for dynamic data sources that can be used during calls
Whether to allow users to interrupt the AI agent while speaking
Number of seconds of silence before automatically ending the call
10 < x < 30
ID of the associated knowledge base, if any
Language code for the AI agent in BCP-47 format
Maximum duration of a call in seconds
30 < x < 3600
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
Configuration for analysis items to be processed after calls
Time in seconds to wait for voicemail detection
x > 0
Time in seconds to wait before considering speech has ended
0 < x < 15
URL to send webhook notifications about call events
Custom welcome message to play at the start of calls