Skip to content
Wardcase Docs

Snapshot the sandbox filesystem

POST
/v1/sandboxes/{id}/snapshots
id
required
string
/^sbx_[A-Za-z0-9]+$/

Sandbox ids are lowercase: sbx_ followed by 16 characters from [a-z0-9]. Hostname labels derived from them are therefore safe to compare after lowercasing.

Idempotency-Key
string
<= 128 characters

Any string up to 128 characters. Replays within 24 hours return the original response.

object
name
string
<= 80 characters

Snapshot requested. Poll until status is ready.

object
id
required
string
org_id
required
string
sandbox_id
string | null
name
string | null
region
required
string
Allowed values: us-east eu-west in-south
image
required
string
Allowed values: base python node browser
status
required
string
Allowed values: pending ready failed deleted
size_bytes
integer | null
sha256
string | null
failure_reason
string | null
created_at
required
string format: date-time
ready_at
string | null format: date-time

Not found

RFC 9457 problem document

object
type
required

https://docs.wardcase.com/errors/<slug>. The slug is a stable machine code (PROBLEM_TYPES in @vivarium/contracts).

string format: uri
title
required
string
status
required
integer
detail
string
instance
string
errors

Field-level validation errors

Array<object>
object
path
required
string
message
required
string

The resource is not in a state that allows this

RFC 9457 problem document

object
type
required

https://docs.wardcase.com/errors/<slug>. The slug is a stable machine code (PROBLEM_TYPES in @vivarium/contracts).

string format: uri
title
required
string
status
required
integer
detail
string
instance
string
errors

Field-level validation errors

Array<object>
object
path
required
string
message
required
string

The host reported an error

RFC 9457 problem document

object
type
required

https://docs.wardcase.com/errors/<slug>. The slug is a stable machine code (PROBLEM_TYPES in @vivarium/contracts).

string format: uri
title
required
string
status
required
integer
detail
string
instance
string
errors

Field-level validation errors

Array<object>
object
path
required
string
message
required
string

The host did not answer within the deadline

RFC 9457 problem document

object
type
required

https://docs.wardcase.com/errors/<slug>. The slug is a stable machine code (PROBLEM_TYPES in @vivarium/contracts).

string format: uri
title
required
string
status
required
integer
detail
string
instance
string
errors

Field-level validation errors

Array<object>
object
path
required
string
message
required
string