List repository workflows
GET
/repos/{owner}/{repo}/actions/workflows
const url = 'https://gitea.com/api/v1/repos/example/example/actions/workflows';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/workflows \ --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
Responses
Section titled “Responses”ActionWorkflowList
Media typeapplication/json
ActionWorkflowResponse returns a ActionWorkflow
object
total_count
integer format: int64
workflows
Array<object>
ActionWorkflow represents a ActionWorkflow
object
badge_url
BadgeURL is the URL for the workflow badge
string format: uri
created_at
string format: date-time
deleted_at
string format: date-time
html_url
HTMLURL is the web URL for viewing the workflow
string format: uri
id
ID is the unique identifier for the workflow
string
name
Name is the name of the workflow
string
path
Path is the file path of the workflow
string
state
State indicates if the workflow is active or disabled
string
updated_at
string format: date-time
url
URL is the API URL for this workflow
string format: uri
Examplegenerated
{ "total_count": 1, "workflows": [ { "badge_url": "https://example.com", "created_at": "2026-04-15T12:00:00Z", "deleted_at": "2026-04-15T12:00:00Z", "html_url": "https://example.com", "id": "example", "name": "example", "path": "example", "state": "example", "updated_at": "2026-04-15T12:00:00Z", "url": "https://example.com" } ]}APIError is error format response
Headers
Section titled “Headers”message
string
url
string
APIForbiddenError is a forbidden error response
Headers
Section titled “Headers”message
string
url
string
APINotFound is a not found empty response
APIValidationError is error format response related to input validation
Headers
Section titled “Headers”message
string
url
string
APIError is error format response
Headers
Section titled “Headers”message
string
url
string