---
title: "Gets a Snapshot for the resource by snapshot id"
method: GET
path: "/api/v1/queues/{id}/snapshots/{snapshotId}"
tags: ["Queues"]
---

# Gets a Snapshot for the resource by snapshot id

`GET /api/v1/queues/{id}/snapshots/{snapshotId}`

## Request

- Base URL: `/` (relative, and the document was published on a file host, not at the API’s origin)
- URL: `/api/v1/queues/{id}/snapshots/{snapshotId}`
- Auth: none declared
- TypeScript: <https://skmtc.dev/usnistgov/apis/dioptra-rest-api/docs/api/v1/queues/:id/snapshots/:snapshotId/get.ts> (a function with typed inputs; its response is checked against the schema)

## Headers

- `X-Fields` string, mask

## Response `200`

Success

- SnapshotsIdQueueDump
  - `id` integer: ID for the Queue resource.
  - `snapshot` integer: ID for the underlying Queue snapshot.
  - `group` GroupRef
    - `id` integer: ID for the Group resource.
    - `name` string: Name of the Group resource.
    - `url` string: URL for accessing the full Group resource.
  - `user` UserRefDump
    - `id` integer: ID for the User resource.
    - `username` string: Username of the User resource.
    - `url` string: URL for accessing the full User resource.
  - `createdOn` string, date-time: Timestamp when the Queue resource was created.
  - `snapshotCreatedOn` string, date-time: Timestamp when the Queue resource snapshot was created.
  - `lastModifiedOn` string, date-time: Timestamp when the Queue resource was last modified.
  - `latestSnapshot` boolean: Whether or not the Queue resource is the latest version.
  - `hasDraft` boolean: Whether a draft exists for the Queue resource.
  - `tags` TagRefDump[]
    - `id` integer: ID for the Tag.
    - `name` string: Name of the Tag.
    - `group` GroupRef
      - `id` integer: ID for the Group resource.
      - `name` string: Name of the Group resource.
      - `url` string: URL for accessing the full Group resource.
    - `url` string: URL for accessing the full Tag.
  - `deleted` boolean: Whether the Queue resource has been deleted.
  - `name` string, required: Name of the Queue resource.
  - `description` string: Description of the Queue resource.

## Changes

- **2026-09-30** `7615a76631a4`: 4 breaking, 2 warning, 1 info
  - the `group` response's property type changed from `object` to no type for status `200`
  - the `tags/items/` response's property type changed from `object` to no type for status `200`
  - the `tags/items/allOf[#/components/schemas/TagRef-dump]/group` response's property type changed from `object` to no type for status `200`
  - the `user` response's property type changed from `object` to no type for status `200`
  - …3 more
- **2026-02-11** `a73101579c5c`: 1 info
  - added the optional property `snapshotCreatedOn` to the response with the `200` status
- **2024-07-26** `9a36b9043379`: 1 warning
  - removed the optional property `snapshotCreatedOn` from the response with the `200` status

[Operation history](https://skmtc.dev/usnistgov/apis/dioptra-rest-api/changes/api/v1/queues/:id/snapshots/:snapshotId/get.md)

---

[API](https://skmtc.dev/usnistgov/apis/dioptra-rest-api.md) - [All operations](https://skmtc.dev/usnistgov/apis/dioptra-rest-api/llms.txt) - [OpenAPI document](https://skmtc.dev/usnistgov/apis/dioptra-rest-api/revisions/e1a0ec3a40b2?raw)
