Variant deleted
Delete variant
delete
https://api.dev.poly.ai/v1/agents/{agentId}/branches/{branchId}/variants/{variantId}
Response
200
Response
200
delete/v1/agents/{agentId}/branches/{branchId}/variants/{variantId}
Authentication
200
Update variant
patch
https://api.dev.poly.ai/v1/agents/{agentId}/branches/{branchId}/variants/{variantId}
Body
application/json
Body
application/json
UpdateVariantBody
* Additional properties are NOT allowed.
namestring
>= 1 characters
attributeValuesobject
* Additional properties are NOT allowed.
Show Child Parameters
isDefaultboolean
Response
200 application/json
Response
200 application/json
Updated variant
VariantResponse
* Additional properties are NOT allowed.
idstringrequired
namestringrequired
isDefaultbooleanrequired
attributeValuesobjectrequired
* Additional properties are NOT allowed.
Show Child Parameters
patch/v1/agents/{agentId}/branches/{branchId}/variants/{variantId}
Authentication
Body
{}
200 application/json
Get agent behavior rules
get
https://api.dev.poly.ai/v1/agents/{agentId}/branches/{branchId}/behavior
Response
application/json
Response
application/json
Current behavior rules for the agent branch
AgentRulesResponse
* Additional properties are NOT allowed.
behaviorstringrequired
get/v1/agents/{agentId}/branches/{branchId}/behavior
Authentication
application/json
Update agent behavior rules
patch
https://api.dev.poly.ai/v1/agents/{agentId}/branches/{branchId}/behavior
Body
application/json
Body
application/json
UpdateAgentRulesBody
* Additional properties are NOT allowed.
behaviorstringrequired
>= 1 characters
Response
200 application/json
Response
200 application/json
Updated behavior rules
AgentRulesResponse
* Additional properties are NOT allowed.
behaviorstringrequired
patch/v1/agents/{agentId}/branches/{branchId}/behavior
Authentication
Body
{
"behavior": "behavior"
}
200 application/json
List knowledge base topics
get
https://api.dev.poly.ai/v1/agents/{agentId}/branches/{branchId}/knowledge-base/topics
Response
200
Response
200
List of knowledge base topics
get/v1/agents/{agentId}/branches/{branchId}/knowledge-base/topics
Authentication
200