Sign in

Run access report

documented

Generate an access report for an account.

POST /v1beta/accounts:runAccessReportAnalytics 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://analyticsadmin.googleapis.com/v1beta/accounts/{{$account_id}}:runAccessReport" \
  -X POST \
  -H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json" \
  -d '{
    "dimensions": [{"name": "{{$dimensionName}}"}],
    "metrics": [{"name": "{{$metricName}}"}],
    "dateRanges": [{"startDate": "{{$startDate}}", "endDate": "{{$endDate}}"}],
    "timeZone": "{{$timeZone}}",
    "limit": "{{$limit}}",
    "offset": "{{$offset}}",
    "returnEntityQuota": {{$returnEntityQuota}},
    "includeAllUsers": {{$includeAllUsers}},
    "expandGroups": {{$expandGroups}}
  }'
Run access report · Google Analytics · OpenIntegrations