Skip to main content
PATCH
/
v1
/
agents
/
{agentId}
/
branches
/
{branchId}
/
behavior
Update agent behavior rules
curl --request PATCH \
  --url https://api.us.poly.ai/v1/agents/{agentId}/branches/{branchId}/behavior \
  --header 'Content-Type: application/json' \
  --header 'X-API-KEY: <api-key>' \
  --data '
{
  "behavior": "<string>"
}
'
{
  "behavior": "<string>"
}

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

Path Parameters

agentId
string
required
branchId
string
required

Body

application/json
behavior
string
required
Minimum string length: 1

Response

200 - application/json

Updated behavior rules

behavior
string
required
Last modified on June 1, 2026