Creates a new voice AI agent. The voice_id must be from the partner’s allowed voices list (see GET /agent/voices). The language must be from the partner’s allowed languages. Agent names must be unique per partner.
API key in format: rg_live_xxxx. Pass as a Bearer token in the Authorization header.
Unique agent name.
50"Sales Assistant"
System prompt defining the agent's personality and behavior.
120000Cartesia voice ID from the allowed voices list.
"a0e99841-438c-4a64-b679-ae501e7d6091"
Language code from the partner's allowed languages.
"en"
Whether the agent handles inbound or outbound calls.
inbound, outbound Optional greeting spoken when a call connects.
500Assign the agent to a specific project. Defaults to the default project if omitted.
Whether to record calls made with this agent.
Knowledge base search relevance threshold.
low, medium, high, null Include document summaries in KB search results.
Custom format template for KB search results.
2000Enable LLM post-processing of KB search results.
System prompt for LLM KB processing.
120000