Clone agent
Creates a full deep-clone of an agent, including all its sources (excluding Notion). Returns the new agent ID.
Same response shape as Create Agent — pendingSteps indicates if training could not start automatically. The clone is a new, independent agent; changes to the original do not affect it.
Subject to plan agent limits — returns AGENT_LIMIT_REACHED (403) when the account has reached its maximum number of agents.
Authorizations
API key from your account settings
Path Parameters
The agent ID
1"5QHA6VB-DIAbBhxwqxfdi"
Response
Agent cloned — returns the new agent ID
The agent ID
"5QHA6VB-DIAbBhxwqxfdi"
Steps that failed after the agent was created, absent when everything succeeded. ADD_SOURCE — the provided URL could not be added as a source; add sources manually via the Sources API. TRAIN_AGENT — training could not be started; trigger it manually via POST /agents/{agentId}/train.
ADD_SOURCE, TRAIN_AGENT 