Merge agent branch

Merge a branch into a target branch

Path parameters

agent_idstringRequired
The id of an agent. This is returned on agent creation.
source_branch_idstringRequired
Unique identifier for the source branch to merge from.

Headers

xi-api-keystringRequired

Query parameters

target_branch_idstringRequired

The ID of the target branch to merge into (must be the main branch).

Request

This endpoint expects an object.
archive_source_branchbooleanOptionalDefaults to true
Whether to archive the source branch after merging

Response

Successful Response

Errors