Results per page (max 100)
Default:30
Page number of the results to fetch.
Default:1
Lists all artifacts for a repository. 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
Response
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.
artifact_id parameter
Response
An artifact
Example:5
Example:MDEwOkNoZWNrU3VpdGU1
The name of the artifact.
Example:AdventureWorks.Framework
The size in bytes of the artifact.
Example:12345
Example:https://api.github.com/repos/github/hello-world/actions/artifacts/5
Example:https://api.github.com/repos/github/hello-world/actions/artifacts/5/zip
Whether or not the artifact has expired.
Deletes an artifact for a workflow run. 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.
artifact_id parameter
Response
Gets a redirect URL to download an archive for a repository. This URL expires after 1 minute. Look for Location:
in
the response header to find the URL for the download. The :archive_format
must be zip
. 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.
artifact_id parameter
Response
Gets a specific job in 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.
job_id parameter
Response
Information of a job execution in a workflow run
The id of the job.
Example:21
The id of the associated workflow run.
Example:5
Example:https://api.github.com/repos/github/hello-world/actions/runs/5
Attempt number of the associated workflow run, 1 for first attempt and higher if the workflow was re-run.
Example:1
Example:MDg6Q2hlY2tSdW40
The SHA of the commit that is being run.
Example:009b8a3a9ccbb128af87f9b1c0f4c62e8a304f6d
Example:https://api.github.com/repos/github/hello-world/actions/jobs/21
Example:https://github.com/github/hello-world/runs/4
The phase of the lifecycle that the job is currently in.
Allowed values:queuedin_progresscompleted
Example:queued
The outcome of the job.
Example:success
The time that the job started, in ISO 8601 format.
Example:2019-08-08T08:00:00-07:00
The time that the job finished, in ISO 8601 format.
Example:2019-08-08T08:00:00-07:00
The name of the job.
Example:test-coverage
Steps in this job.
Example:https://api.github.com/repos/github/hello-world/check-runs/4