Repositories

List repository branches

Returns up to 100 branches. Use q to search by prefix.

get/v1/repositories/{id}/branches

Request

  • Base URL
    https://api.replicas.dev
  • URL
    https://api.replicas.dev/v1/repositories/{id}/branches
  • Auth
    HTTP bearer

Path parameters

idstring uuid required

Connected repository ID

Query parameters

qstring

Branch name prefix

Headers

X-Replicas-Api-Version'2026-10-07'

API version. 2026-10-07 returns snake_case responses. See versioning.

Response

Repository branches

branchesstring[] required

Up to 100 unique branch names matching the request.

Changes

No recorded changes to this operation across all 1 revision of this API.