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

# Re-run a job from a workflow run

`POST /repos/{owner}/{repo}/actions/jobs/{job_id}/rerun`

## Request

- Base URL: `https://api.github.com`
- URL: `https://api.github.com/repos/{owner}/{repo}/actions/jobs/{job_id}/rerun`
- Auth: none declared

Re-run a job and its dependent jobs in a 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
- `job_id` integer, required

## Request body

- object, nullable
  - `enable_debug_logging` boolean: Whether to enable debug logging for the re-run.
  - `enable_debugger` boolean: Whether to enable the debugger for the re-run of this job.

## Response `201`

Response

- EmptyObject: An object without any properties.

## Other responses

- `403`: Forbidden

## Changes

> 85 revisions in range; 1 not diffed.

- **2026-08-20** (2022-11-28) `cb56473559e7`: 1 breaking
  - for the `path` request parameter `job_id`, the format changed from no format to `int64`
- **2026-05-05** (2022-11-28) `e931c3581f42`: 1 info
  - added the new optional request property `enable_debugger`

[Operation history](https://skmtc.dev/github/apis/rest/changes/repos/:owner/:repo/actions/jobs/:job_id/rerun/post.md)

---

[API](https://skmtc.dev/github/apis/rest.md) · [All operations](https://skmtc.dev/github/apis/rest/llms.txt) · [OpenAPI document](https://skmtc.dev/github/apis/rest/revisions/309e30296b21?raw)
