GET
/repos/{owner}/{repo}/actions/jobs/{job_id}Get a job for a workflow run
Gets a specific job in a workflow run.
Anyone with read access to the repository can use this endpoint.
If the repository is private, OAuth tokens and personal access tokens (classic) need the repo scope to use this endpoint.
- RetriesRetries up to 2×, 500ms backoff, 30s timeout.
ownerstringrequired
The account owner of the repository. The name is not case sensitive.
repostringrequired
The name of the repository without the `.git` extension. The name is not case sensitive.
job_idintegerrequired
The unique identifier of the job.
200Response
idintegerrequired
The id of the job.
run_idintegerrequired
The id of the associated workflow run.
run_urlstringrequired
run_attemptintegeroptional
Attempt number of the associated workflow run, 1 for first attempt and higher if the workflow was re-run.
node_idstringrequired
head_shastringrequired
The SHA of the commit that is being run.
urlstringrequired
html_urlstringrequired
statusstringrequired
The phase of the lifecycle that the job is currently in.
conclusionstringrequired
The outcome of the job.
created_atstringrequired
The time that the job created, in ISO 8601 format.
started_atstringrequired
The time that the job started, in ISO 8601 format.
completed_atstringrequired
The time that the job finished, in ISO 8601 format.
namestringrequired
The name of the job.
stepsarray<object>optional
Steps in this job.
check_run_urlstringrequired
labelsarray<string>required
Labels for the workflow job. Specified by the "runs_on" attribute in the action's workflow file.
runner_idintegerrequired
The ID of the runner to which this job has been assigned. (If a runner hasn't yet been assigned, this will be null.)
runner_namestringrequired
The name of the runner to which this job has been assigned. (If a runner hasn't yet been assigned, this will be null.)
runner_group_idintegerrequired
The ID of the runner group to which this job has been assigned. (If a runner hasn't yet been assigned, this will be null.)
runner_group_namestringrequired
The name of the runner group to which this job has been assigned. (If a runner hasn't yet been assigned, this will be null.)
workflow_namestringrequired
The name of the workflow.
head_branchstringrequired
The name of the current branch.