cURL
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 IndexFetch the complete documentation index at: https://docs.poly.ai/llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: https://docs.poly.ai/llms.txt
Use this file to discover all available pages before exploring further.
1 - 100
^[a-zA-Z0-9-]+$
Duplicated agent
Was this page helpful?