---
title: "Get snapshot"
method: GET
path: "/api/vps/v1/virtual-machines/{virtualMachineId}/snapshot"
tags: ["VPS: Snapshots"]
---

# Get snapshot

`GET /api/vps/v1/virtual-machines/{virtualMachineId}/snapshot`

Retrieve snapshot for a specified virtual machine.

Use this endpoint to view current VPS snapshot information.

## Path parameters

- `virtualMachineId` integer, required

## Response `200`

Success response

- VPSV1SnapshotSnapshotResource
  - `id` integer — Snapshot ID
  - `restore_time` integer — Estimated snapshot restore time in seconds
  - `created_at` string, date-time
  - `expires_at` string, date-time

## Other responses

- `401` — Unauthenticated response
- `500` — Error response

---

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