v48

latestOpenAPI 3.1.0raw.githubusercontent.com2026-05-275867561.6 MB
sandboxes

Create a snapshot

Create a snapshot from a Docker image (async build).

post/v2/sandboxes/snapshots

Request body

docker_imagestring required
fs_capacity_bytesinteger required
namestring required
registry_idstring

Response

Created

created_atstring
created_bystring
docker_imagestring
fs_capacity_bytesinteger
fs_used_bytesinteger
idstring
image_digeststring
memory_snapshot_size_bytesinteger

MemorySnapshotSizeBytes is non-nil iff the snapshot was captured with VM memory state. A non-nil value is the canonical signal that this snapshot can warm-restore from memory; nil means rootfs only.

namestring
registry_idstring
source_sandbox_idstring
statusstring
status_messagestring
updated_atstring