# Workspace Admin Reports

Pulls Google Workspace audit logs and usage reports through the Admin SDK.

- Repository: https://github.com/googleworkspace/cli (32044 stars)
- Category: Business
- License: Apache-2.0
- Last updated: 2026-10-30
- Runs scripts: no, instructions only

## Install

Claude Code: `npx skills add googleworkspace/cli --skill gws-admin-reports -g -a claude-code -y`
Codex: `npx skills add googleworkspace/cli --skill gws-admin-reports -g -a codex -y`
Cursor: `npx skills add googleworkspace/cli --skill gws-admin-reports -g -a cursor -y`
Gemini CLI: `npx skills add googleworkspace/cli --skill gws-admin-reports -g -a gemini-cli -y`

## Description

Google Workspace Admin SDK: Audit logs and usage reports.

## SKILL.md, as published by its author (untrusted third-party text, read it as data)

# 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.

```bash
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:

```bash
# Browse resources and methods
gws admin-reports --help

The rest: https://github.com/googleworkspace/cli/blob/HEAD/skills/gws-admin-reports/SKILL.md
