Agents
Create agent
Create an agent to test inside Calibrate or connect your existing agent to Calibrate
POST
Authorizations
API key for authentication
Body
application/json
Agent name, unique within the workspace
agent: built inside Calibrateconnection: your existing agent connected to Calibrate
Available options:
agent, connection Agent behavioral config. The keys depend on type.
type=agent, built inside Calibrate:
system_prompt: the agent's instructionsllm.model:provider/model, e.g.openai/gpt-4.1orgoogle/gemini-2.5-flashstt.provider:deepgram,openai,cartesia,elevenlabs,google,sarvam, orsmallesttts.provider:cartesia,openai,google,elevenlabs,sarvam, orsmallestsettings.agent_speaks_first,settings.max_assistant_turnssystem_tools.end_call: let the agent end the calldata_extraction_fields:[{name, type, description, required}]
type=connection, your own HTTP endpoint:
agent_url: public HTTP(S) endpoint your agent is called atagent_headers: headers sent on each request, e.g. authbenchmark_provider:openrouterby default. Other values:openai,google,anthropic,meta-llama,mistralai,deepseek,x-ai,cohere,qwen, orai21
For type=agent, omitted keys inherit managed defaults. Omit config entirely to use all defaults. For type=connection, config is stored as-is and must contain agent_url