---
title: "Github Branches"
method: GET
path: "/projects/{project_id}/github/branches"
---

# Github Branches

`GET /projects/{project_id}/github/branches`

## Request

- Base URL: `https://usemeridian.us` (the document declares no server; this is the origin it was published from)
- URL: `https://usemeridian.us/projects/{project_id}/github/branches`
- Auth: none declared

v2.8 — list the branches of a repo so the Branch field can be a dropdown.

Query: ``?repo=owner/name`` (defaults to the tenant's connected repo).
Falls back to a static list of common branches if GitHub can't be reached,
so the dropdown always has sensible options.

## Path parameters

- `project_id` string, required

## Response `200`

Successful Response

- object

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/usemeridian/apis/meridian.md) · [All operations](https://skmtc.dev/usemeridian/apis/meridian/llms.txt) · [OpenAPI document](https://skmtc.dev/usemeridian/apis/meridian/revisions/f37a894bd374?raw)
