Skip to main content
GET
/
api
/
v1
/
git
/
branches
/
search
Search Branches
curl --request GET \
  --url https://app.all-hands.dev/api/v1/git/branches/search \
  --header 'X-Access-Token: <api-key>'
{
  "items": [
    {
      "name": "<string>",
      "commit_sha": "<string>",
      "protected": true,
      "last_push_date": "<string>"
    }
  ],
  "next_page_id": "<string>"
}

Documentation Index

Fetch the complete documentation index at: https://allhandsai-add-v1-api-reference.mintlify.app/llms.txt

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

Authorizations

X-Access-Token
string
header
required

Query Parameters

provider
enum<string>
required
Available options:
github,
gitlab,
bitbucket,
bitbucket_data_center,
forgejo,
azure_devops,
enterprise_sso
repository
string
required
query
string
required
page_id
string | null
limit
integer
default:30
Required range: x <= 100

Response

Successful Response

Paginated response for branch search results.

Attributes: items: List of branches in the current page. next_page_id: ID for the next page, or None if there are no more pages.

items
Branch · object[]
required
next_page_id
string | null