Gets a specific workflow job for a workflow run
GET
/repos/{owner}/{repo}/actions/jobs/{job_id}
const url = 'https://gitea.com/api/v1/repos/example/example/actions/jobs/example';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/jobs/example \ --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 repository
job_id
required
string
Id of the job
Responses
Section titled “Responses”WorkflowJob
Media typeapplication/json
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
Examplegenerated
{ "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"}APIError is error format response
Headers
Section titled “Headers”message
string
url
string
APINotFound is a not found empty response