---
title: "List branches with job counts"
method: GET
path: "/api/branches"
tags: ["repos"]
---

# List branches with job counts

`GET /api/branches`

## Query parameters

- `repo` string[], nullable — Filter to branches in these repo paths

## Response `200`

OK

- ListBranchesOutputBody
  - `$schema` string, uri — A URL to the JSON Schema for this object.
  - `branches` BranchWithCount[], nullable, required
    - `count` integer, required
    - `name` string, required
  - `nulls_remaining` integer, required
  - `total_count` integer, required

## Other responses

- `default` — Error

---

[API](https://skmtc.dev/kenn-io/apis/roborev.md) · [All operations](https://skmtc.dev/kenn-io/apis/roborev/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/kenn-io/roborev/revisions/0dfdca81e88d/schema)
