List a sandbox's checkpoints
GET
/sandboxes/{id}/checkpoints
const url = 'https://api.global.stillbox.example/v1/sandboxes/ws-7k2m9q4x8w3z5r6t/checkpoints';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://api.global.stillbox.example/v1/sandboxes/ws-7k2m9q4x8w3z5r6t/checkpoints \ --header 'Authorization: Bearer <token>'Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”id
required
string
Responses
Section titled “Responses”The sandbox’s checkpoints, newest first
Media typeapplication/json
object
checkpoints
required
Array<object>
object
id
required
string
sandbox_id
required
The sandbox it was taken from (which may have been deleted since).
string
name
required
string
kind
required
string
state
required
string
size_bytes
required
Memory plus disk changes, before compression.
integer format: int64
in_object_storage
Stored in the region’s object storage, so it can be restored on any server of the same CPU type.
boolean
error
string
created_at
required
string format: date-time
Example
{ "checkpoints": [ { "kind": "manual", "state": "creating" } ]}The API key is missing or invalid
Media typeapplication/json
object
code
required
string
message
required
string
Example
{ "code": "not_found"}No such sandbox in your organization (or no such file)
Media typeapplication/json
object
code
required
string
message
required
string
Example
{ "code": "not_found"}