googleworkspace avatar

Gws Admin Reports

Pulls audit logs and usage reports from Google Workspace Admin SDK, giving you programmatic access to who did what and when in your organization. You can track admin console activities, monitor Drive usage patterns, generate customer usage summaries, and set up real-time notifications for security events. The CLI wraps the reports_v1 API with straightforward commands for each resource type. It's essential for compliance reporting, security monitoring, and understanding how your team actually uses Google Workspace tools. The schema inspection feature helps you build the right queries without constantly referring to Google's API docs.

skills.sh installs
31.3K
GitHub stars
32.2K
last updated
Aug 21, 2026

Install

$ npx -y skills add googleworkspace/cli --skill gws-admin-reports --agent claude-code

Installs into .claude/skills of the current project.

Files

admin-reports (reports_v1)

PREREQUISITE: Read ../gws-shared/SKILL.md for auth, global flags, and security rules. If missing, run gws generate-skills to create it.

gws admin-reports <resource> <method> [flags]

API Resources

activities

  • list — Retrieves a list of activities for a specific customer's account and application such as the Admin console application or the Google Drive application. For more information, see the guides for administrator and Google Drive activity reports. For more information about the activity report's parameters, see the activity parameters reference guides.
  • watch — Start receiving notifications for account activities. For more information, see Receiving Push Notifications.

channels

  • stop — Stop watching resources through this channel.

customerUsageReports

  • get — Retrieves a report which is a collection of properties and statistics for a specific customer's account. For more information, see the Customers Usage Report guide. For more information about the customer report's parameters, see the Customers Usage parameters reference guides.

entityUsageReports

Sponsors

Details

Repository
github.com/googleworkspace/cli
Categories
CLI & Terminal, Office & Documents

More from googleworkspace/cli

All 113
1googleworkspace avatarrecipe-generate-report-from-sheetgoogleworkspace/cliRead data from a Google Sheet and create a formatted Google Docs report.31.2Kskills.sh installs
2googleworkspace avatarrecipe-reschedule-meetinggoogleworkspace/cliMove a Google Calendar event to a new time and automatically notify all attendees.31.1Kskills.sh installs
3googleworkspace avatarrecipe-block-focus-timegoogleworkspace/cliCreate recurring focus time blocks on Google Calendar to protect deep work hours.31Kskills.sh installs
4googleworkspace avatarrecipe-watch-drive-changesgoogleworkspace/cliSubscribe to change notifications on a Google Drive file or folder.31Kskills.sh installs
5googleworkspace avatarrecipe-create-shared-drivegoogleworkspace/cliCreate a Google Shared Drive and add members with appropriate roles.31Kskills.sh installs
6googleworkspace avatarrecipe-share-doc-and-notifygoogleworkspace/cliShare a Google Docs document with edit access and email collaborators the link.30.9Kskills.sh installs