Skip to main content
Version: 2.0

Replace agent

PUT 

/v2/agents/:agent_key

Replaces the complete configuration of an existing agent, including its steps, instructions, tool configurations, and model. Unlike Update agent, which changes only the fields in the request, this operation replaces the whole agent definition.

Request

Responses

The complete configuration of the replaced agent.