Skip to main content
GET
List branches

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

workspaceId
string<uuid>
required

Workspace ID

entityType
enum<string>
Available options:
agent,
workflow
entityId
string
status
enum<string>

Filter by branch status

Available options:
open,
merged,
discarded
limit
string
offset
string
sortBy
enum<string>
default:updatedAt
Available options:
createdAt,
updatedAt,
name,
status
sortOrder
enum<string>
default:desc
Available options:
asc,
desc
filters
string

Base64-encoded filter state for DataTable

Response

Branches with pagination and a status breakdown

success
enum<boolean>
required
Available options:
true
data
object
required