Gets a redirect URL to download an archive of log files for a specific workflow run attempt. 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.
Request Request Example
Shell
JavaScript
Java
Swift
curl--location--request GET 'https://api.github.com/repos///actions/runs//attempts//logs'
Response Response Example
{}
Request
Path Params
owner
stringÂ
required
The account owner of the repository. The name is not case sensitive.
repo
stringÂ
required
The name of the repository. The name is not case sensitive.