Sandboxes
Update a sandbox's timeouts
Change a running Runpod sandbox’s idle timeout. The new idle deadline is recalculated from the sandbox’s last recorded activity, not from now.
PATCH
Changes the idle timeout of a running sandbox. The new
idleExpiresAt is calculated from the sandbox’s lastActivityAt, not from the time of the request.
Values above your account’s maximum are clamped to it, and values under 90 seconds are raised to 90. Read the response for the value applied.
To change the maximum lifetime, use Extend a sandbox’s lifetime.
Path parameters
string
required
The sandbox ID.
Body
integer
New idle timeout in seconds.
Response
Returns the updated sandbox. See Get a sandbox for all fields.Errors
Last modified on October 19, 2026