Google Admin SDK Admin Sdk Admin Reports Customer Usage Reports API

The Admin Sdk Admin Reports Customer Usage Reports API from Google Admin SDK — 1 operation(s) for admin sdk admin reports customer usage reports.

GitHub OpenAPI

Operations 1

GET /admin/reports/v1/usage/dates/{date} Get customerUsageReports #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/google-admin-sdk:google-admin-sdk-admin-reports-customer-usage-reports-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

google-admin-sdk-admin-reports-customer-usage-reports-api-openapi.yml Raw ↑
openapi: 3.1.0
info:
  title: Admin SDK API CustomerUsageReports API
  version: reports_v1
  description: Generated from Google's published Discovery document for Admin SDK API (admin reports_v1, revision 20261109).
    1 operation(s).
  contact:
    name: Google
    url: https://developers.google.com/
  termsOfService: https://developers.google.com/terms
externalDocs:
  url: https://developers.google.com/workspace/admin/
servers:
- url: https://admin.googleapis.com
paths:
  /admin/reports/v1/usage/dates/{date}:
    get:
      operationId: reports.customerUsageReports.get
      summary: Get customerUsageReports
      description: '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. '
      parameters:
      - name: date
        in: path
        required: true
        description: Represents the date the usage occurred, based on UTC-8:00 (Pacific Standard Time). The timestamp is in
          the [ISO 8601 format](https://en.wikipedia.org/wiki/ISO_8601), `yyyy-mm-dd`.
        schema:
          type: string
          pattern: (\d){4}-(\d){2}-(\d){2}
      - name: customerId
        in: query
        required: false
        description: The unique ID of the customer to retrieve data for.
        schema:
          pattern: C.+|my_customer
          type: string
      - name: pageToken
        in: query
        required: false
        description: Token to specify next page. A report with multiple pages has a `nextPageToken` property in the response.
          For your follow-on requests getting all of the report's pages, enter the `nextPageToken` value in the `pageToken`
          query string.
        schema:
          type: string
      - name: parameters
        in: query
        required: false
        description: 'The `parameters` query string is a comma-separated list of event parameters that refine a report''s
          results. The parameter is associated with a specific application. The application values for the Customers usage
          report include `accounts`, `app_maker`, `apps_scripts`, `calendar`, `chat`, `classroom`, `cros`, `docs`, `gmail`,
          `gplus`, `device_management`, `meet`, and `sites`. A `parameters` query string is in the CSV form of `app_name1:param_name1,
          app_name2:param_name2`. *Note:* The API doesn''t accept multiple values of a parameter. If a particular parameter
          is supplied more than once in the API request, the API only accepts the last value of that request parameter. In
          addition, if an invalid request parameter is supplied in the API request, the API ignores that request parameter
          and returns the response corresponding to the remaining valid request parameters. An example of an invalid request
          parameter is one that does not belong to the application. If no parameters are requested, all parameters are returned. '
        schema:
          pattern: (((accounts)|(app_maker)|(apps_scripts)|(chat)|(classroom)|(cros)|(gmail)|(calendar)|(docs)|(gplus)|(sites)|(device_management)|(drive)|(meet)):[^,]+,)*(((accounts)|(app_maker)|(apps_scripts)|(chat)|(classroom)|(cros)|(gmail)|(calendar)|(docs)|(gplus)|(sites)|(device_management)|(drive)|(meet)):[^,]+)
          type: string
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UsageReports'
        4XX:
          content: &id001
            application/json:
              schema:
                $ref: '#/components/schemas/GoogleRpcError'
          description: 'Client error (google.rpc.Status: INVALID_ARGUMENT, PERMISSION_DENIED, NOT_FOUND ...)'
        default:
          content: *id001
          description: Error response (google.rpc.Status)
      security:
      - oauth2:
        - https://www.googleapis.com/auth/admin.reports.usage.readonly
      - apiKey: []
      tags:
      - CustomerUsageReports
components:
  securitySchemes:
    apiKey:
      type: apiKey
      in: query
      name: key
      description: API key; accepted by methods that do not need user data.
    oauth2:
      type: oauth2
      flows:
        authorizationCode:
          authorizationUrl: https://accounts.google.com/o/oauth2/auth
          tokenUrl: https://oauth2.googleapis.com/token
          scopes:
            https://www.googleapis.com/auth/admin.reports.usage.readonly: View usage reports for your Google Workspace domain
            https://www.googleapis.com/auth/admin.reports.audit.readonly: View audit reports for your Google Workspace domain
  schemas:
    GoogleRpcError:
      type: object
      description: The error envelope every Google API returns.
      properties:
        error:
          type: object
          properties:
            code:
              type: integer
            message:
              type: string
            status:
              type: string
            details:
              type: array
              items:
                type: object
    UsageReport:
      properties:
        kind:
          default: admin#reports#usageReport
          description: The type of API resource. For a usage report, the value is `admin#reports#usageReport`.
          type: string
        parameters:
          readOnly: true
          type: array
          items:
            properties:
              msgValue:
                readOnly: true
                description: Output only. Nested message value of the parameter.
                items:
                  additionalProperties:
                    description: Properties of the object.
                  type: object
                type: array
              boolValue:
                type: boolean
                readOnly: true
                description: Output only. Boolean value of the parameter.
              stringValue:
                description: Output only. String value of the parameter.
                type: string
                readOnly: true
              name:
                type: string
                description: The name of the parameter. For the User Usage Report parameter names, see the User Usage parameters
                  reference.
              intValue:
                description: Output only. Integer value of the parameter.
                type: string
                readOnly: true
                format: int64
              datetimeValue:
                type: string
                description: The RFC 3339 formatted value of the parameter, for example 2010-10-28T10:26:35.000Z.
                readOnly: true
                format: date-time
            type: object
          description: Output only. Parameter value pairs for various applications. For the Entity Usage Report parameters
            and values, see [the Entity Usage parameters reference](https://developers.google.com/workspace/admin/reports/v1/reference/usage-ref-appendix-a/entities).
        etag:
          description: ETag of the resource.
          type: string
        entity:
          type: object
          readOnly: true
          description: Output only. Information about the type of the item.
          properties:
            entityId:
              type: string
              description: 'Output only. Object key. Only relevant if entity.type = "OBJECT" Note: external-facing name of
                report is "Entities" rather than "Objects".'
              readOnly: true
            customerId:
              readOnly: true
              description: Output only. The unique identifier of the customer's account.
              type: string
            type:
              readOnly: true
              description: Output only. The type of item. The value is `user`.
              type: string
            profileId:
              description: Output only. The user's immutable Google Workspace profile identifier.
              readOnly: true
              type: string
            userEmail:
              description: Output only. The user's email address. Only relevant if entity.type = "USER"
              type: string
              readOnly: true
        date:
          description: Output only. The date of the report request.
          type: string
          readOnly: true
      description: JSON template for a usage report.
      type: object
    UsageReports:
      properties:
        etag:
          description: ETag of the resource.
          type: string
        warnings:
          type: array
          description: Warnings, if any.
          items:
            type: object
            properties:
              message:
                type: string
                description: 'The human readable messages for a warning are: - Data is not available warning - Sorry, data
                  for date yyyy-mm-dd for application "`application name`" is not available. - Partial data is available warning
                  - Data for date yyyy-mm-dd for application "`application name`" is not available right now, please try again
                  after a few hours. '
              data:
                description: Key-value pairs to give detailed information on the warning.
                items:
                  type: object
                  properties:
                    key:
                      description: Key associated with a key-value pair to give detailed information on the warning.
                      type: string
                    value:
                      description: Value associated with a key-value pair to give detailed information on the warning.
                      type: string
                type: array
              code:
                description: Machine readable code or warning type. The warning code value is `200`.
                type: string
        usageReports:
          description: Various application parameter records.
          items:
            $ref: '#/components/schemas/UsageReport'
          type: array
        kind:
          description: The type of API resource. For a usage report, the value is `admin#reports#usageReports`.
          type: string
          default: admin#reports#usageReports
        nextPageToken:
          description: Token to specify next page. A report with multiple pages has a `nextPageToken` property in the response.
            For your follow-on requests getting all of the report's pages, enter the `nextPageToken` value in the `pageToken`
            query string.
          type: string
      type: object
x-provenance:
  method: harvested
  publisher: Google
  source: https://admin.googleapis.com/$discovery/rest?version=reports_v1
  note: converted by discovery-to-openapi.py from Google's Discovery document (revision 20261109)