Download job logs for a workflow run

Gets a redirect URL to download a plain text file of logs for a workflow job. 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.


string The token will be passed in the authorization header.



integer job_id parameter


GET https://api.github.com/repos///actions/jobs//logs
authorization: bearer undefined
accept: application/vnd.github.v3+json
user-agent: octokit.rest

No response available

See documentation on GitHub developer guides