Get one attempt of a re-run workflow
One step with GitHub Actions. We can help you get access.
Look something up
Get one attempt of a re-run workflow
with GitHub Actions · Continuous Integration Management
Works with AI assistants
Use GitHub Actions: its GitHub Actions Workflow Runs API lets you get one attempt of a re-run workflow in a single step (GET /repos/{owner}/{repo}/actions/runs/{run_id}/attempts/{attempt_number}). 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.
- What was the outcome of the first attempt before I re-ran a workflow?
- Can I look at a specific retry attempt of a run?
Say it to your AI assistant
- Get attempt {attempt_number} of run {run_id} in {owner}/{repo}.
- Show the conclusion of attempt {attempt_number} of workflow run {run_id}.
For your developer
GET /repos/{owner}/{repo}/actions/runs/{run_id}/attempts/{attempt_number} in GitHub Actions Workflow Runs API. Full spec on APIs.io.