Gws Admin Reports
Google Workspace Admin SDK: Audit logs and usage reports.
$ npx claude-code-templates@latest --command="google-workspace/gws-admin-reports" --yesRequires Claude Code. The command adds this command to your project's .claudedirectory — nothing runs on ToolZip's servers.
What's inside this command
Component source
Google Workspace Admin Reports
Execute Google Workspace Admin Reports operations: $ARGUMENTS
Prerequisites
- Google Workspace CLI (
gws) must be installed - Authentication configured: Run
gws auth statusto verify - Review
gws admin-reports --helpfor all available commands
Available Resources and Methods
admin-reports (reports_v1)
PREREQUISITE: Read../gws-shared/SKILL.mdfor auth, global flags, and security rules. If missing, rungws generate-skillsto 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
- get — Retrieves a report which is a collection of properties and statistics for entities used by users within the account. For more information, see the Entities Usage Report guide. For more information about the entities report's parameters, see the Entities Usage parameters reference guides.
userUsageReport
- get — Retrieves a report which is a collection of properties and statistics for a set of users with the account. For more information, see the User Usage Report guide. For more information about the user report's parameters, see the Users Usage parameters reference guides.
Discovering Commands
Before calling any API method, inspect it:
# Browse resources and methods
gws admin-reports --help
# Inspect a method's required params, types, and defaults
gws schema admin-reports.<resource>.<method>
Use gws schema output to build your --params and --json flags.
Usage
# List available resources and methods
gws admin-reports --help
# Inspect method schema before calling
gws schema admin-reports.<resource>.<method>
# Execute command with arguments
gws admin-reports $ARGUMENTS
Task
Execute the requested Admin Reports operation: $ARGUMENTS
- Verify Prerequisites
gws is installed: gws --version
- Verify authentication: gws auth status
- Review available commands: gws admin-reports --help
- Inspect Method Schema
- Use gws schema to understand required fields
- Review parameter types and constraints
- Execute Operation
- Use --params for query/path parameters
- Use --json for request body
- Handle pagination with --max-results or --page-token
- Error Handling
- Review API quotas and rate limits
- Handle authentication issues
- Retry transient failures
License: Apache License 2.0 Source: Google Workspace CLI Original Skill:
gws-admin-reportsRelated Claude Code Commands
Gws Events Renew
Google Workspace Events: Renew/reactivate Workspace Events subscriptions.
Gws Sheets Read
Google Sheets: Read values from a spreadsheet.
Gws Calendar Insert
Google Calendar: Create a new event.
Gws Gmail Watch
Gmail: Watch for new emails and stream them as NDJSON.
Gws Sheets Append
Google Sheets: Append a row to a spreadsheet.
Gws Alertcenter
Google Workspace Alert Center: Manage Workspace security alerts.
Catalog data and component content are sourced from the open-source davila7/claude-code-templates project (MIT license). ToolZip curates the listing and writes original descriptions; every component links back to its original source. Claude Code is a product of Anthropic. ToolZip is an independent catalog and is not affiliated with or endorsed by Anthropic.