---
title: "List repository branches"
method: GET
path: "/api/v1/cache/r/{repoId}/branches"
tags: ["Commits"]
---

# List repository branches

`GET /api/v1/cache/r/{repoId}/branches`

## Request

- Base URL: `https://entire.io` (the document declares no server; this is the origin it was published from)
- URL: `https://entire.io/api/v1/cache/r/{repoId}/branches`
- Auth: none declared

## Path parameters

- `repoId` string, required

## Response `200`

Repository branches

- object
  - `branches` string[], required
  - `default_branch` string, required
  - `stored_default_branch` string, required
  - `from_cache` boolean, required

## Other responses

- `404`: Repository not found
- `429`: Rate limit exceeded
- `503`: Repository service unavailable

## Changes

- **2026-10-20** `aeb83a0fe3e5`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/entire/apis/entire-api/changes/api/v1/cache/r/:repoId/branches/get.md)

---

[API](https://skmtc.dev/entire/apis/entire-api.md) - [All operations](https://skmtc.dev/entire/apis/entire-api/llms.txt) - [OpenAPI document](https://skmtc.dev/entire/apis/entire-api/revisions/a24dfcc828d7?raw)
