The id of the workflow run.
Delete a workflow run
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.
Path Parameters
Response
204
Response
Response
Path Parameters
List workflow run artifacts
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.
Query Parameters
Results per page (max 100)
Default:30
Page number of the results to fetch.
Default:1
Path Parameters
The id of the workflow run.
Response
200 application/json
Response
Response
An artifact
Show Child Parameters
Path Parameters
Query Parameters
Cancel a workflow run
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.
Path Parameters
The id of the workflow run.
Response
202 application/json
Response
Response
Path Parameters
List jobs for a workflow run
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.
Query 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
Path Parameters
The id of the workflow run.
Response
200 application/json
Response
Response
Information of a job execution in a workflow run
Show Child Parameters
Path Parameters
Query Parameters
Download workflow run logs
Gets a redirect URL to download an archive of log files for a workflow run. This link expires after 1 minute. Look for
Location:
in the response header to find the URL for the download. 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.
Path Parameters
The id of the workflow run.
Response
302
Response
Response