Skip to main content
POST
/
api
/
spaces
/
{spaceId}
/
git
/
{itemId}
/
branch
cURL
curl --request POST \
  --url https://api.kazzle.app/api/spaces/{spaceId}/git/{itemId}/branch \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>",
  "checkout": true
}
'
{
  "output": "<string>"
}

Documentation Index

Fetch the complete documentation index at: https://docs.kazzle.com/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Better Auth JWT token

Path Parameters

spaceId
string
required
itemId
string
required

Body

application/json
name
string
required
checkout
boolean
default:true

Response

200 - application/json

Successful response

output
string
required