v4
OpenAPI 3.1.02026-07-313621,3961.8 MBAgents Platform
Rebase A Branch Onto Main
Rebase a branch onto the latest main branch, incorporating main's changes while preserving the branch's own changes.
post/v1/convai/agents/{agent_id}/branches/{branch_id}/rebase
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.
branch_idstring required
Unique identifier for the source branch to merge from.
Example:agtbrch_8901k4t9z5defmb8vh3e9361y7nj
Unique identifier for the source branch to merge from.
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.
Response
Successful Response
{"stackTrail":"paths:/v1/convai/agents/{agent_id}/branches/{branch_id}/rebase:post:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}