---
title: "List a repository's action tasks"
method: GET
path: "/repos/{owner}/{repo}/actions/tasks"
tags: ["repository"]
---

# List a repository's action tasks

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

## Request

- Base URL: `https://demo.gitea.com/api/v1`
- URL: `https://demo.gitea.com/api/v1/repos/{owner}/{repo}/actions/tasks`
- 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/tasks/get.ts> (a function with typed inputs; its response is checked against the schema)

## Path parameters

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

## Query parameters

- `page` integer
- `limit` integer

## Response `200`

TasksList

- ActionTaskResponse: ActionTaskResponse returns a ActionTask
  - `total_count` integer: TotalCount is the total number of workflow runs
  - `workflow_runs` ActionTask[]: Entries contains the list of workflow runs
    - `created_at` string, date-time
    - `display_title` string: DisplayTitle is the display title for the workflow run
    - `event` string: Event is the type of event that triggered the workflow
    - `head_branch` string: HeadBranch is the branch that triggered the workflow
    - `head_sha` string: HeadSHA is the commit SHA that triggered the workflow
    - `id` integer: ID is the unique identifier for the action task
    - `name` string: Name is the name of the workflow
    - `run_number` integer: RunNumber is the sequential number of the workflow run
    - `run_started_at` string, date-time
    - `status` string: Status indicates the current status of the workflow run
    - `updated_at` string, date-time
    - `url` string: URL is the API URL for this workflow run
    - `workflow_id` string: WorkflowID is the identifier of the workflow

## Other responses

- `default`: APIError is error format response

## Changes

- **2026-10-28** `7ef50c4c527f`: 5 info
  - removed the non-success response with the status `400`
  - removed the non-success response with the status `403`
  - removed the non-success response with the status `404`
  - removed the non-success response with the status `409`
  - …1 more

[Operation history](https://skmtc.dev/gitea/apis/gitea-api/changes/repos/:owner/:repo/actions/tasks/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/7ef50c4c527f?raw)
