---
title: "PR analysis data"
method: GET
path: "/analysis"
---

# PR analysis data

`GET /analysis`

Returns the app size analysis results and any performance test analysis results, as well as PR comments. This endpoint should be used in favor of `/comment`, as it provides a superset of the data. Further, instead of returning a 4xx response when it's not ready yet (which is what /comment does), it will return a 200 response and indicate within the JSON which jobs are still in progress. Must specify either `sha` or `emergeId`.

## Query parameters

- `sha` string
- `emergeId` string
- `baseSha` string
- `baseEmergeId` string
- `platform` string
- `appId` string

## Response `200`

Success

## Other responses

- `404` — Base or head build not found, or still processing

---

[API](https://skmtc.dev/emergetools/apis/emerge-api.md) · [All operations](https://skmtc.dev/emergetools/apis/emerge-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/emergetools/emerge-api/revisions/5af529b19931/schema)
