Measure logo
REST API ReferenceDashboard APIApps

Fetch an app's health metrics

GET/apps/{id}/metrics

Fetch an app's health metrics. Filter time range using from & to query string parameters. Filter version using versions & version_codes query string parameters.

Both versions & version_codes should be present if any one of them is present, and the number of items in each must be the same. from & to values must be ISO 8601 UTC strings in milliseconds precision and default to a last 7 days time range if not supplied. Only the first version in versions & version_codes is used to query at the moment.

nan can be true in the response if some computed values result in a division by zero error.

Authorization

bearerAuth
AuthorizationBearer <token>

User access token issued at sign-in. Sent as Authorization: Bearer <access-token> unless cookies are used to send tokens. The /auth/refresh and /auth/signout endpoints expect the session's refresh token in the same header format instead.

In: header

Path Parameters

id*string

App's UUID.

Formatuuid

Query Parameters

from?string

ISO 8601 UTC string in milliseconds precision. Example: 2023-11-01T18:30:00.000Z.

to?string

ISO 8601 UTC string in milliseconds precision. Example: 2023-11-08T18:30:00.000Z.

versions?string

Comma separated version identifiers. Only the first version will be used to query at the moment.

version_codes?string

Comma separated version codes. Only the first version will be used to query at the moment.

Response Body

application/json

curl -X GET "https://example.com/apps/497f6eca-6276-4993-bfeb-53cbbbba6f08/metrics"
{  "adoption": {    "all_versions": 53,    "selected_version": 23,    "adoption": 43.4,    "nan": false  },  "anr_free_sessions": {    "anr_free_sessions": 100,    "delta": 1,    "nan": false  },  "cold_launch": {    "delta": 0,    "nan": true,    "p95": 0  },  "crash_free_sessions": {    "crash_free_sessions": 0,    "delta": 1,    "nan": false  },  "hot_launch": {    "delta": 0,    "nan": true,    "p95": 0  },  "perceived_anr_free_sessions": {    "perceived_anr_free_sessions": 100,    "delta": 1,    "nan": false  },  "perceived_crash_free_sessions": {    "perceived_crash_free_sessions": 0,    "delta": 1,    "nan": false  },  "sizes": {    "average_app_size": 26298701,    "selected_app_size": 25887094,    "delta": -411607,    "nan": false  },  "warm_launch": {    "delta": 0,    "nan": true,    "p95": 0  }}
Empty
Empty
Empty
Empty
Empty

Think this page can be better?

Open an issue