IONOS Cloud Compute icon

IONOS Cloud Compute

Manage IONOS Cloud servers, volumes, images, and snapshots. Developped with Love by Ascenzia (ascenzia.fr)

Snapshot → Get Many

AI-generated

Summary

Retrieve snapshot collection

Inputs

  • returnAll — Whether to return all results or only up to a given limit.
  • limit — Maximum number of snapshot records to return (1‑10000).
  • additionalOptions — Additional query options such as depth (0‑10).

Output shape

array of snapshot objects

Pagination is controlled by limit and returnAll; if limit is omitted and returnAll is false the API defaults to a page size; depth can be set via additionalOptions.depth to control response detail.

Examples

Example 1: Fetch the first 20 snapshots with medium detail depth.

returnAll: false, limit: 20, additionalOptions: { depth: 2 }

Example 2: Retrieve all snapshots without limit.

returnAll: true

Example 3: List up to 5 snapshots with full depth.

returnAll: false, limit: 5, additionalOptions: { depth: 10 }

Links

Discussion