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.
/repos/{owner}/{repo}/actions/runs/{run_id}/artifacts- Source
github-v3-rest.json- Revision
f5f067c1e6f6- Active snapshot
85e53e3d0d65
Request
Path Parameters
- owner stringrequired
- repo stringrequired
- run_id integerrequired
The id of the workflow run.
Query Parameters
- per_page integeroptional
Results per page (max 100)
- page integeroptional
Page number of the results to fetch.
Responses
Response
Headers
<https://api.github.com/resource?page=2>; rel="next", <https://api.github.com/resource?page=5>; rel="last" artifacts array[Artifact object]required
items Artifact objectAn artifact
An artifact
Example: https://api.github.com/repos/github/hello-world/actions/artifacts/5/zip
Whether or not the artifact has expired.
Example: 5
The name of the artifact.
Example: AdventureWorks.Framework
Example: MDEwOkNoZWNrU3VpdGU1
The size in bytes of the artifact.
Example: 12345
Example: https://api.github.com/repos/github/hello-world/actions/artifacts/5