Change the maximum runtime
Changes or removes the limit set with max_runtime_seconds at deploy, on a
deployed or stopped instance. The limit counts from when the instance’s GPU
was allocated, startup included, and again from each start, so expires_at
becomes the allocation time plus the new limit. A limit the current
allocation has already passed (less than a minute left) is refused with
409: choose a longer one, or stop or destroy the instance. On a stopped
instance the limit applies from its next start. Send null to remove it.
Authentication
Pass your EmpirioLabs API key as a bearer token. The Anthropic-style
x-api-key header is also accepted on every endpoint.
Path parameters
Request
The new limit in seconds (60 to 2,592,000), counted from when the GPU was allocated, or null to remove the limit.
Response
The limit was changed; the instance reports the new max_runtime_seconds and expires_at.
