Run access report
documentedGenerate an access report for an account.
POST /v1beta/accounts:runAccessReportAnalytics 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://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}}
}'