---
title: "Create a snapshot of a VM"
method: POST
path: "/v1/vms/{id}/snapshots"
tags: ["Snapshots"]
---

# Create a snapshot of a VM

`POST /v1/vms/{id}/snapshots`

Beta: the snapshot record is created, but snapshot capture is not yet enabled on the data plane.

## Path parameters

- `id` string, required

## Request body

- CreateSnapshotRequest
  - `name` string, required

## Response `200`

Created

- CreatedResource
  - `id` string, required
  - `name` string, required
  - `status` string, required

## Other responses

- `400` — The request is invalid
- `401` — Missing or invalid API key
- `403` — API key lacks the required scope
- `404` — Resource not found
- `409` — The request conflicts with existing state

---

[API](https://skmtc.net/openrelay/apis/openrelay-api.md) · [All operations](https://skmtc.net/openrelay/apis/openrelay-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/openrelay/openrelay-api/versions/32905b8f44f8/schema)
