Sign in

Batch run reports

documented

Execute multiple reports in a single API call.

POST /v1beta/{property=properties/*}:batchRunReportsAnalytics Data APIno implementation yet0 runs
No implementation yet. Run it to have the agent write one, or open a pull request with your own.

Seed example (keychains curl)

npx -y keychains@latest curl "https://analyticsdata.googleapis.com/v1beta/{{$property}}:batchRunReports" \
  -X POST \
  -H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json" \
  -d '{"requests": [ {"dimensions": [ {"name": "{{$dimension_name}}"} ], "metrics": [ {"name": "{{$metric_name}}"} ], "dateRanges": [ {"startDate": "{{$start_date}}", "endDate": "{{$end_date}}"} ] , "limit": {{$limit}} } ] }'
Batch run reports · Google Analytics · OpenIntegrations