gh api repos/owner/repo/actions/runs/123

Category: GitHub CLI

gh api repos/owner/repo/actions/runs/123

Fetch a workflow run record via API

Returns the full JSON record of run 123: status, conclusion, head SHA, and event. Scripts use this to gate deploys on CI results. It is the REST equivalent of gh run view minus the pretty formatting.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.