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.

Lists all jobs for a workflow run attempt

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

Owner of the repo

repo
required
string

Name of the repository

run
required
integer

Id of the workflow run

attempt
required
integer

Logical attempt number of the run

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

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