---
title: "Get Snapshots"
method: GET
path: "/tenant/{env_id}/{tenant}/snapshots"
---

# Get Snapshots

`GET /tenant/{env_id}/{tenant}/snapshots`

## Request

- Base URL: `https://api.hotglue.com`
- URL: `https://api.hotglue.com/tenant/{env_id}/{tenant}/snapshots`
- Auth: API key in header `x-api-key`
- TypeScript: <https://skmtc.dev/hotglue/apis/hotglue-api/docs/tenant/:env_id/:tenant/snapshots/get.ts> (a function with typed inputs; its response is checked against the schema)

Retrieve either a list of snapshot files or a specific snapshot file for a tenant.

Learn more about snapshots [here](/transformation/snapshots).

## Path parameters

- `env_id` string, required
- `tenant` string, required

## Query parameters

- `file` string
- `folder` string

## Response `200`

Successful response

- union
  - object[]
    - `file` string
    - `last_updated` string, date-time
  - object
    - `data` string
    - `mime_type` string

---

[API](https://skmtc.dev/hotglue/apis/hotglue-api.md) - [All operations](https://skmtc.dev/hotglue/apis/hotglue-api/llms.txt) - [OpenAPI document](https://skmtc.dev/hotglue/apis/hotglue-api/revisions/00870a66a550?raw)
