---
title: "Re-run failed jobs from a workflow run"
method: POST
path: "/repos/{owner}/{repo}/actions/runs/{run_id}/rerun-failed-jobs"
tags: ["actions"]
---

# Re-run failed jobs from a workflow run

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

Re-run all of the failed jobs and their dependent jobs in a workflow run using the `id` of the workflow run.

OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint.

## Path parameters

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

## Request body

- object, nullable
  - `enable_debug_logging` boolean — Whether to enable debug logging for the re-run.

## Response `201`

Response

- EmptyObject — An object without any properties.

---

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