Skip to main content
POST
Create Branch

Headers

authorization
string | null

Path Parameters

org_id
string
required
node_id
string
required

Body

application/json

Request model for creating a branch.

name
string
required

Branch name

base_branch
string | null
default:main

Base branch to fork from

Response

Successful Response

Response model for branch data.

node_id
string
required

Node ID

name
string
required

Branch name

head_commit
string
required

Head commit ID

created_by
string
required

User who created the branch

created_at
string<date-time>
required

Creation timestamp

updated_at
string<date-time>
required

Last update timestamp

base_branch
string | null

Base branch name

head_commit_message
string | null

Head commit message

last_activity
string<date-time> | null

Last activity timestamp