# Admin SDK API API

> Admin SDK API API on Apizie: 6 endpoints (Retrieves a list of activities for a specific customer's account and application such as the Admin console…, Start receiving notifications for account activities. For more information, see Receiving Push Notifications., Stop watching resources through this channel., Retrieves a report which is a collection of properties and statistics for a specific customer's account. For…, …) returned as clean JSON through one API key. Send your own provider key in the x-upstream-key header. Call it over REST at https://zieapi.vercel.app/v1/analytics:googleapis-admin/{endpoint} or from Claude, ChatGPT and Cursor through the Apizie MCP server. Free plan: 1,000 requests a month.

- Project key: `analytics:googleapis-admin`
- Category: Analytics
- Status: byok
- Source: https://developers.google.com/workspace/admin/
- Page: https://zieapi.vercel.app/api/analytics/googleapis-admin
- OpenAPI: https://zieapi.vercel.app/api/analytics/googleapis-admin/openapi.json

Admin SDK lets administrators of enterprise domains to view and manage resources like user, groups etc. It also provides audit and usage reports of domain.

## Endpoints

### Retrieves a list of activities for a specific customer's account and application such as the Admin console…
`GET https://zieapi.vercel.app/v1/analytics:googleapis-admin/reports-activities-list` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| actorIpAddress | string | no | The Internet Protocol (IP) Address of host where the event was performed. This is an additional way to filter a report's summary using the… |
| agentInfoFilter | string | no | Optional. Filters on agent info fields in the activity. This filter gets applied in conjunction(AND) with other filters. Example:… |
| applicationInfoFilter | string | no | Optional. Used to filter on the `oAuthClientId` field present in [`ApplicationInfo`](#applicationinfo) message. **Usage** ```… |
| applicationName | string | yes | Application name for which the events are to be retrieved. |
| customerId | string | no | The unique ID of the customer to retrieve data for. |
| deviceFilter | string | no | Optional. Used to filter on the fields present in [`UserDeviceInfo`](#userdeviceinfo) message like `deviceId`, `deviceType`, and… |
| endTime | string | no | Sets the end of the range of time shown in the report. The date is in the RFC 3339 format, for example 2010-10-28T10:26:35.000Z. The… |
| eventName | string | no | The name of the event being queried by the API. Each `eventName` is related to a specific Google Workspace service or feature which the… |
| filters | string | no | The `filters` query string is a comma-separated list composed of event parameters manipulated by relational operators. Event parameters… |
| groupIdFilter | string | no | Comma separated group ids (obfuscated) on which user activities are filtered, i.e. the response will contain activities for only those… |
| includeSensitiveData | boolean | no | Optional. When set to `true`, this field allows sensitive user-generated content to be included in the returned audit logs. This parameter… |
| maxResults | integer | no | Determines how many activity records are shown on each response page. For example, if the request sets `maxResults=1` and the report has… |
| networkInfoFilter | string | no | Optional. Used to filter on the `regionCode` field present in [`NetworkInfo`](#networkinfo) message. **Usage** ```… |
| orgUnitID | string | no | ID of the organizational unit to report on. Activity records will be shown only for users who belong to the specified organizational unit.… |
| pageToken | string | no | The token to specify next page. A report with multiple pages has a `nextPageToken` property in the response. In your follow-on request… |
| resourceDetailsFilter | string | no | Optional. The `resourceDetailsFilter` query string is an AND separated list composed of [Resource Details](#resourcedetails) fields… |
| startTime | string | no | Sets the beginning of the range of time shown in the report. The date is in the RFC 3339 format, for example 2010-10-28T10:26:35.000Z. The… |
| statusFilter | string | no | Optional. Used to filter on the `statusCode` field present in [`Status`](#status) message. **Usage** ```… |
| userKey | string | yes | Represents the profile ID or the user email for which the data should be filtered. Can be `all` for all information, or `userKey` for a… |

### Start receiving notifications for account activities. For more information, see Receiving Push Notifications.
`POST https://zieapi.vercel.app/v1/analytics:googleapis-admin/reports-activities-watch` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| actorIpAddress | string | no | The Internet Protocol (IP) Address of host where the event was performed. This is an additional way to filter a report's summary using the… |
| applicationName | string | yes | Application name for which the events are to be retrieved. |
| customerId | string | no | The unique ID of the customer to retrieve data for. |
| endTime | string | no | Sets the end of the range of time shown in the report. The date is in the RFC 3339 format, for example 2010-10-28T10:26:35.000Z. The… |
| eventName | string | no | The name of the event being queried by the API. Each `eventName` is related to a specific Google Workspace service or feature which the… |
| filters | string | no | The `filters` query string is a comma-separated list composed of event parameters manipulated by relational operators. Event parameters… |
| groupIdFilter | string | no | `Deprecated`. This field is deprecated and is no longer supported. Comma separated group ids (obfuscated) on which user activities are… |
| maxResults | integer | no | Determines how many activity records are shown on each response page. For example, if the request sets `maxResults=1` and the report has… |
| orgUnitID | string | no | `Deprecated`. This field is deprecated and is no longer supported. ID of the organizational unit to report on. Activity records will be… |
| pageToken | string | no | The token to specify next page. A report with multiple pages has a `nextPageToken` property in the response. In your follow-on request… |
| startTime | string | no | Sets the beginning of the range of time shown in the report. The date is in the RFC 3339 format, for example 2010-10-28T10:26:35.000Z. The… |
| userKey | string | yes | Represents the profile ID or the user email for which the data should be filtered. Can be `all` for all information, or `userKey` for a… |
| body | object | yes | JSON request body |

### Stop watching resources through this channel.
`POST https://zieapi.vercel.app/v1/analytics:googleapis-admin/admin-channels-stop` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| body | object | yes | JSON request body |

### Retrieves a report which is a collection of properties and statistics for a specific customer's account. For…
`GET https://zieapi.vercel.app/v1/analytics:googleapis-admin/reports-customer-usage-reports-get` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| customerId | string | no | The unique ID of the customer to retrieve data for. |
| date | string | yes | Represents the date the usage occurred, based on UTC-8:00 (Pacific Standard Time). The timestamp is in the [ISO 8601… |
| pageToken | string | no | Token to specify next page. A report with multiple pages has a `nextPageToken` property in the response. For your follow-on requests… |
| parameters | string | no | The `parameters` query string is a comma-separated list of event parameters that refine a report's results. The parameter is associated… |

### Retrieves a report which is a collection of properties and statistics for entities used by users within the…
`GET https://zieapi.vercel.app/v1/analytics:googleapis-admin/reports-entity-usage-reports-get` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| customerId | string | no | The unique ID of the customer to retrieve data for. |
| date | string | yes | Represents the date the usage occurred, based on UTC-8:00 (Pacific Standard Time). The timestamp is in the [ISO 8601… |
| entityKey | string | yes | Represents the key of the object to filter the data with. It is a string which can take the value `all` to get activity events for all… |
| entityType | string | yes | Represents the type of entity for the report. |
| filters | string | no | The `filters` query string is a comma-separated list of an application's event parameters where the parameter's value is manipulated by a… |
| maxResults | integer | no | Determines how many activity records are shown on each response page. For example, if the request sets `maxResults=1` and the report has… |
| pageToken | string | no | Token to specify next page. A report with multiple pages has a `nextPageToken` property in the response. In your follow-on request getting… |
| parameters | string | no | The `parameters` query string is a comma-separated list of event parameters that refine a report's results. The parameter is associated… |

### Retrieves a report which is a collection of properties and statistics for a set of users with the account.…
`GET https://zieapi.vercel.app/v1/analytics:googleapis-admin/reports-user-usage-report-get` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| customerId | string | no | The unique ID of the customer to retrieve data for. |
| date | string | yes | Represents the date the usage occurred, based on UTC-8:00 (Pacific Standard Time). The timestamp is in the [ISO 8601… |
| filters | string | no | The `filters` query string is a comma-separated list of an application's event parameters where the parameter's value is manipulated by a… |
| groupIdFilter | string | no | Comma separated group ids (obfuscated) on which user activities are filtered, i.e. the response will contain activities for only those… |
| maxResults | integer | no | Determines how many activity records are shown on each response page. For example, if the request sets `maxResults=1` and the report has… |
| orgUnitID | string | no | ID of the organizational unit to report on. User activity will be shown only for users who belong to the specified organizational unit.… |
| pageToken | string | no | Token to specify next page. A report with multiple pages has a `nextPageToken` property in the response. In your follow-on request getting… |
| parameters | string | no | The `parameters` query string is a comma-separated list of event parameters that refine a report's results. The parameter is associated… |
| userKey | string | yes | Represents the profile ID or the user email for which the data should be filtered. Can be `all` for all information, or `userKey` for a… |

## Example
```
curl "https://zieapi.vercel.app/v1/analytics:googleapis-admin/reports-activities-list" \
  -H "x-api-key: $APIZIE_KEY" \
  -H "x-upstream-key: $PROVIDER_KEY"
```

## FAQ

### How do I call the Admin SDK API API?
Create a free Apizie key, then send GET https://zieapi.vercel.app/v1/analytics:googleapis-admin/reports-activities-list with the header x-api-key. Every endpoint returns { project, data, timestamp }.

### Is the Admin SDK API API free on Apizie?
Yes. The Free plan includes 1,000 requests a month at 100 requests a minute, no credit card. Admin SDK API itself also needs your own key from googleapis.com.

### Can AI agents use the Admin SDK API API?
Yes. Add the Apizie MCP server (https://zieapi.vercel.app/mcp) to Claude, ChatGPT, Cursor or VS Code, then ask in plain language. The agent calls run_scraper with project key analytics:googleapis-admin.

### What is the status of the Admin SDK API API?
Needs your own provider key (bring your own key)
