---
title: "Branches already linked to a trail in this repository"
method: GET
path: "/api/v1/trails/{forge}/{owner}/{repo}/linked-branches"
tags: ["Trails"]
---

# Branches already linked to a trail in this repository

`GET /api/v1/trails/{forge}/{owner}/{repo}/linked-branches`

## Path parameters

- `forge` string, required
- `owner` string, required
- `repo` string, required

## Response `200`

Linked branch names

- object
  - `branches` string[], required

## Other responses

- `401` — Not authenticated
- `403` — Forbidden
- `404` — Repository not found

---

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