List snapshots
client.snapshots.list(SnapshotListParams { kind, name, source_instance_id, tags } query?, RequestOptionsoptions?): SnapshotListResponse { id, created_at, kind, 6 more }
/snapshots
List snapshots
Parameters
Returns
List snapshots
import Hypeman from '@onkernel/hypeman';
const client = new Hypeman({
apiKey: 'My API Key',
});
const snapshots = await client.snapshots.list();
console.log(snapshots);
[
{
"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",
"name": "baseline-standby",
"tags": {
"team": "backend",
"env": "staging"
}
}
]
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",
"name": "baseline-standby",
"tags": {
"team": "backend",
"env": "staging"
}
}
]