cURL
curl --request POST \ --url https://api.us.poly.ai/v1/agents/{agentId}/branches/{branchId}/variants \ --header 'Content-Type: application/json' \ --header 'x-api-key: <api-key>' \ --data ' { "name": "<string>", "attributeValues": { "values": {} }, "isDefault": true } '
{ "id": "<string>", "name": "<string>", "isDefault": true, "attributeValues": { "values": {} } }
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
Show child attributes
Created variant
Was this page helpful?