Devbox
Devbox-PersistenceTools

List disk snapshots of a Devbox.

Changed on

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

get/v1/devboxes/disk_snapshots

Request

  • Base URL: https://api.runloop.ai
  • URL: https://api.runloop.ai/v1/devboxes/disk_snapshots
  • Auth: HTTP bearer

Query parameters

devbox_idstring

Devbox ID to filter by.

source_blueprint_idstring

Source Blueprint ID to filter snapshots by.

metadata[key]string

Filter snapshots by metadata key-value pair. Can be used multiple times for different keys.

metadata[key][in]string

Filter snapshots by metadata key with multiple possible values (OR condition).

limitinteger

The limit of items to return. Default is 20. Max is 5000.

starting_afterstring

Load the next page of data starting after the item with the given ID.

include_total_countboolean

If true (default), includes total_count in the response. Set to false to skip the count query for better performance on large datasets.

Response

OK

has_moreboolean required
total_countinteger nullable

Changes

    • warning

      removed the optional property from the response with the status

    • info

      added the new optional query request parameter include_total_count

    • breaking

      the response property became nullable for the status

    • breaking

      the response property became nullable for the status

    • breaking

      the response property became optional for the status

    • breaking

      the response property became optional for the status