Skip to main content
Save a volume checkpoint

Authorizations

Authorization
string
header
required

BoxRouter API key; never an upstream provider key.

Headers

Idempotency-Key
string

Optional for this operation. Preserve the same stable identifier when retrying an uncertain response; never reuse it for new work. If omitted where allowed, Cloud generates a request-scoped key that cannot reconcile a later retry. Do not include credentials or payloads. Stable identifier for one logical mutation.

Required string length: 1 - 128

Path Parameters

volume_id
string
required

BoxRouter-managed Volume ID. Provider-native volume requirements are not accepted.

Pattern: ^vol_[0-9a-f]{32}$

Body

application/json
sandbox_id
string

The sandbox expected to hold the writer lease. If another sandbox holds it, or nobody does, the save is refused with volume_lease_lost. Omitted means the current holder. A mounted branch sandbox may also be named: the save is a ready checkpoint of that branch's files. It does not advance the volume head or change the source volume, its branch or its lease, so the next create without a checkpoint still restores the head. Select the saved checkpoint number to reopen the branch's files. Read-only sandboxes cannot save, and a branch that is no longer mounted is refused with volume_lease_lost.

message
string
Maximum string length: 500

Response

Committed checkpoint

An immutable saved filesystem checkpoint identified by (volume_id, checkpoint). Observed volume bytes are whole-disk measurements taken before the save, not per-checkpoint sizes. Deleting or expiring its API reference does not reclaim backend disk bytes; those remain until the volume is erased.

volume_id
string
required

BoxRouter-managed Volume ID. Provider-native volume requirements are not accepted.

Pattern: ^vol_[0-9a-f]{32}$
checkpoint
integer
required
Required range: x >= 1
state
enum<string>
required

Only committed checkpoints are listed; a save in progress is not a checkpoint.

Available options:
ready
created_at
string<date-time>
required
reason
enum<string>
required

requested is a save call; destroy and pause are saves BoxRouter made first.

Available options:
requested,
destroy,
pause
saved_on
object
required
image
object
required
arch
enum<string>
required
Available options:
amd64,
arm64
user
object
required
path
string
required
Pattern: ^/[^\u0000]*$
observed_volume_bytes
integer | null
required

Whole-volume disk usage observed before this checkpoint was created. May include other retained checkpoints and concurrent writes; not an exact checkpoint size or billing amount.

Required range: x >= 0
duration_ms
integer
required

Save wall time measured by BoxRouter.

Required range: x >= 0
message
string | null
required
Maximum string length: 500