Renew run lease

http
POST /agent-workers/workers/{worker_id}/runs/{run_id}/lease

Renew a run lease.

Parameters

NameInRequiredDescription
worker_idpathYes
run_idpathYes

Request body

FieldTypeRequiredDescription
lease_duration_secondsinteger

Responses

StatusDescription
200Lease renewal result: the active lease is extended while the worker continues processing the run.
400Bad request
401Unauthorized
403Forbidden
404Not found
500Server error
503internal: authentication state is temporarily unavailable and the request was not processed; retry shortly.