GET
/
api
/
user
/
repository
/
branches
Get Repository Branches
curl --request GET \
  --url https://app.all-hands.dev/api/user/repository/branches \
  --header 'X-Session-API-Key: <api-key>'
[
  {
    "name": "<string>",
    "commit_sha": "<string>",
    "protected": true,
    "last_push_date": "<string>"
  }
]

Authorizations

X-Session-API-Key
string
header
required

Query Parameters

repository
string
required

Response

200
application/json

Successful Response

The response is of type Branch · object[].