Sign in

Run access report

documented

Generate an access report for an account.

POST /v1beta/accounts:runAccessReportAnalytics Admin 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:runAccessReport" \
  -X POST \
  -H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json" \
  -d '{"entity": "accounts/{{$account_id}}", "dimensions": [{"dimensionName": "{{$dimension_name}}"}], "metrics": [{"metricName": "{{$metric_name}}"}], "dateRanges": [{"startDate": "{{$start_date}}", "endDate": "{{$end_date}}"}], "timeZone": "{{$time_zone}}", "offset": "{{$offset}}", "limit": "{{$limit}}"}'