---
title: "Retry PR build"
method: POST
path: "/watched_branches/{watched_branch_index}/pr/{pr_number}/retry"
tags: ["Deployments"]
---

# Retry PR build

`POST /watched_branches/{watched_branch_index}/pr/{pr_number}/retry`

## Request

- Base URL: `{{ base_url }}`
- URL: `{{ base_url }}/watched_branches/{watched_branch_index}/pr/{pr_number}/retry`
- Auth: none declared

Request a retry of the CI build for this PR

## Path parameters

- `watched_branch_index` integer, required
- `pr_number` integer, required

## Response `200`

Retry requested successfully

## Other responses

- `401`: Unauthorized
- `403`: Forbidden - requires developer privileges

## Changes

- **2026-07-30** `37d6dddb7b5a`: 1 info
  - the endpoint scheme security `developerAuth` was removed from the API
- **2025-11-20** `51788a4b337b`: 1 info
  - endpoint added
- **2025-04-16** `b936fd02a792`: 1 breaking
  - api path removed without deprecation

[Operation history](https://skmtc.dev/hail-is/apis/hail-ci-service/changes/watched_branches/:watched_branch_index/pr/:pr_number/retry/post.md)

---

[API](https://skmtc.dev/hail-is/apis/hail-ci-service.md) - [All operations](https://skmtc.dev/hail-is/apis/hail-ci-service/llms.txt) - [OpenAPI document](https://skmtc.dev/hail-is/apis/hail-ci-service/revisions/a60fc5e80878?raw)
