---
title: "Get Branches"
method: GET
path: "/api/create-pr/branches"
tags: ["create-pr"]
---

# Get Branches

`GET /api/create-pr/branches`

## Request

- Base URL: `https://api.deeptrace.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.deeptrace.com/api/create-pr/branches`
- Auth: none declared

Fetch available branches for a repo to populate branch selector.

## Query parameters

- `repo` string, required: Full repo name (e.g., 'owner/repo')

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

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