Skip to main content
POST
Extend a live lease

Authorizations

Authorization
string
header
required

Runner token beginning with agt_r, returned once by POST /v1/runners

Path Parameters

lease_id
string
required

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

Body

application/json

Usage since the last confirmed renewal, one record per provider request. Repeating records does not add charges. The server measures runtime separately.

requests
object[]
required

One line per provider request, possibly none.

Response

OK

POST /v1/runners/me/leases/{lease_id}/renew reply.

The authoritative new kill deadline. A non-200 means stop renewing and kill the child — the run is over.

lease_expires_at
string<date-time>
required

The new deadline.

recorded_through
integer<int32> | null

Highest usage record saved. Discard records through this number and resend later ones. An unreadable body saves no records, even when renewal succeeds.

Required range: x >= 0