Pause a sandbox
POST /v1/sandbox/{sandboxID}/pause
Pause a running sandbox. The sandbox’s VM state, memory, and disk are captured
and uploaded, the sandbox is marked as paused, and the VM is terminated. The
sandbox can later be resumed via the invoke route or the resume endpoint, which
restores it from the saved state. Unlike /snapshot/pause, this does not
create a named snapshot.
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ”Unique sandbox identifier.
Responses
Section titled “ Responses ”Sandbox paused successfully.
object
Unique sandbox identifier.
Example
sbx-abc123Template the sandbox was created from.
Number of virtual CPUs assigned to the sandbox.
Memory assigned to the sandbox, in MiB.
Writable disk size assigned to the sandbox, in MiB.
Current state of the sandbox.
Whether the sandbox is configured to auto-pause on timeout.
Network egress policy for a sandbox. When omitted, defaults to allow-all.
object
Policy mode. allow-all permits all egress, deny-all blocks all egress, custom uses the allow/deny lists.
Domain names to allow outbound access to (custom mode only).
CIDR ranges to allow outbound access to (custom mode only).
Per-domain request transforms, such as credential brokering.
A per-domain request transform rule for credential brokering or header manipulation.
object
Domain pattern to match (e.g. api.openai.com).
Headers to inject into matching requests.
object
Header names to strip from matching requests.
ISO 8601 timestamp of when the sandbox was created.
Unauthorized – invalid or missing API key.
object
Human-readable error message.
Resource not found.
object
Human-readable error message.
Conflict - sandbox is not running.
object
Human-readable error message.