---
title: "Lists all jobs for a repository"
method: GET
path: "/repos/{owner}/{repo}/actions/jobs"
tags: ["repository"]
---

# Lists all jobs for a repository

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

## Request

- Base URL: `https://demo.gitea.com/api/v1`
- URL: `https://demo.gitea.com/api/v1/repos/{owner}/{repo}/actions/jobs`
- Auth: one of:
  - HTTP basic
  - API key in query parameter `token`
  - API key in query parameter `access_token`
  - API key in header `Authorization`
  - API key in query parameter `sudo`
  - API key in header `Sudo`
  - API key in header `X-GITEA-OTP`
- TypeScript: <https://skmtc.dev/gitea/apis/gitea-api/docs/repos/:owner/:repo/actions/jobs/get.ts> (a function with typed inputs; its response is checked against the schema)

## Path parameters

- `owner` string, required
- `repo` string, required

## Query parameters

- `status` string
- `page` integer
- `limit` integer
- `sort` string
- `order` string

## Response `200`

WorkflowJobsList

- ActionWorkflowJobsResponse: ActionWorkflowJobsResponse returns ActionWorkflowJobs
  - `jobs` ActionWorkflowJob[]
    - `completed_at` string, date-time
    - `conclusion` string
    - `created_at` string, date-time
    - `head_branch` string
    - `head_sha` string
    - `html_url` string
    - `id` integer
    - `labels` string[]
    - `name` string
    - `run_attempt` integer
    - `run_id` integer
    - `run_url` string
    - `runner_id` integer
    - `runner_name` string
    - `started_at` string, date-time
    - `status` string
    - `steps` ActionWorkflowStep[]
      - `completed_at` string, date-time
      - `conclusion` string
      - `name` string
      - `number` integer
      - `started_at` string, date-time
      - `status` string
    - `url` string
  - `total_count` integer

## Other responses

- `default`: APIError is error format response

## Changes

- **2026-10-28** `7ef50c4c527f`: 3 info
  - removed the non-success response with the status `400`
  - removed the non-success response with the status `404`
  - removed the non-success response with the status `422`
- **2026-07-13** `4df6be504c96`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/gitea/apis/gitea-api/changes/repos/:owner/:repo/actions/jobs/get.md)

---

[API](https://skmtc.dev/gitea/apis/gitea-api.md) - [All operations](https://skmtc.dev/gitea/apis/gitea-api/llms.txt) - [OpenAPI document](https://skmtc.dev/gitea/apis/gitea-api/revisions/b8e58c32921d?raw)
