Download a ZIP of plaintext logs for every job in an action run
GET
/repos/{owner}/{repo}/actions/runs/{run_id}/logs
Authorizations
Section titled “ Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “ Path Parameters ” owner
required
string
Owner of the repo
repo
required
string
Name of the repo
run_id
required
integer format: int64
ID of the workflow run. The ZIP contains the latest attempt of each job in the run, with each entry named {job-name}-{job-id}-attempt-{N}.log (the job ID prevents collisions when two jobs share a name; the attempt number records which run the log came from). The run itself has no attempt number — jobs are re-run independently, so use the per-job logs endpoint with ?attempt to fetch a specific historical attempt of one job.
Responses
Section titled “ Responses ”ZIP archive of per-job log files
Media type application/zip
string format: binary
APIUnauthorizedError is a unauthorized error response
Media type application/zip
object
message
string
url
string
APIForbiddenError is a forbidden error response
Media type application/zip
object
message
string
url
string
APINotFound is a not found error response
Media type application/zip
object
errors
Array<string>
message
string
url
string