---
title: "GET /v1/projects/{projectsId}/locations/{locationsId}/instances/{instancesId}/snapshots/{snapshotsId}"
method: GET
path: "/v1/projects/{projectsId}/locations/{locationsId}/instances/{instancesId}/snapshots/{snapshotsId}"
tags: ["projects"]
---

# GET /v1/projects/{projectsId}/locations/{locationsId}/instances/{instancesId}/snapshots/{snapshotsId}

`GET /v1/projects/{projectsId}/locations/{locationsId}/instances/{instancesId}/snapshots/{snapshotsId}`

## Request

- Base URL: `https://file.googleapis.com`
- URL: `https://file.googleapis.com/v1/projects/{projectsId}/locations/{locationsId}/instances/{instancesId}/snapshots/{snapshotsId}`
- Auth: OAuth 2 and OAuth 2
  - Implicit: `https://accounts.google.com/o/oauth2/auth`
  - Scopes: `https://www.googleapis.com/auth/cloud-platform`
  - Authorization code: `https://accounts.google.com/o/oauth2/auth`
  - Token URL: `https://accounts.google.com/o/oauth2/token` scopes: `https://www.googleapis.com/auth/cloud-platform`

Gets the details of a specific snapshot.

## Path parameters

- `projectsId` string, required
- `locationsId` string, required
- `instancesId` string, required
- `snapshotsId` string, required

## Query parameters

- `$.xgafv` '1' | '2'
- `access_token` string
- `alt` 'json' | 'media' | 'proto'
- `callback` string
- `fields` string
- `key` string
- `oauth_token` string
- `prettyPrint` boolean
- `quotaUser` string
- `uploadType` string
- `upload_protocol` string

## Response `200`

Successful response

- Snapshot: A Filestore snapshot.
  - `createTime` string, google-datetime: Output only. The time when the snapshot was created.
  - `description` string: A description of the snapshot with 2048 characters or less. Requests with longer descriptions will be rejected.
  - `filesystemUsedBytes` string, int64: Output only. The amount of bytes needed to allocate a full copy of the snapshot content
  - `labels` object: Resource labels to represent user provided metadata.
  - `name` string: Output only. The resource name of the snapshot, in the format `projects/{project_id}/locations/{location_id}/instances/{instance_id}/snapshots/{snapshot_id}`.
  - `state` 'STATE_UNSPECIFIED' | 'CREATING' | 'READY' | 'DELETING': Output only. The snapshot state.
  - `tags` object: Optional. Input only. Immutable. Tag key-value pairs bound to this resource. Each key must be a namespaced name and each value a short name. Example: "123456789012/environment" : "production", "123456789013/costCenter" : "marketing" See the documentation for more information: - Namespaced name: https://cloud.google.com/resource-manager/docs/tags/tags-creating-and-managing#retrieving_tag_key - Short name: https://cloud.google.com/resource-manager/docs/tags/tags-creating-and-managing#retrieving_tag_value

---

[API](https://skmtc.dev/google/apis/file.md) - [All operations](https://skmtc.dev/google/apis/file/llms.txt) - [OpenAPI document](https://skmtc.dev/google/apis/file/revisions/fbccb5a717d2?raw)
