Run report
documentedGenerate a standard GA4 report for a given property.
POST /v1beta/{property=properties/*}:runReportAnalytics Data APIno implementation yet0 runsNo 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}}:runReport" \
-X POST \
-H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-d '{ "dateRanges": [ { "startDate": "{{$startDate}}", "endDate": "{{$endDate}}" } ], "dimensions": [ { "name": "{{$dimension1}}" } ], "metrics": [ { "name": "{{$metric1}}" } ], "limit": "{{$limit}}", "offset": "{{$offset}}" }'