Duplicate Agent
Agents
Duplicate Agent
Duplicate an agent template and return the duplicated graph.
POST
Duplicate Agent
Creates a new agent by copying the source template’s metadata, nodes, and connections.
Response shape matches Get Agent:
All body fields are optional.
agent, agent_nodes, and connections.
Request
Body Parameters
| Field | Type | Required | Description |
|---|---|---|---|
name | string | No | Name for the duplicated agent (1-120 chars). Defaults to Copy of <source name>. |
description | string | No | Description override (<=5000 chars). Defaults to source description. |
visibility | string | No | public or private. Defaults to source visibility. |