---
title: "List jobs for a workflow run"
method: GET
path: "/repos/{owner}/{repo}/actions/runs/{run_id}/jobs"
tags: ["actions"]
---

# List jobs for a workflow run

`GET /repos/{owner}/{repo}/actions/runs/{run_id}/jobs`

Lists jobs for a workflow run. You can use parameters to narrow the list of results. For more information
about using parameters, see [Parameters](https://docs.github.com/rest/guides/getting-started-with-the-rest-api#parameters).

Anyone with read access to the repository can use this endpoint.

OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with a private repository.

## Path parameters

- `owner` string, required
- `repo` string, required
- `run_id` integer, required

## Query parameters

- `filter` 'latest' | 'all'
- `per_page` integer
- `page` integer

## Response `200`

Response

- object
  - `total_count` integer, required
  - `jobs` Job[], required
    - `id` integer, required — The id of the job.
    - `run_id` integer, required — The id of the associated workflow run.
    - `run_url` string, required
    - `run_attempt` integer — Attempt number of the associated workflow run, 1 for first attempt and higher if the workflow was re-run.
    - `node_id` string, required
    - `head_sha` string, required — The SHA of the commit that is being run.
    - `url` string, required
    - `html_url` string, nullable, required
    - `status` 'queued' | 'in_progress' | 'completed' | 'waiting' | 'requested' | 'pending', required — The phase of the lifecycle that the job is currently in.
    - `conclusion` 'success' | 'failure' | 'neutral' | 'cancelled' | 'skipped' | 'timed_out' | 'action_required', nullable, required — The outcome of the job.
    - `created_at` string, date-time, required — The time that the job created, in ISO 8601 format.
    - `started_at` string, date-time, required — The time that the job started, in ISO 8601 format.
    - `completed_at` string, date-time, nullable, required — The time that the job finished, in ISO 8601 format.
    - `name` string, required — The name of the job.
    - `steps` object[] — Steps in this job.
      - `status` 'queued' | 'in_progress' | 'completed', required — The phase of the lifecycle that the job is currently in.
      - `conclusion` string, nullable, required — The outcome of the job.
      - `name` string, required — The name of the job.
      - `number` integer, required
      - `started_at` string, date-time, nullable — The time that the step started, in ISO 8601 format.
      - `completed_at` string, date-time, nullable — The time that the job finished, in ISO 8601 format.
    - `check_run_url` string, required
    - `labels` string[], required — Labels for the workflow job. Specified by the "runs_on" attribute in the action's workflow file.
    - `runner_id` integer, nullable, required — 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_name` string, nullable, required — 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_id` integer, nullable, required — 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_name` string, nullable, required — 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_name` string, nullable, required — The name of the workflow.
    - `head_branch` string, nullable, required — The name of the current branch.

---

[API](https://skmtc.net/github/apis/api-github-com.md) · [All operations](https://skmtc.net/github/apis/api-github-com/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/github/api-github-com/revisions/a367f7028301/schema)
