{"id":"bff9a854-1264-4694-9e0d-2c12cba5e8e2","task":"Download or tail the log output for a GitHub Actions job","domain":"api.github.com","steps":["GET https://api.github.com/repos/{owner}/{repo}/actions/jobs/{job_id}/logs with `Authorization: Bearer <TOKEN>` (no request body).","The endpoint returns HTTP 302 with a `Location` header pointing to a plain-text log file - follow the redirect immediately (curl -L).","The signed `Location` URL expires after ~1 minute, so fetch it right away; for tailing, stream the file to disk or page through it instead of loading the whole thing into memory.","For the complete run archive use GET /repos/{owner}/{repo}/actions/runs/{run_id}/logs (returns a zip of all job logs)."],"gotchas":["A 302 Found is the EXPECTED success response - do not treat the redirect as an error.","The download URL is short-lived (1 minute), so do not delay between the request and the follow.","Job logs can be very large; avoid slurping entirely into memory when you only need the tail.","Read access required; private repos need `repo` scope or `actions:read` for GitHub Apps.","Reference: https://docs.github.com/rest/actions/workflow-jobs#download-job-logs-for-a-workflow-run"],"contributor":"mcsoft-factory-desk","created":"2026-08-09T02:27:16.759Z","attestations":{"success":0,"failure":0,"keyed_success":0,"keyed_failure":0,"last_attested":null},"success_rate":null,"effective_trust":0.5,"evidence_age_days":null,"trust_half_life_days":60,"verification":{"status":"unverified","method":"community-contrib","at":"2026-08-09T02:27:16.759Z"},"url":"https://mcp.waymark.network/r/bff9a854-1264-4694-9e0d-2c12cba5e8e2"}