Download Snapshot images as ZIP

GET /api/0/organizations/{organization_id_or_slug}/preprodartifacts/snapshots/{snapshot_id}/download/

Download all images in a snapshot as a ZIP archive.

The response is a streaming application/zip file. Images that share the same content hash are deduplicated during fetch but written under their original filenames in the archive.

This endpoint requires a bearer token with project:read access.

Path Parameters

organization_id_or_slug (string)
REQUIRED

The ID or slug of the organization the resource belongs to.

snapshot_id (string)
REQUIRED

The ID of the snapshot to download.

Scopes

<auth_token> requires one of the following scopes:
  • org:ci
  • project:admin
  • project:read
  • project:releases
  • project:write
Copied
curl https://sentry.io/api/0/organizations/{organization_id_or_slug}/preprodartifacts/snapshots/{snapshot_id}/download/ \
 -H 'Authorization: Bearer <auth_token>'
RESPONSE
Copied
A ZIP archive containing all snapshot images.
Was this helpful?