List a repository's action tasks
GET
/repos/{owner}/{repo}/actions/tasks
const url = 'https://gitea.com/api/v1/repos/example/example/actions/tasks';const options = {method: 'GET', headers: {Authorization: 'Basic <credentials>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://gitea.com/api/v1/repos/example/example/actions/tasks \ --header 'Authorization: Basic <credentials>'Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”owner
required
string
Owner of the repo
repo
required
string
Name of the repo
Query Parameters
Section titled “Query Parameters”page
integer
Page number of results to return (1-based)
limit
integer
Page size of results, default maximum page size is 50
Responses
Section titled “Responses”TasksList
Media typeapplication/json
ActionTaskResponse returns a ActionTask
object
total_count
integer format: int64
workflow_runs
Array<object>
ActionTask represents a ActionTask
object
created_at
string format: date-time
display_title
string
event
string
head_branch
string
head_sha
string
id
integer format: int64
name
string
run_number
integer format: int64
run_started_at
string format: date-time
status
string
updated_at
string format: date-time
url
string
workflow_id
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": "example", "workflow_id": "example" } ]}APIError is error format response
Media typeapplication/json
Headers
Section titled “Headers”message
string
url
string
APIForbiddenError is a forbidden error response
Media typeapplication/json
Headers
Section titled “Headers”message
string
url
string
APINotFound is a not found empty response
Media typeapplication/json
APIConflict is a conflict empty response
Media typeapplication/json
APIValidationError is error format response related to input validation
Media typeapplication/json
Headers
Section titled “Headers”message
string
url
string