---
title: "Reruns all failed jobs in a workflow run"
method: POST
path: "/repos/{owner}/{repo}/actions/runs/{run}/rerun-failed-jobs"
tags: ["repository"]
---

# Reruns all failed jobs in a workflow run

`POST /repos/{owner}/{repo}/actions/runs/{run}/rerun-failed-jobs`

## Path parameters

- `owner` string, required
- `repo` string, required
- `run` integer, required

## Response `201`

APIEmpty is an empty response

## Other responses

- `400` — APIError is error format response
- `403` — APIForbiddenError is a forbidden error response
- `404` — APINotFound is a not found empty response
- `409` — APIError is error format response
- `422` — APIValidationError is error format response related to input validation

---

[API](https://skmtc.net/gitea/apis/gitea-api.md) · [All operations](https://skmtc.net/gitea/apis/gitea-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/gitea/gitea-api/revisions/350de506cefa/schema)
