---
title: "List VM snapshots"
method: GET
path: "/vm/{rid}/snapshots"
tags: ["VM"]
---

# List VM snapshots

`GET /vm/{rid}/snapshots`

Retrieve the crash-consistent ZFS snapshot records for a virtual machine

## Path parameters

- `rid` integer, required

## Response `200`

Success

- GithubComAlchemillahqSylveInternalAPIResponseArrayGithubComAlchemillahqSylveInternalDbModelsVmVMSnapshot
  - `data` GithubComAlchemillahqSylveInternalDbModelsVmVMSnapshot[]
    - `createdAt` string
    - `description` string
    - `id` integer
    - `name` string
    - `parentSnapshotId` integer
    - `rid` integer
    - `rootDatasets` string[]
    - `snapshotName` string
    - `updatedAt` string
    - `vmId` integer
  - `error` string
  - `message` string
  - `status` string

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `404` — Not Found
- `500` — Internal Server Error

---

[API](https://skmtc.net/alchemillahq/apis/sylve-api.md) · [All operations](https://skmtc.net/alchemillahq/apis/sylve-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/alchemillahq/sylve-api/revisions/7a7bea85004e/schema)
