Skip to content
Get started

List snapshots

get/snapshots

List snapshots

Query ParametersExpand Collapse
kind: optional SnapshotKind

Filter snapshots by kind

Accepts one of the following:
"Standby"
"Stopped"
name: optional string

Filter snapshots by snapshot name

source_instance_id: optional string

Filter snapshots by source instance ID

tags: optional map[string]

Filter snapshots by tag key-value pairs.

ReturnsExpand Collapse
id: string

Auto-generated unique snapshot identifier

created_at: string

Snapshot creation timestamp

formatdate-time

Snapshot capture kind

Accepts one of the following:
"Standby"
"Stopped"
size_bytes: number

Total payload size in bytes

formatint64
source_hypervisor: "cloud-hypervisor" or "firecracker" or "qemu" or "vz"

Source instance hypervisor at snapshot creation time

Accepts one of the following:
"cloud-hypervisor"
"firecracker"
"qemu"
"vz"
source_instance_id: string

Source instance ID at snapshot creation time

source_instance_name: string

Source instance name at snapshot creation time

compressed_size_bytes: optional number

Compressed memory payload size in bytes

formatint64
compression: optional SnapshotCompressionConfig { enabled, algorithm, level }
enabled: boolean

Enable snapshot memory compression

algorithm: optional "zstd" or "lz4"

Compression algorithm (defaults to zstd when enabled). Ignored when enabled is false.

Accepts one of the following:
"zstd"
"lz4"
level: optional number

Compression level. Allowed ranges are zstd=1-19 and lz4=0-9. When omitted, zstd defaults to 1 and lz4 defaults to 0. Ignored when enabled is false.

minimum0
maximum19
compression_error: optional string

Compression error message when compression_state is error

compression_state: optional "none" or "compressing" or "compressed" or "error"

Compression status of the snapshot payload memory file

Accepts one of the following:
"none"
"compressing"
"compressed"
"error"
name: optional string

Optional human-readable snapshot name (unique per source instance)

tags: optional map[string]

User-defined key-value tags.

uncompressed_size_bytes: optional number

Uncompressed memory payload size in bytes

formatint64
List snapshots
curl http://localhost:8080/snapshots \
    -H "Authorization: Bearer $HYPEMAN_API_KEY"
[
  {
    "id": "q7z1w7l2af4l8y7q1h7g2m3s",
    "created_at": "2026-03-06T13:56:11Z",
    "kind": "Standby",
    "size_bytes": 104857600,
    "source_hypervisor": "cloud-hypervisor",
    "source_instance_id": "qilviffnqzck2jrim1x6s2b1",
    "source_instance_name": "nginx1",
    "compressed_size_bytes": 73400320,
    "compression": {
      "enabled": true,
      "algorithm": "zstd",
      "level": 1
    },
    "compression_error": "write compressed stream: no space left on device",
    "compression_state": "compressed",
    "name": "baseline-standby",
    "tags": {
      "team": "backend",
      "env": "staging"
    },
    "uncompressed_size_bytes": 4294967296
  }
]
Returns Examples
[
  {
    "id": "q7z1w7l2af4l8y7q1h7g2m3s",
    "created_at": "2026-03-06T13:56:11Z",
    "kind": "Standby",
    "size_bytes": 104857600,
    "source_hypervisor": "cloud-hypervisor",
    "source_instance_id": "qilviffnqzck2jrim1x6s2b1",
    "source_instance_name": "nginx1",
    "compressed_size_bytes": 73400320,
    "compression": {
      "enabled": true,
      "algorithm": "zstd",
      "level": 1
    },
    "compression_error": "write compressed stream: no space left on device",
    "compression_state": "compressed",
    "name": "baseline-standby",
    "tags": {
      "team": "backend",
      "env": "staging"
    },
    "uncompressed_size_bytes": 4294967296
  }
]