v1

latestOpenAPI 3.0.3Apache 2.02026-07-142201861.5 MB
Snapshots

Retrieve latest base Snapshot

Retrieve the most recent base snapshot for a given app.

A base snapshot is one uploaded without a base_sha (i.e., a snapshot from a base branch like main). Use the optional branch and project parameters to narrow the search.

The response includes the full image list with download URLs. Use compact_metadata=1 to reduce image metadata.

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

get/api/0/organizations/{organization_id_or_slug}/preprodartifacts/snapshots/latest-base/

Path parameters

organization_id_or_slugstring required

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

Query parameters

app_idstring required

App identifier to match.

branchstring

Git branch name to filter on.

integer
OR
string

Project ID or slug to scope the lookup.

compact_metadatastring

Set to '1' or 'true' to strip image metadata to display_name, image_file_name, group, description, and image_url only.

Response

head_artifact_idstring
project_idstring
project_slugstring
app_idstring nullable
image_countinteger
diff_thresholdnumber double nullable
date_addedstring