Skip to content
Try Gitea Cloud ☁️ for 30 days → Accelerate your Development & Deploys!

Lists all jobs for a repository

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

Owner of the repo

repo
required
string

Name of the repository

status
string

Workflow status (pending, queued, in_progress, failure, success, skipped)

page
integer

Page number of results to return (1-based)

limit
integer

Page size of results

sort
string

Sort jobs by attribute. Supported values are “id”. Default is “id”

order
string

Sort order, either “asc” (ascending) or “desc” (descending). Default is “asc”

WorkflowJobsList

Media typeapplication/json

ActionWorkflowJobsResponse returns ActionWorkflowJobs

object
jobs
Array<object>

ActionWorkflowJob represents a WorkflowJob

object
completed_at
string format: date-time
conclusion
string
created_at
string format: date-time
head_branch
string
head_sha
string
html_url
string format: uri
id
integer format: int64
labels
Array<string>
name
string
run_attempt
integer format: int64
run_id
integer format: int64
run_url
string format: uri
runner_id
integer format: int64
runner_name
string
started_at
string format: date-time
status
string
steps
Array<object>

ActionWorkflowStep represents a step of a WorkflowJob

object
completed_at
string format: date-time
conclusion
string
name
string
number
integer format: int64
started_at
string format: date-time
status
string
url
string format: uri
total_count
integer format: int64
Examplegenerated
{
"jobs": [
{
"completed_at": "2026-04-15T12:00:00Z",
"conclusion": "example",
"created_at": "2026-04-15T12:00:00Z",
"head_branch": "example",
"head_sha": "example",
"html_url": "https://example.com",
"id": 1,
"labels": [
"example"
],
"name": "example",
"run_attempt": 1,
"run_id": 1,
"run_url": "https://example.com",
"runner_id": 1,
"runner_name": "example",
"started_at": "2026-04-15T12:00:00Z",
"status": "example",
"steps": [
{
"completed_at": "2026-04-15T12:00:00Z",
"conclusion": "example",
"name": "example",
"number": 1,
"started_at": "2026-04-15T12:00:00Z",
"status": "example"
}
],
"url": "https://example.com"
}
],
"total_count": 1
}

APIError is error format response

message
string
url
string

APINotFound is a not found empty response

APIValidationError is error format response related to input validation

message
string
url
string