Get an artifact
Gets a specific artifact 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/artifacts/{artifact_id}- Source
github-v3-rest.json- Revision
f5f067c1e6f6- Active snapshot
85e53e3d0d65
Request
Path Parameters
- owner stringrequired
- repo stringrequired
- artifact_id integerrequired
artifact_id parameter
Responses
Response
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