Skip to content
Try Gitea Cloud ☁️ for 30 days → Accelerate your Development & Deploys!
This is the documentation of the next version, still under development. See the latest release.

List a repository's action tasks

GET
/repos/{owner}/{repo}/actions/tasks
curl --request GET \
--url https://gitea.com/api/v1/repos/example/example/actions/tasks \
--header 'Authorization: Basic <credentials>'
owner
required
string

Owner of the repo

repo
required
string

Name of the repo

page
integer

Page number of results to return (1-based)

limit
integer

Page size of results, default maximum page size is 50

TasksList

Media typeapplication/json

ActionTaskResponse returns a ActionTask

object
total_count

TotalCount is the total number of workflow runs

integer format: int64
workflow_runs

Entries contains the list of workflow runs

Array<object>

ActionTask represents a ActionTask

object
created_at
string format: date-time
display_title

DisplayTitle is the display title for the workflow run

string
event

Event is the type of event that triggered the workflow

string
head_branch

HeadBranch is the branch that triggered the workflow

string
head_sha

HeadSHA is the commit SHA that triggered the workflow

string
id

ID is the unique identifier for the action task

integer format: int64
name

Name is the name of the workflow

string
run_number

RunNumber is the sequential number of the workflow run

integer format: int64
run_started_at
string format: date-time
status

Status indicates the current status of the workflow run

string
updated_at
string format: date-time
url

URL is the API URL for this workflow run

string format: uri
workflow_id

WorkflowID is the identifier of the workflow

string
Examplegenerated
{
"total_count": 1,
"workflow_runs": [
{
"created_at": "2026-04-15T12:00:00Z",
"display_title": "example",
"event": "example",
"head_branch": "example",
"head_sha": "example",
"id": 1,
"name": "example",
"run_number": 1,
"run_started_at": "2026-04-15T12:00:00Z",
"status": "example",
"updated_at": "2026-04-15T12:00:00Z",
"url": "https://example.com",
"workflow_id": "example"
}
]
}

APIError is error format response

message
string
url
string

APIForbiddenError is a forbidden error response

message
string
url
string

APINotFound is a not found empty response

APIConflict is a conflict empty response

APIValidationError is error format response related to input validation

message
string
url
string