Skip to main content
GET
/
v1
/
snapshots
List snapshots
import requests

url = "https://api.13-215-85-171.sslip.io/v1/snapshots"

headers = {"Authorization": "Bearer <token>"}

response = requests.get(url, headers=headers)

print(response.text)
[
  {
    "id": "<string>",
    "sandbox_id": "<string>",
    "size_bytes": 123,
    "created_at": "2023-11-07T05:31:56Z",
    "metadata": {}
  }
]

Authorizations

Authorization
string
header
required

API key passed as Bearer token

Query Parameters

sandbox_id
string

Filter reusable snapshots by origin sandbox ID. When supplied, compatibility paused/runtime snapshots for that sandbox can also be returned without metadata.

metadata
string

JSON object of exact-match snapshot metadata filters.

Response

List of snapshots

id
string
required
sandbox_id
string
required
size_bytes
integer<uint64>
required
created_at
string<date-time>
required
metadata
object

User metadata attached to reusable snapshots. Legacy pause snapshots may omit this field.