v5
latestOpenAPI 3.1.02026-08-043621,4011.8 MBAgents Platform
Merge A Branch Into A Target Branch
Merge a branch into a target branch
post/v1/convai/agents/{agent_id}/branches/{source_branch_id}/merge
Path parameters
agent_idstring required
The id of an agent. This is returned on agent creation.
Example:agent_3701k3ttaq12ewp8b7qv5rfyszkz
The id of an agent. This is returned on agent creation.
source_branch_idstring required
Unique identifier for the source branch to merge from.
Example:agtbrch_8901k4t9z5defmb8vh3e9361y7nj
Unique identifier for the source branch to merge from.
Query parameters
target_branch_idstring required
The ID of the target branch to merge into.
Example:agtbrch_8901k4t9z5defmb8vh3e9361y7nj
The ID of the target branch to merge into.
Headers
xi-api-keystring nullable
Your API key. This is required by most endpoints to access our API programmatically. You can view your xi-api-key using the 'Profile' tab on the website.
Your API key. This is required by most endpoints to access our API programmatically. You can view your xi-api-key using the 'Profile' tab on the website.
Request body
Response
Successful Response
{"stackTrail":"paths:/v1/convai/agents/{agent_id}/branches/{source_branch_id}/merge:post:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}