Retrieve Snapshot image detail

GET /api/0/organizations/{organization_id_or_slug}/preprodartifacts/snapshots/{snapshot_id}/images/{image_identifier}/

Retrieve detailed information for a single image within a snapshot.

The image_identifier can be either the image filename or its content hash. The response includes head and base image metadata, comparison status, diff image URL, diff percentage, and previous filename for renames.

This endpoint uses a flat response format with nullable fields designed for LLM/MCP consumers.

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.

image_identifier (string)
REQUIRED

The image filename or content hash.

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}/images/{image_identifier}/ \
 -H 'Authorization: Bearer <auth_token>'
RESPONSESCHEMA
Copied
{ "image_file_name": "home_screen_iphone15.png", "comparison_status": "changed", "head_image": { "content_hash": "a1b2c3d4e5f6", "display_name": "Home Screen", "group": "iPhone 15", "image_file_name": "home_screen_iphone15.png", "width": 1170, "height": 2532, "diff_threshold": 0.01, "description": null, "tags": null, "image_url": "/api/0/projects/org-slug/project-slug/files/images/a1b2c3d4e5f6/" }, "base_image": { "content_hash": "old_hash_123", "display_name": "Home Screen", "group": "iPhone 15", "image_file_name": "home_screen_iphone15.png", "width": 1170, "height": 2532, "diff_threshold": 0.01, "description": null, "tags": null, "image_url": "/api/0/projects/org-slug/project-slug/files/images/old_hash_123/" }, "diff_image_url": "/api/0/projects/org-slug/project-slug/files/images/diff_hash_456/", "diff_percentage": 0.02, "previous_image_file_name": null }
Was this helpful?