Skip to main content
POST
Poll for the next lease

Authorizations

Authorization
string
header
required

The opaque agt_r token minted when the runner enrols (POST /v1/runners)

Response

A lease to run, or a backoff to wait out

POST /v1/runners/me/leases reply. Always 200.

lease is the work, or null with retry_after_ms set when there is none — a backoff hint rather than a 204.

lease
null | object

The work, when there is any.

retry_after_ms
integer<int32> | null

How long to wait before asking again, when there is none.

Required range: x >= 0