Merges a model branch into the shared model.
force_override_git_settings flag to override this check when necessary, but git will not be synced to avoid force-pushing to main.
| Model Configuration | Default Behavior | With force_override_git_settings: true |
|---|---|---|
| No git | Merge succeeds, no git sync | N/A |
| Git enabled (no PR required) | Merge succeeds, syncs to git | N/A |
| Git + PR required | Rejected with 400 error | Merge succeeds, no git sync |
| Git + git follower | Rejected with 400 error | Merge succeeds, no git sync |
Can be either an Organization API Key or Personal Access Token (PAT).
Include in the Authorization header as: Bearer YOUR_TOKEN
The unique identifier of the model
The name of the branch to merge
Delete the branch after merging
When enabled, publish branch-attached drafts when merging
Custom commit message for git sync. Defaults to "branch <name> merged via API"
"Merged revenue metrics branch via CI/CD pipeline"
Allow merge for PR-required or git-follower models.
When enabled, the merge will succeed but git will not be synced to avoid force-pushing to main.
Branch merged successfully
Whether the merge was successful
true
Number of drafts that were published during the merge
2
Number of drafts that failed to publish
0
Whether the changes were synced to git
true