---
title: "Get file snapshots"
method: GET
path: "/sessions/{id}/snapshots"
tags: ["Sessions"]
---

# Get file snapshots

`GET /sessions/{id}/snapshots`

Retrieve file snapshots captured during the session, showing
the state of files at specific points in time.

## Path parameters

- `id` string, required

## Response `200`

File snapshots

- SnapshotsResponse
  - `data` FileSnapshot[], required
    - `tool_id` string, required — Tool invocation that created snapshot
    - `file_path` string, required — Path to the file
    - `content` string, required — File content at snapshot time
    - `created_at` string, date-time, required

## Other responses

- `404` — Resource not found
- `500` — Internal server error

---

[API](https://skmtc.net/humanlayer/apis/humanlayer-daemon-rest-api.md) · [All operations](https://skmtc.net/humanlayer/apis/humanlayer-daemon-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/humanlayer/humanlayer-daemon-rest-api/versions/02da8cb8aa12/schema)
