---
title: "List disk snapshots of a Devbox."
method: GET
path: "/v1/devboxes/disk_snapshots"
tags: ["Devbox", "Devbox-PersistenceTools"]
---

# List disk snapshots of a Devbox.

`GET /v1/devboxes/disk_snapshots`

List all snapshots of a Devbox while optionally filtering by Devbox ID, source Blueprint ID, and metadata.

## Query parameters

- `devbox_id` string
- `source_blueprint_id` string
- `metadata[key]` string
- `metadata[key][in]` string
- `limit` integer
- `starting_after` string
- `include_total_count` boolean

## Response `200`

OK

- DevboxDiskSnapshotListView
  - `snapshots` DevboxDiskSnapshotView[], required — List of snapshots matching filter.
    - `id` string, required — The unique identifier of the snapshot.
    - `name` string, nullable — (Optional) The custom name of the snapshot.
    - `create_time_ms` integer, required — Creation time of the Snapshot (Unix timestamp milliseconds).
    - `metadata` object, required — User defined metadata associated with the snapshot.
    - `source_devbox_id` string, required — The source Devbox ID this snapshot was created from.
    - `source_blueprint_id` string, nullable — (Optional) The source Blueprint ID this snapshot was created from.
    - `commit_message` string, nullable — (Optional) The commit message of the snapshot (max 1000 characters).
    - `size_bytes` integer, nullable — (Optional) The size of the snapshot in bytes, relative to the base blueprint.
  - `has_more` boolean, required
  - `total_count` integer, nullable

## Other responses

- `404` — Devbox not found.

---

[API](https://skmtc.net/runloopai/apis/runloop-api.md) · [All operations](https://skmtc.net/runloopai/apis/runloop-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/runloopai/runloop-api/versions/ef553a04de89/schema)
