Skip to main content
POST
/
v1
/
agents
/
{agentId}
/
duplicate
Duplicate agent
curl --request POST \
  --url https://api.us.poly.ai/v1/agents/{agentId}/duplicate \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '
{
  "newAgentName": "<string>",
  "newAgentId": "<string>"
}
'
{
  "accountId": "<string>",
  "agentId": "<string>",
  "agentName": "<string>",
  "createdAt": "<string>",
  "updatedAt": "<string>",
  "branchCount": 123
}

Documentation Index

Fetch the complete documentation index at: https://docs.poly.ai/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

x-api-key
string
header
required

Body

application/json
newAgentName
string
required
Required string length: 1 - 100
newAgentId
string
Pattern: ^[a-zA-Z0-9-]+$

Response

200 - application/json

Duplicated agent

accountId
string
required
agentId
string
required
agentName
string
required
createdAt
string
required
updatedAt
string
required
branchCount
number
required
Last modified on May 8, 2026