get_top_app_versions
Sort app versions by unique session count. Apply filters like OS, period, and event name to focus on specific user segments.
Instructions
Top app versions by unique sessions for the period.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| appId | Yes | Aptabase app id (from list_apps) | |
| osName | No | Filter by OS name (e.g. iOS, Android, macOS) | |
| period | No | Dashboard period preset. Prefer this over startDate/endDate. Defaults to 24h for stats tools when neither period nor dates are set. | |
| endDate | No | ISO end datetime (use with startDate if not using period) | |
| buildMode | No | Release or debug build mode (debug queries appId_DEBUG) | release |
| eventName | No | Filter by event name | |
| startDate | No | ISO start datetime (use with endDate if not using period) | |
| appVersion | No | Filter by app version | |
| countryCode | No | Filter by ISO country code | |
| deviceModel | No | Filter by device model | |
| granularity | No | Override bucket size; auto-derived from period/range when omitted |