Skip to main content
POST
/
api
/
sandboxes
/
{id}
/
hibernate
Hibernate Sandbox
curl --request POST \
  --url https://app.opencomputer.dev/api/sandboxes/{id}/hibernate \
  --header 'X-API-Key: <api-key>'
{
  "sandboxID": "sb-abc123",
  "hibernationKey": "checkpoints/sb-abc123/1234567890.tar.zst",
  "sizeBytes": 134217728,
  "status": "hibernated"
}
Snapshot VM state and stop the sandbox. Control plane only.
id
string
required
Sandbox ID
{
  "sandboxID": "sb-abc123",
  "hibernationKey": "checkpoints/sb-abc123/1234567890.tar.zst",
  "sizeBytes": 134217728,
  "status": "hibernated"
}