Skip to main content
POST
Clone agent

Authorizations

Authorization
string
header
required

API key from your account settings

Path Parameters

agentId
string
required

The agent ID

Minimum string length: 1
Example:

"5QHA6VB-DIAbBhxwqxfdi"

Response

Agent cloned — returns the new agent ID

id
string
required

The agent ID

Example:

"5QHA6VB-DIAbBhxwqxfdi"

pendingSteps
enum<string>[]

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.

Available options:
ADD_SOURCE,
TRAIN_AGENT