v21

latestOpenAPI 3.1.0raw.githubusercontent.com2026-01-1340148239.5 KB
/agents

Copy Agent

Copy an existing agent with all its configurations and datastore associations. The copied agent will have "[COPY]" appended to its name.

post/agents/{agent_id}/copy

Path parameters

agent_idstring uuid required

ID of the agent to copy

ID of the agent to copy

Response

Successful Response

idstring uuid required

ID of the agent

datastore_idsstring[] required

IDs of the datastores associated with the agent. If no datastore was provided as part of the request, this is a singleton list containing the ID of the automatically created datastore.