Create branch
Create a branch to try configuration changes or alignments without touching the default branch. Repository write access is required.
POST
/v1/models/{modelId}/branchesAuthorization
Authorizationstringrequired
Send a Modaic bearer token in the Authorization header.
Parameters
modelIdUUIDrequired
Model repository ID.
namestringrequired
Branch name.
sourceRefstring
Commit SHA, tag, or branch to start from. Defaults to the default branch.
Response
branchstringrequired
commitShastring
The new branch's head.
Was this page helpful?