---
title: "List all branches in the Git repository used for Cribl configuration"
method: GET
path: "/version/branch"
tags: ["versioning"]
---

# List all branches in the Git repository used for Cribl configuration

`GET /version/branch`

Get a list of all branches in the Git repository used for Cribl configuration.

## Response `200`

a list of BranchInfo objects

- CountedBranchInfo
  - `count` integer — number of items present in the items array
  - `items` BranchInfo[]
    - `id` string, required

## Other responses

- `401` — Unauthorized
- `500` — Unexpected error

## Changes

- **2025-09-03** `9c006bed7bb7` — 1 info
  - added the required property `items/items/id` to the response with the `200` status

[Change history](https://skmtc.dev/criblio/apis/cribl-api-reference/changes/version/branch/get.md)

---

[API](https://skmtc.dev/criblio/apis/cribl-api-reference.md) · [All operations](https://skmtc.dev/criblio/apis/cribl-api-reference/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/criblio/cribl-api-reference/revisions/11df16b26c1d/schema)
