Skip to main content
POST

Authentication

Send your scoped bearer token in the Authorization: Bearer <BEAD_TOKEN> header, or send your API key in X-API-Key.

Parameters

string
required
Machine identifier returned by creation.
string
Caller-generated durable retry key: lowercase ASCII letters, digits, and hyphens only. Reuse the same key and body after a connection failure. Minimum length: 1. Maximum length: 255.

Request body

The JSON body is optional.
boolean
default:true
Restore retained memory; false is rejected with 501 unsupported_feature in this deployment.
boolean
default:false
The pause checks that the sandbox guest agent answers before it takes the snapshot. By default an unresponsive agent is recorded on the snapshot and the pause proceeds; the sandbox then shows envdUnresponsiveAtPause and a later resume must ask for memory: false, since restoring that memory would bring the unresponsive agent back. With this true, the pause is instead refused with 503 while the agent does not answer, and the sandbox keeps running. A filesystem-only pause (memory: false) is always refused while the agent does not answer, whatever this says.

Response

204

The sandbox was paused successfully and can be resumed. No response body.

Errors