Set sandbox lifetime
sandbox_set_timeoutAdjust a sandbox's remaining lifetime to keep it running for work you still need or end it sooner; it stops and loses files except attached volumes when time expires.
Instructions
Change how long a sandbox lives from now: it stops and loses its files (except an attached volume) when the time runs out. Use it to keep a sandbox the user still needs, or to end one sooner. 60,000 ms to 86,400,000 ms (a day).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sandboxId | Yes | Exact sandbox ID from sandbox_create or sandbox_list | |
| lifetimeMs | Yes |