Skip to main content
GET
/
workspaces
/
{workspace_id}
/
workflows
/
sync
/
branches
Error
A valid request URL is required to generate request examples
[
  {
    "name": "<string>",
    "is_default": false
  }
]
{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}

Authorizations

fastapiusersauth
string
cookie
required

Path Parameters

workspace_id
string<uuid>
required

Query Parameters

limit
integer
default:10

Maximum number of branches to return

Required range: 1 <= x <= 200

Response

Successful Response

name
string
required

Branch name

Required string length: 1 - 255
is_default
boolean
default:false

Whether this branch is the repository default branch