cURL
curl --request POST \ --url https://api.example.com/v1/agents/{agent_id}/duplicate \ --header 'Authorization: Bearer <token>'
{ "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "group_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "name": "<string>", "definition": {}, "description": "<string>", "visible": true }
Create a copy of an existing agent
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Successful Response