capabilities.work

Download logs for one attempt of a run

One step with GitHub Actions. We can help you get access.

Look something up

Download logs for one attempt of a run

with GitHub Actions · Continuous Integration Management
Works with AI assistants

Use GitHub Actions: its GitHub Actions Workflow Runs API lets you download logs for one attempt of a run in a single step (GET /repos/{owner}/{repo}/actions/runs/{run_id}/attempts/{attempt_number}/logs). GitHub Actions also has an MCP server, so an AI assistant like Claude or ChatGPT can do it for you. capabilities.work can help you get signed up and connected.

  • How do I download the logs from an earlier attempt of a run I have since re-run?
  • Can I get the log archive for just one retry attempt?
Say it to your AI assistant
  • Download the logs for attempt {attempt_number} of run {run_id} in {owner}/{repo}.
  • Fetch the log archive of retry attempt {attempt_number} of run {run_id}.
For your developer

GET /repos/{owner}/{repo}/actions/runs/{run_id}/attempts/{attempt_number}/logs in GitHub Actions Workflow Runs API. Full spec on APIs.io.