Get user-level runners
GET
/user/actions/runners
const url = 'https://gitea.com/api/v1/user/actions/runners';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/user/actions/runners \ --header 'Authorization: Basic <credentials>'Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Query Parameters
Section titled “Query Parameters”disabled
boolean
Filter by disabled status (true or false)
Responses
Section titled “Responses”RunnerList
Media typeapplication/json
ActionRunnersResponse returns Runners
object
runners
Array<object>
ActionRunner represents a Runner
object
busy
boolean
disabled
boolean
ephemeral
boolean
id
integer format: int64
labels
Array<object>
ActionRunnerLabel represents a Runner Label
object
id
integer format: int64
name
string
type
string
name
string
status
string
total_count
integer format: int64
Examplegenerated
{ "runners": [ { "busy": true, "disabled": true, "ephemeral": true, "id": 1, "labels": [ { "id": 1, "name": "example", "type": "example" } ], "name": "example", "status": "example" } ], "total_count": 1}APIError is error format response
Headers
Section titled “Headers”message
string
url
string
APINotFound is a not found empty response