query_error_counts
Get absolute crash and ANR counts over time, segmented by report type and issue, to pinpoint which issues drive error volume.
Instructions
Query absolute counts of error reports (crashes and ANRs) over time: errorReportCount and distinctUsers. Rows are always broken down by reportType (CRASH/ANR/NON_FATAL), which the API requires; add issueId to see which issues drive the volume, then use search_error_issues for details.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Max rows to return (default: 50) | |
| filter | No | AIP-160 filter over dimensions, e.g. "versionCode = 415" | |
| metrics | No | Metrics to fetch (default: errorReportCount, distinctUsers) | |
| end_date | Yes | End date (inclusive) as YYYY-MM-DD, e.g. '2026-08-13' | |
| dimensions | No | Break the metrics down by these dimensions, e.g. ['versionCode','deviceModel'] | |
| start_date | Yes | Start date (inclusive) as YYYY-MM-DD, e.g. '2026-08-01' | |
| package_name | No | App package name, e.g. 'com.acme.app' (defaults to GOOGLE_PLAY_PACKAGE_NAME) | |
| aggregation_period | No | Aggregation granularity (default: DAILY) |