fetch_analytics_report
Fetch a complete App Store Connect analytics report: resolve the request, find the report instance, and download its rows for a given app ID and report name.
Instructions
Fetch one analytics report end to end: request, report, instance, rows.
Resolves the app's report request, finds the report by name, picks the instance (the latest processing date unless one is given) and downloads its segments. Call list_reports first if you do not know the exact report name.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"app_id": "<app_id>",
"report_name": "<report_name>"
},
"name": "fetch_analytics_report"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| app_id | Yes | Numeric app ID from list_apps. | |
| max_rows | No | Cap on returned rows (1-20000). | |
| max_bytes | No | Safety cap per segment, after decompression. | |
| access_type | No | "ONGOING" (default) or "ONE_TIME_SNAPSHOT". | ONGOING |
| granularity | No | "DAILY" (default), "WEEKLY" or "MONTHLY". | DAILY |
| report_name | Yes | Exact report name, e.g. as returned by list_reports. | |
| processing_date | No | Optional "YYYY-MM-DD"; defaults to the latest instance. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||