---
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`

The requested BranchInfo object in a single-item list.

- CountedBranchInfo
  - `count` integer, required — number of items present in the items array
  - `items` BranchInfo[], required — List of items in this response.
    - `id` string, required — Unique identifier.

## Other responses

- `401` — Authentication failed (missing or invalid credentials or Bearer token).
- `500` — Unexpected server error.

## Changes

- **2026-07-21** `e9bef570d106` — 6 info
  - added the media type `application/json` for the response with the status `401`
  - added the optional property `details` to the response with the `500` status
  - the response property `count` became required for the status `200`
  - the response property `items` became required for the status `200`
  - …2 more
- **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/56cb25079271/schema)
