Skip to content

POST /v1/sessions/{session_id}/git/branches

POST
/v1/sessions/{session_id}/git/branches
curl --request POST \
--url https://app.everruns.com/api/v1/sessions/example/git/branches \
--header 'Content-Type: application/json' \
--data '{ "commit_oid": "a1b2c3d4e5f60718293a4b5c6d7e8f9012345678", "name": "feature/refund-flow" }'
session_id
required
string
Media type application/json

Request to create a branch

object
commit_oid
required

Commit OID (hex) to point to

string
Example
a1b2c3d4e5f60718293a4b5c6d7e8f9012345678
name
required

Branch name (e.g., “feature-xyz”)

string
Example
feature/refund-flow

Branch created

Media type application/json

Generic success response

object
ok
required
boolean
Example generated
{
"ok": true
}

Invalid request