Skip to main content
Version: 2.0

Replace agent

PUT 

/v2/agents/:agent_key

Supported API Key Type:
Personal

The Replace Agent API enables you to completely replace an existing agent configuration, including its corpora, tools, and generation presets. This endpoint performs a full replacement of the agent definition, unlike the Update Agent API which only modifies specified fields.

Request

Responses

The agent has been replaced successfully.