Skip to main content
GET
List a runner's work assignments

Authorizations

Authorization
string
header
required

Send a dashboard session token, an account API key (agt_t), or a command-line credential (afc_) as a Bearer token. Each endpoint lists accepted credential types.

Path Parameters

runner_id
string
required

Runner identifier (version 7 universally unique identifier, or UUID).

Query Parameters

starting_after
string

Lease identifier from this runner's previous next_cursor. It must match the current workspace and fleet filters. If retention removed it, restart from the first page.

workspace_id
string

Narrow the page and total to leases owned by one workspace. A malformed id is refused; an unknown one matches nothing.

fleet
string

Filter by fleet identifier or exact name, ignoring case. Combines with workspace_id. Empty or oversized values are refused; unknown fleets return no results.

limit
string

Rows per page (1-100).

Response

One page of the runner's leases, newest first

One page of a runner's work-assignment history.

items
object[]
required

Rows in newest-first order.

total
integer<int64>
required

Filtered total independent of the page boundary.

next_cursor
string | null

Last lease identifier when another page may exist.