List snapshots
GET/snapshots
Responses
200 OKOK
SnapshotListResponse
snapshotsarray | null
items
SnapshotResponse
created_atstringdate-timedirstringidstringmem_pathstringmemory_mibintegerrootfs_pathstringsource_idstringstate_pathstringvcpusintegerAuthentication
bearerAuthHTTP bearer. Daemon API key. Omit on a keyless loopback daemon.Request
▍GET/snapshots
curl '/snapshots'const response = await fetch("/snapshots", {
method: "GET",
});
const data = await response.json();import requests
response = requests.get(
"/snapshots",
)
data = response.json()Response
200 OK
{
"snapshots": [
{
"created_at": "2026-01-02T15:04:05Z",
"dir": "string",
"id": "string",
"mem_path": "string",
"memory_mib": 0,
"rootfs_path": "string",
"source_id": "string",
"state_path": "string",
"vcpus": 0
}
]
}