If true
pull requests are omitted from the response (empty array).
Default:false
Gets a specific workflow run. Anyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the repo
scope. GitHub Apps must have the actions:read
permission to use this endpoint.
If true
pull requests are omitted from the response (empty array).
Default:false
The id of the workflow run.
Response
An invocation of a workflow
The ID of the workflow run.
Example:5
The name of the workflow run.
Example:Build
Example:MDEwOkNoZWNrU3VpdGU1
The ID of the associated check suite.
Example:42
The node ID of the associated check suite.
Example:MDEwOkNoZWNrU3VpdGU0Mg==
Example:master
The SHA of the head commit that points to the version of the workflow being run.
Example:009b8a3a9ccbb128af87f9b1c0f4c62e8a304f6d
The auto incrementing run number for the workflow run.
Example:106
Attempt number of the run, 1 for first attempt and higher if the workflow was re-run.
Example:1
Example:push
Example:completed
Example:neutral
The ID of the parent workflow.
Example:5
The URL to the workflow run.
Example:https://api.github.com/repos/github/hello-world/actions/runs/5
Example:https://github.com/github/hello-world/suites/4
The start time of the latest run. Resets on re-run.
The URL to the jobs for the workflow run.
Example:https://api.github.com/repos/github/hello-world/actions/runs/5/jobs
The URL to download the logs for the workflow run.
Example:https://api.github.com/repos/github/hello-world/actions/runs/5/logs
The URL to the associated check suite.
Example:https://api.github.com/repos/github/hello-world/check-suites/12
The URL to the artifacts for the workflow run.
Example:https://api.github.com/repos/github/hello-world/actions/runs/5/rerun/artifacts
The URL to cancel the workflow run.
Example:https://api.github.com/repos/github/hello-world/actions/runs/5/cancel
The URL to rerun the workflow run.
Example:https://api.github.com/repos/github/hello-world/actions/runs/5/rerun
The URL to the previous attempted run of this workflow, if one exists.
Example:https://api.github.com/repos/github/hello-world/actions/runs/5/attempts/3
The URL to the workflow.
Example:https://api.github.com/repos/github/hello-world/actions/workflows/main.yaml
Simple Commit
Minimal Repository
Minimal Repository
Example:5
Delete a specific workflow run. Anyone with write access to the repository can use this endpoint. If the repository is
private you must use an access token with the repo
scope. GitHub Apps must have the actions:write
permission to use
this endpoint.
The id of the workflow run.
Response
Lists artifacts for a workflow run. Anyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the repo
scope. GitHub Apps must have the actions:read
permission to use this endpoint.
Results per page (max 100)
Default:30
Page number of the results to fetch.
Default:1
The id of the workflow run.
Response
An artifact
Cancels a workflow run using its id
. You must authenticate using an access token with the repo
scope to use this endpoint. GitHub Apps must have the actions:write
permission to use this endpoint.
The id of the workflow run.
Response
Lists jobs for a workflow run. Anyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the repo
scope. GitHub Apps must have the actions:read
permission to use this endpoint. You can use parameters to narrow the list of results. For more information about using parameters, see Parameters.
Filters jobs by their completed_at
timestamp. Can be one of:
* latest
: Returns jobs from the most recent execution of the workflow run.
* all
: Returns all jobs for a workflow run, including from old executions of the workflow run.
Allowed values:latestall
Default:latest
Results per page (max 100)
Default:30
Page number of the results to fetch.
Default:1
The id of the workflow run.
Response
Information of a job execution in a workflow run