Measure logo
REST API ReferenceDashboard APIMemory

Fetch memory usage by device tier

GET/apps/{id}/memory/plots/breakdown

Returns memory usage percentiles (p50, p90 and p95) for each device memory tier across the date range, with the number of sessions and samples in each tier.

  • Values are in KB (1024 bytes). Android reports anonymous RSS plus swap, and iOS and iPadOS report used memory.
  • Tiers are ordered from smallest to largest, followed by unknown. Tiers without samples are left out.
  • Android tiers use the device's RAM, and iOS and iPadOS tiers use the sample's max_memory.
  • Filter by app state with app_state:eq:<value>. It applies to Android samples only. Without it, samples of every app state are included.

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. Omitting both from and to returns the last seven days.

to?string

ISO 8601 UTC string in milliseconds precision. Example: 2023-11-01T18:30:00.000Z. Omitting both from and to returns the last seven days.

filter_expr?string

Conditions joined by AND or OR and grouped with parentheses, each reading key:operator:values with the names /apps/{id}/filters/keys publishes. AND binds tighter than OR.

version_name:in:[1.2.0,1.1.9] AND mapping_type:not_in:jsbundle(version_name:contains:SNAPSHOT AND mapping_type:in:proguard) OR patch_id:is_set

An operator taking no values ends its condition, as patch_id:is_set does. Double-quote a value holding a space, comma, bracket, colon or quote, with \" and \\ inside.

At most 4096 bytes, 32 conditions, 4 levels of nesting and 200 values in one condition.

Response Body

application/json

curl -X GET "https://example.com/apps/497f6eca-6276-4993-bfeb-53cbbbba6f08/memory/plots/breakdown"
[  {    "device_total_memory_tier": "5-6gb",    "p50": 102400,    "p90": 204800,    "p95": 307200,    "session_count": 30,    "sample_count": 1200  }]

Think this page can be better?

Open an issue