Skip to main content
GET
List repository branches
Required permissions: githubInstallation.read. Personal keys are capped by their owner’s current team role. See request conventions and automation workflows. MCP clients use the task-oriented tool catalogue.

Authorizations

Authorization
string
header
required

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

Query Parameters

owner
string
required
Required string length: 1 - 255
repository
string
required
Required string length: 1 - 255

Response

Repository branch names available to the workspace GitHub installation.

branches
string[]
required
localization
object
required
Last modified on September 21, 2026