Body
Name identifier for the AI agent
Language model configuration for the agent
- CreateSimplePiaLLMRequest
- CreateAgenticPiaLLMRequest
- CreateCustomPiaLLMRequest
Text-to-Speech configuration for voice synthesis
- CreateElevenLabsTTSRequest
- CreateGoogleTTSRequest
- CreateAzureTTSRequest
- CreateCartesiaTTSRequest
- CreatePiaTTSRequest
Speech-to-Text configuration for voice recognition
- CreateDeepgramSTTRequest
- CreateGoogleSTTRequest
- CreatePiaSTTRequest
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 <= 15Minimum number of words spoken before allowing interruption
0 <= x <= 5Time to wait before detecting end of speech
0 <= x <= 15Type 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 <= 2URL to receive webhook notifications about call events
Number of seconds of silence before automatically ending the call
10 <= x <= 30Maximum duration of the call in seconds (30-3600)
30 <= x <= 3600Custom message to be spoken when the call begins
Time to wait for detecting voicemail before taking action
x >= 0Configuration for dynamic data sources used by the agent
Configuration for analysis items to be processed after the call
- CreateStringPostCallAnalysisItemRequest
- CreateEnumPostCallAnalysisItemRequest
- CreateBooleanPostCallAnalysisItemRequest
- CreateNumberPostCallAnalysisItemRequest
Response
Successful Response
Unique identifier for the AI agent
Name of the AI agent
Language model configuration for the AI agent
- SimplePiaLLMResponse
- AgenticPiaLLMResponse
- CustomPiaLLMResponse
Speech-to-text configuration for the AI agent
- DeepgramSTTResponse
- GoogleSTTResponse
- PiaSTTResponse
Text-to-speech configuration for the AI agent
- ElevenLabsTTSResponse
- GoogleTTSResponse
- AzureTTSResponse
- CartesiaTTSResponse
- PiaTTSResponse
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 <= 15Minimum number of words that must be spoken before interruption is allowed
0 <= x <= 5Time in seconds to wait before considering speech has ended
0 <= x <= 15Type 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 <= 2URL to send webhook notifications about call events
Number of seconds of silence before automatically ending the call
10 <= x <= 30Maximum duration of a call in seconds
30 <= x <= 3600Custom welcome message to play at the start of calls
Time in seconds to wait for voicemail detection
x >= 0Configuration for dynamic data sources that can be used during calls
Configuration for analysis items to be processed after calls
- StringPostCallAnalysisItemResponse
- EnumPostCallAnalysisItemResponse
- BooleanPostCallAnalysisItemResponse
- NumberPostCallAnalysisItemResponse

