v4
latestOpenAPI 3.1.02026-08-01207318738.7 KBModels
Commit branch to git
Push the branch contents to git and create or update a pull request. The backend automatically detects whether the git branch already exists: if not, it creates a new git branch and opens a PR; if it does, it commits the latest model contents to the existing branch (updating the open PR).
post/api/v1/models/{modelId}/git/commit
Path parameters
modelIdstring uuid required
Model UUID
Example:123e4567-e89b-12d3-a456-426614174000
Model UUID
Request body
Example request
{
"allow_branch_exists": true,
"branch_id": "123e4567-e89b-12d3-a456-426614174001",
"commit_message": "Add new orders view"
}Response
Branch committed to git and pull request created or updated