---
title: "Get one historical drift snapshot"
method: GET
path: "/drift/snapshots/{snapshotId}"
tags: ["Drift"]
---

# Get one historical drift snapshot

`GET /drift/snapshots/{snapshotId}`

## Request

- Base URL: `https://api.marboba.com/v1`
- URL: `https://api.marboba.com/v1/drift/snapshots/{snapshotId}`
- Auth: HTTP bearer

## Response `200`

The requested drift snapshot

- object
  - `snapshot` DriftCurrent: The most recent drift scan for one app.
    - `appId` string
    - `scannedAt` string, date-time, nullable
    - `scannedByUid` string, nullable
    - `summary` DriftSummary
      - `totalMappings` integer
      - `inSyncCount` integer
      - `driftedCount` integer
      - `failedCount` integer
      - `neverSyncedCount` integer
      - `staleCount` integer
    - `entries` DriftEntry[]
      - `mappingId` string, required
      - `vaultItemId` string, nullable
      - `vaultItemName` string, nullable
      - `destination` string, nullable
      - `destinationKey` string, nullable
      - `environment` string, nullable
      - `severity` 'failed' | 'never_synced' | 'stale', required
      - `lastSyncedAt` string, date-time, nullable
      - `lastSyncError` string, nullable
      - `ageHours` number, nullable

## Other responses

- `400` (unresolved $ref)
- `404` (unresolved $ref)

---

[API](https://skmtc.dev/marboba/apis/marboba-public-rest-api.md) · [All operations](https://skmtc.dev/marboba/apis/marboba-public-rest-api/llms.txt) · [OpenAPI document](https://skmtc.dev/marboba/apis/marboba-public-rest-api/revisions/5b96d525d88d?raw)
