---
title: "Get a layer snapshot"
method: GET
path: "/clouddiagrams/v1/statussheet/{id}/snapshot"
tags: ["Cloud Diagrams"]
---

# Get a layer snapshot

`GET /clouddiagrams/v1/statussheet/{id}/snapshot`

Returns a single snapshot of the specified diagram layer identified by its ID.

## Path parameters

- `id` string, required

## Query parameters

- `snapshot_id` string, required

## Response `200`

OK - Snapshot returned.

- CloudDiagramLayerSnapshot — A saved snapshot of a diagram layer's state.
  - `_id` string, required — Snapshot ID.
  - `name` string — Snapshot name.
  - `createdAt` string, date-time, required — Timestamp when the snapshot was created.
  - `prevState` string — ID of the previous snapshot in the chain.

## Other responses

- `400` — Bad Request - The server cannot process the request, often due to a malformed request.
- `401` — Unauthorized - Invalid API key.
- `403` — Forbidden - Either the resource does not exist, or the caller is not authorized to access it. These two cases are deliberately indistinguishable to avoid information disclosure: the access guard runs before any existence check, so callers receive 403 (not 404) for unknown IDs on this endpoint. Used by Cloud Diagrams routes keyed by a path-param resource id (e.g. `/clouddiagrams/v1/statussheet/{id}/...`).

---

[API](https://skmtc.dev/doit/apis/doit-cloud-intelligence.md) · [All operations](https://skmtc.dev/doit/apis/doit-cloud-intelligence/llms.txt) · [OpenAPI document](https://skmtc.dev/doit/apis/doit-cloud-intelligence/revisions/9416402fc119?raw)
