Take a disk or memory snapshot now
POST /v1/sandboxes/{sandbox}/snapshots
In this build: Works on the simulator or a real VM.
Scope: snapshot.write
CLI: harebox snapshot
Send an Idempotency-Key header. A retry with the same key never repeats the action.
| Field | Type | Notes |
|---|---|---|
include_memory |
boolean |
|
pre_snapshot_command |
string |
Snapshot
| Field | Type | Notes |
|---|---|---|
id (required) |
string |
|
sandbox (required) |
string |
|
kind (required) |
string |
One of: disk, disk_and_memory |
trigger |
string |
One of: automatic, stop, sleep, manual, template |
consistency |
string |
One of: exact, crash_consistent |
stored_gb |
number |
|
expires_at |
string or null |
|
created_at (required) |
string |
Errors follow one format.

