- Files created in the sandbox are preserved.
- In-memory state is preserved, including running processes and variables.
- Network connections are interrupted until the sandbox resumes.
- The sandbox remains stored until you resume and kill it, or kill it while it is paused.
Pause a sandbox
You can callpause method when you want to save the current state.
Resume a sandbox
Use the saved sandbox ID to connect again. If the sandbox is paused, you can useconnect method to resumes it before returning.
timeout when reconnecting.
List paused sandboxes
You can use thelist method with a state filter to find paused sandboxes. More information about using the method can be found in List Sandboxes.
Delete a paused sandbox
Paused sandboxes remain stored until you remove them. You can use thekill method to remove paused sandboxes that you no longer need.