This feature is currently in private preview and is not recommended for production use. It requires a feature flag on your workspace: contact us or email support@blaxel.ai to get access. Until then, the archive and unarchive actions are hidden in the Blaxel console, and both API operations answer
403 Forbidden.Archive a sandbox
The export runs in the background. By default the SDK waits until the sandbox reaches theARCHIVED status.
Unarchive a sandbox
Unarchiving starts the sandbox again from its image and writes the archived filesystem back over it. The sandbox and its terminal answer while the restore runs, and the SDK waits until the sandbox isDEPLOYED again.
Control the wait
An archive and its restore take longer as the filesystem grows. Passwait: false in TypeScript, or wait=False in Python, to return as soon as the operation is launched, then read the sandbox status yourself. Set maxWait/max_wait and interval, both in milliseconds, to change how long the SDK waits and how often it reads the sandbox.
Statuses
Sandbox overview
Learn more about sandbox lifecycle and configuration.
Snapshots and forking
Checkpoint a sandbox, memory included, and fork it into a new one.
