---
title: "List all snapshots"
method: GET
path: "/compute/{connection_id}/snapshot"
tags: ["compute", "snapshot"]
---

# List all snapshots

`GET /compute/{connection_id}/snapshot`

## Request

- Base URL: `http://api.unified.to`
- URL: `http://api.unified.to/compute/{connection_id}/snapshot`
- Auth: API key in header `authorization`

## Path parameters

- `connection_id` string, required

## Query parameters

- `limit` number
- `offset` number
- `updated_gte` string, date-time
- `sort` 'name' | 'updated_at' | 'created_at'
- `order` 'asc' | 'desc'
- `query` string
- `instance_id` string
- `fields` string[]
- `raw` string

## Response `200`

Successful

- ComputeSnapshot[]
  - `id` string: Unique identifier for the snapshot
  - `created_at` string, date-time: When the snapshot was created (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
  - `updated_at` string, date-time: When the snapshot was last updated (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
  - `name` string: Display name of the snapshot
  - `instance_id` string: The instance the snapshot was taken from
  - `volume_id` string: The volume the snapshot was taken from
  - `type` 'MEMORY' | 'DISK' | 'OTHER': Whether memory state is included
  - `status` 'CREATING' | 'READY' | 'FAILED' | 'DELETING' | 'OTHER': Normalized snapshot status
  - `size_mb` number: Snapshot size in MiB
  - `expires_at` string, date-time: When the snapshot will be deleted (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
  - `metadata` ComputeMetadata[]: Vendor labels, tags and metadata
    - `id` string: The label, tag or metadata identifier
    - `slug` string: The label, tag or metadata key
    - `value` unknown
    - `namespace` string: The origin of the value (eg. labels, tags, metadata)
    - `format` 'TEXT' | 'NUMBER' | 'DATE' | 'BOOLEAN' | 'ARRAY' | 'OBJECT': The data type of the value
    - `extra_data` unknown
  - `raw` unknown

---

[API](https://skmtc.dev/unified/apis/unified-to-api-2.md) · [All operations](https://skmtc.dev/unified/apis/unified-to-api-2/llms.txt) · [OpenAPI document](https://skmtc.dev/unified/apis/unified-to-api-2/revisions/7a38bdd7f089?raw)
