---
title: "List PRs for a watched branch"
method: GET
path: "/api/v1alpha/watched_branches/{branch}/prs"
tags: ["PRs"]
---

# List PRs for a watched branch

`GET /api/v1alpha/watched_branches/{branch}/prs`

Returns all active PRs for the given branch with build and review state.

## Path parameters

- `branch` string, required

## Response `200`

PR list retrieved successfully

- PRConfig[]
  - `number` integer
  - `title` string
  - `author` string
  - `assignees` string[]
  - `reviewers` string[]
  - `source_branch_name` string
  - `build_state` string, nullable
  - `review_state` string, nullable
  - `labels` string[]
  - `out_of_date` boolean
  - `gh_statuses` object
  - `batch_id` integer, nullable

## Other responses

- `401` — Unauthorized
- `403` — Forbidden
- `404` — Branch not found

---

[API](https://skmtc.net/hail-is/apis/hail-ci-service.md) · [All operations](https://skmtc.net/hail-is/apis/hail-ci-service/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/hail-is/hail-ci-service/revisions/37d6dddb7b5a/schema)
