Skip to main content
POST
Resume sandbox

Authorizations

Authorization
string
header
required

Boat bearer token in the form boat_.... Service API keys authenticate sandbox operations.

Path Parameters

sandboxId
string
required

Public Sandbox id returned by create/list/get sandbox calls.

Pattern: ^bx_[23456789abcdefghjkmnpqrstuvwxyz]{8}$

Body

application/json

Options for resuming a stopped sandbox.

failFast
boolean
default:false

Pass true to resume only if a machine is ready right now. Within about 1.5 s you get the usual 202, or 503 no_ready_machine with the sandbox left stopped and nothing counted against your start limits.

type
enum<string>

Resume onto a different machine size. Omit to keep the sandbox's current type. A resume already restores onto a fresh machine, so changing size costs nothing extra. Shrinking is rejected with type_too_small when the sandbox's data would not fit the smaller disk.

Available options:
small,
default,
large
env
object

Replaces the sandbox's per-sandbox environment variables. Omit to keep the sandbox's current env. Same validation rules as CreateSandboxRequest.env.

environment
string

Optionally re-pin the sandbox to a different named sandbox environment on resume. Omit to keep the sandbox's current environment. Unknown names are rejected with unknown_environment.

Examples:

"base"

"customer-demos"

noEnv
boolean

Resume into a no-env sandbox: withhold account secrets and scrub inherited owner secrets from the restored snapshot before the sandbox is exposed. One-way; once a sandbox is resumed as no-env it stays no-env on later resumes.

ttlSeconds
integer | null

Auto-stop for the resumed sandbox, in seconds, stored on the sandbox. Omit to keep the TTL the sandbox already had. null disables auto-stop, which means nothing will ever stop this sandbox for you.

Required range: 1 <= x <= 2592000

Response

Resume started.

ok
boolean
required
Example:

true

type
string
required

Stable success envelope discriminator added by v1.

Example:

"sandbox.stopping"

id
string
required
status
string
required
Example:

"archiving"

sandbox
object | null
giftLimitNotice
string

Present on resume or fork when a fair-use cap on a gifted account shortened the requested auto-stop time.

conversationId
string

On interrupt, the conversation whose turn was interrupted.