Endpoints
Set snapshot retention
Change a snapshot’s retention period or clear its scheduled expiry.
POST
Authentication
Send your scoped bearer token in theAuthorization: Bearer <BEAD_TOKEN> header, or send your API key in X-API-Key.
Parameters
string
required
Snapshot template identifier returned by capture.
Request body
The JSON body is required.integer | null
Retention from now in seconds; null or omission clears scheduled expiry. Minimum:
60. May be null.Response
200
Snapshot publication and storage status.string
required
Snapshot identifier to poll or use as a template.
string
required
Template identifier for creating machines from this snapshot.
string
required
UUID of this immutable snapshot build.
string
required
Publication state; retired snapshots cannot create new machines.
string
required
Display name supplied for the snapshot.
string[]
required
Names associated with this snapshot.
boolean
required
Whether capture has reached the ready state.
string | null
required
Capture failure message, or null when no failure is recorded. May be
null.string
required
Status of the remote snapshot copy: ready, pending, or unavailable.
string
required
Current state of the source machine, including preserved when recovery is required.
string
required
Who funds the source machine: tenant, platform, or none.
string | null
required
Identifier of the machine captured by this snapshot. May be
null.integer | null
required
Maximum retained storage bytes authorized for this snapshot. May be
null.integer
required
Credit units debited for retained snapshot storage.
integer | null
required
Deletion deadline in Unix milliseconds; null means no scheduled expiry. May be
null.integer
required
Seconds before scheduled expiry when a warning is issued.
integer | null
required
Most recent confirmed physical storage byte count. May be
null.number | null
required
Estimated monthly storage charge for the confirmed bytes. May be
null.integer | null
required
End of storage credit grace in Unix milliseconds, or null when funded. May be
null.string
required
Storage funding state: funded, credit-grace, or deleted.
boolean
Whether the source machine is preserved for recovery.
boolean
Whether you can retry this failed capture.
string
Recommended source or snapshot recovery action.
string
Machine-readable capture error, such as admission_limit.
object[]
required
Storage grace and expiry warnings.
object
The resource limit that blocked the request.
object
Memory capture result and source recovery details.

