Update agent
Update an agent’s configuration
Authorizations
API key for authentication
Path Parameters
The agent to update
"f47ac10b-58cc-4372-a567-0e02b2c3d479"
Body
New agent name. Omit to leave the name unchanged
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
Replaces the stored config. Omit to leave unchanged
For type=connection, changing agent_url or agent_headers resets the connection and benchmark verification flags
Response
Successful Response
ID of the agent
36"f47ac10b-58cc-4372-a567-0e02b2c3d479"
Name of the agent
agent: built inside Calibrateconnection: your existing agent connected to Calibrate
agent, connection When the agent was created (ISO 8601 UTC)
When the agent was last updated (ISO 8601 UTC)
Agent configuration