Skip to content

Re-run a workflow

POST
/repos/{owner}/{repo}/actions/runs/{run_id}/rerun

Re-runs your workflow run using its id.

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

API method documentation

owner
required
string

The account owner of the repository. The name is not case sensitive.

repo
required
string

The name of the repository without the .git extension. The name is not case sensitive.

run_id
required
integer

The unique identifier of the workflow run.

Media type application/json
object
enable_debug_logging

Whether to enable debug logging for the re-run.

boolean
Examples
Example default
null

Response

Media type application/json
Empty Object

An object without any properties.

object
Examples
Example default
null