Skip to main content
POST
/
api
/
sandboxes
/
{id}
/
checkpoints
Create Checkpoint
curl --request POST \
  --url https://app.opencomputer.dev/api/sandboxes/{id}/checkpoints \
  --header 'Content-Type: application/json' \
  --header 'X-API-Key: <api-key>' \
  --data '
{
  "name": "<string>"
}
'
{
  "id": "cp-abc123",
  "sandboxID": "sb-abc123",
  "name": "before-migration",
  "status": "processing",
  "sizeBytes": 0,
  "createdAt": "2025-01-15T10:30:00Z"
}
Create a checkpoint of the sandbox state. Maximum 10 checkpoints per sandbox.
id
string
required
Sandbox ID
name
string
required
Checkpoint name (unique per sandbox)
{
  "id": "cp-abc123",
  "sandboxID": "sb-abc123",
  "name": "before-migration",
  "status": "processing",
  "sizeBytes": 0,
  "createdAt": "2025-01-15T10:30:00Z"
}