Mobile Builds
Retrieve Size Analysis results for a given artifact
Retrieve size analysis results for a given artifact.
Returns size metrics including download size, install size, and optional insights. When a base artifact exists (either from commit comparison or via the baseArtifactId parameter), comparison data showing size differences is included.
The response state field indicates the analysis status:
- PENDING: Analysis has not started yet.
- PROCESSING: Analysis is currently running.
- FAILED / NOT_RAN: Analysis did not complete; errorCode and errorMessage are included.
- COMPLETED: Analysis finished successfully with full size data.
get/api/0/organizations/{organization_id_or_slug}/preprodartifacts/{artifact_id}/size-analysis/
Path parameters
organization_id_or_slugstring required
The ID or slug of the organization the resource belongs to.
artifact_idstring required
The ID of the build artifact.
Query parameters
baseArtifactIdstring
Optional ID of the base artifact to compare against. If not provided, uses the default base head artifact.