Create a snapshot for an instance
/instances/{id}/snapshots
Create a snapshot for an instance
Path Parameters
id: string
Body Parameters
name: optional string
Optional snapshot name (lowercase letters, digits, and dashes only; cannot start or end with a dash)
maxLength63
Returns
Create a snapshot for an instance
curl http://localhost:8080/instances/$ID/snapshots \
-H 'Content-Type: application/json' \
-H "Authorization: Bearer $HYPEMAN_API_KEY" \
-d '{
"kind": "Standby",
"name": "pre-upgrade",
"tags": {
"team": "backend",
"env": "staging"
}
}'
{
"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
}