---
title: "Snapshot Detail"
method: GET
path: "/v2/storage/snapshots/{snapshotId}"
tags: ["Table Snapshotting"]
---

# Snapshot Detail

`GET /v2/storage/snapshots/{snapshotId}`

## Request

- Base URL: `https://connection.keboola.com`
- URL: `https://connection.keboola.com/v2/storage/snapshots/{snapshotId}`
- Auth: one of:
  - API key in header `X-StorageApi-Token`
  - API key in header `X-KBC-ManageApiToken`
  - HTTP bearer
- TypeScript: <https://skmtc.dev/keboola/apis/keboola-storage-api/docs/v2/storage/snapshots/:snapshotId/get.ts> (a function with typed inputs; its response is checked against the schema)

Retrieves information about a single table snapshot. Use the List Table Snapshots call to find the snapshot ID. Available in the default branch only.

## Path parameters

- `snapshotId` integer, required

## Response `200`

Snapshot detail.

- SnapshotDetailResponse: Table snapshot with the snapshotted table settings.
  - `id` string, required: Snapshot identifier.
  - `description` string, nullable, required: Snapshot description.
  - `createdTime` string, required: ISO 8601 with a `+hhmm` offset.
  - `type` 'table', required
  - `creatorToken` object, required
    - `id` integer, required
    - `description` string, required
  - `actor` ActorResponse, required: Who performed the action and through which credential.
    - `type` 'token' | 'session' | 'pat' | 'system', required: Credential the action came through: a Storage token, a programmatic session, a personal access token, or system work.
    - `id` string, required: Token id as a string, session or personal access token UUID, or the system subject.
    - `name` string, required: Token description, the admin email for a session or personal access token, or the system label, as it was when the action happened.
    - `adminId` integer, nullable, required: Admin behind the credential; null for a token without an admin, for system work, and when the admin was not recorded (an object whose creator is known only from its token columns, including rows backfilled from them).
  - `uri` string, required
  - `dataFileId` integer, required: ID of the file holding the snapshot data.
  - `table` object, required: Settings of the snapshotted table.
    - `id` string, required
    - `primaryKey` string[], required
    - `attributes` object[], required: Deprecated, always an empty array.
    - `columns` string[], required

## Other responses

- `403`: The token does not have access to the bucket of the snapshotted table (`accessDenied`).
- `404`: The snapshot was not found (`storage.snapshots.notFound`).

---

[API](https://skmtc.dev/keboola/apis/keboola-storage-api.md) - [All operations](https://skmtc.dev/keboola/apis/keboola-storage-api/llms.txt) - [OpenAPI document](https://skmtc.dev/keboola/apis/keboola-storage-api/revisions/34b5ceac0317?raw)
