Enable Auto Pause
You can enable the auto pause feature by setting theauto_pause parameter to true when creating a sandbox instance. The sandbox instance will automatically pause after timeout and can be resumed later.
Enable Auto Resume
You can enable the auto resume feature by setting theauto_resume key in metadata to true when creating a sandbox instance. Once enabled, when you attempt to operate on a paused sandbox (such as executing commands, running code, file operations, etc.), the sandbox will automatically resume.