Skip to main content
POST
List self-hosted Runners

Restrictions

Usage

  • Returns account-scope Runners plus Runners of teams the caller belongs to; team_ids outside the caller’s teams are silently dropped.
  • scope overrides include_account: account returns only account-scope Runners, team only team Runners, all (or empty) both.
  • query is a case-insensitive substring match over name, ID, labels, status, version, OS, architecture, hostname and IP address, so a label value finds the Runners that carry it.
  • Without p, limit, query or orderby every visible Runner is returned in one page; once any of them is set the list is paginated (limit defaults to 20). Default order is created_at descending.
  • status is live: degraded means the Runner is connected but its executor is unhealthy. The connection token is never returned.

Authorizations

app_key
string
query
required

APP Key created in the Flashduty console under My → APP Key. Send it as the app_key query parameter or in the Fd-App-Key request header. Its effective access is the intersection of the key's permission scope and the creator's current role permissions. Keep it secret.

Body

application/json

Filter and pagination for the self-hosted Runner list.

p
integer

Page number, starting from 1.

Required range: x >= 1
limit
integer

Page size. Defaults to 20 once pagination is in effect.

Required range: x >= 1
scope
enum<string>

all account-scope and team Runners; account account-scope only; team team Runners only. Overrides include_account.

Available options:
all,
account,
team
query
string

Substring filter over name, ID, labels, status, version, OS, architecture, hostname and IP address. Up to 128 characters.

Maximum string length: 128
team_ids
integer<int64>[]

Restrict team Runners to these teams; IDs of teams the caller does not belong to are ignored.

include_account
boolean
default:true

Whether to include account-scope Runners (team_id = 0). Defaults to true; ignored when scope is set.

orderby
enum<string>

Sort column: name or created_at. Empty keeps the default order (created_at descending) and ignores asc.

Available options:
name,
created_at
asc
boolean
default:false

Sort ascending when orderby is set.

Response

Success

Standard response envelope used by every Flashduty public API. On success data contains the endpoint-specific payload and error is absent. On failure error is present and data is absent. request_id is always present and is also mirrored in the Flashcat-Request-Id response header.

request_id
string
required

Unique ID for this request. Mirrored in the Flashcat-Request-Id header. Include it when reporting issues.

Example:

"01HK8XQE3Z7JM2NTFQ5YJ8P9R4"

error
object

Error payload inside the response envelope. Present only on non-2xx responses.

data
object

A page of self-hosted Runners.