List branches
Every model is a Git repository. Branches carry ongoing work; the default
branch is what decisions use when no revision is given. Repository read
access is required.
GET
/v1/models/{modelId}/branchesAuthorization
Authorizationstringrequired
Send a Modaic bearer token in the Authorization header.
Parameters
modelIdUUIDrequired
Model repository ID.
Response
branchesBranch[]required
Each branch has name, headSha, and createdAt. The default branch's
headSha is the value to pass as expectedHeadSha on an update,
sourceCommitSha on an alignment, or the target of a tag.
Was this page helpful?