v1
latestOpenAPI 3.1.02026-07-2618690613.4 KBModel branches
Merge a branch
Merge a model branch into the shared model.
post/v1/models/{modelId}/branch/{branchName}/merge
Path parameters
modelIdstring uuid required
The unique identifier of the model
branchNamestring required
The name of the branch to merge
Request body
Example request
{
"commit_message": "Merged revenue metrics branch via CI/CD pipeline"
}Response
Branch merged successfully
Example response
{
"success": true,
"published_drafts_count": 2,
"git_synced": true
}