Skip to main content
POST
/
v1
/
agents
/
{agentId}
/
branches
/
{branchId}
/
merge
Merge branch
curl --request POST \
  --url https://api.us.poly.ai/v1/agents/{agentId}/branches/{branchId}/merge \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '
{
  "deploymentMessage": "",
  "conflictResolutions": [
    {
      "path": [
        "<string>"
      ],
      "strategy": "ours",
      "value": "<unknown>"
    }
  ]
}
'

Authorizations

x-api-key
string
header
required

Body

application/json
deploymentMessage
string
default:""
conflictResolutions
object[]

Response

200

Branch merged

Last modified on April 22, 2026