List a repository's action 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 of the repo
Name of the repo
Query Parameters
Section titled “Query Parameters”Page number of results to return (1-based)
Page size of results, default maximum page size is 50
Responses
Section titled “Responses”TasksList
ActionTaskResponse returns a ActionTask
object
TotalCount is the total number of workflow runs
Entries contains the list of workflow runs
ActionTask represents a ActionTask
object
DisplayTitle is the display title for the workflow run
Event is the type of event that triggered the workflow
HeadBranch is the branch that triggered the workflow
HeadSHA is the commit SHA that triggered the workflow
ID is the unique identifier for the action task
Name is the name of the workflow
RunNumber is the sequential number of the workflow run
Status indicates the current status of the workflow run
URL is the API URL for this workflow run
WorkflowID is the identifier of the workflow
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
Headers
Section titled “Headers”APIForbiddenError is a forbidden error response
Headers
Section titled “Headers”APINotFound is a not found empty response
APIConflict is a conflict empty response
APIValidationError is error format response related to input validation