latestOpenAPI 3.0.32026-08-227451,2751.8 MB
d0fc0114da66
Branch
Query Branches
Used to query branches
get/branch
Query parameters
workspace_idstring required
Restricts the query to branches associated with the given workspace ID
statusstring
Restricts the query to branches with the given status
limitinteger
The limit to use for pagination
cursorstring
The cursor to use for pagination
namestring
Restricts the query to the branch with this exact name. Returns 0 or 1 branch and takes precedence over status, limit, and cursor (those are ignored when name is set). Prefer this over the path-based get-branch-by-name route for names that may contain a slash, which does not round-trip as a path segment.
Response
Results of the query