Để gọi dịch vụ này, bạn nên sử dụng thư viện ứng dụng do Google cung cấp. Nếu ứng dụng của bạn cần sử dụng các thư viện riêng để gọi dịch vụ này, hãy sử dụng thông tin sau khi bạn thực hiện các yêu cầu API.
Tài liệu khám phá
Tài liệu khám phá là một quy cách có thể đọc được bằng máy để mô tả và sử dụng API REST. Thư viện này được dùng để tạo các thư viện ứng dụng, trình bổ trợ IDE và các công cụ khác tương tác với API của Google. Một dịch vụ có thể cung cấp nhiều tài liệu khám phá. Dịch vụ này cung cấp tài liệu khám phá sau:
Điểm cuối dịch vụ là một URL cơ sở chỉ định địa chỉ mạng của một dịch vụ API. Một dịch vụ có thể có nhiều điểm cuối dịch vụ. Dịch vụ này có điểm cuối dịch vụ sau và tất cả URI bên dưới đều liên quan đến điểm cuối dịch vụ này:
GET /admin/reports/v1/activity/users/{userKey}/applications/{applicationName}
Truy xuất danh sách hoạt động cho một tài khoản và ứng dụng cụ thể của khách hàng, chẳng hạn như ứng dụng Bảng điều khiển dành cho quản trị viên hoặc ứng dụng Google Drive.
GET /admin/reports/v1/usage/{entityType}/{entityKey}/dates/{date}
Truy xuất một báo cáo là tập hợp các thuộc tính và số liệu thống kê cho các thực thể mà người dùng sử dụng trong tài khoản.
GET /admin/reports/v1/usage/users/{userKey}/dates/{date}
Truy xuất một báo cáo là tập hợp các thuộc tính và số liệu thống kê cho một nhóm người dùng có tài khoản.
[[["Dễ hiểu","easyToUnderstand","thumb-up"],["Giúp tôi giải quyết được vấn đề","solvedMyProblem","thumb-up"],["Khác","otherUp","thumb-up"]],[["Thiếu thông tin tôi cần","missingTheInformationINeed","thumb-down"],["Quá phức tạp/quá nhiều bước","tooComplicatedTooManySteps","thumb-down"],["Đã lỗi thời","outOfDate","thumb-down"],["Vấn đề về bản dịch","translationIssue","thumb-down"],["Vấn đề về mẫu/mã","samplesCodeIssue","thumb-down"],["Khác","otherDown","thumb-down"]],["Cập nhật lần gần đây nhất: 2025-08-22 UTC."],[],[],null,["# Admin SDK: Reports API\n\nThe **Admin SDK Reports API** lets administrators of enterprise domains to view the audit and usage reports of their domain.\n\n- [REST Resource: activities](#activities)\n- [REST Resource: customerUsageReports](#customerUsageReports)\n- [REST Resource: entityUsageReports](#entityUsageReports)\n- [REST Resource: userUsageReport](#userUsageReport)\n\nService: admin.googleapis.com\n-----------------------------\n\nTo call this service, we recommend that you use the Google-provided [client libraries](https://cloud.google.com/apis/docs/client-libraries-explained). If your application needs to use your own libraries to call this service, use the following information when you make the API requests.\n\n### Discovery document\n\nA [Discovery Document](https://developers.google.com/discovery/v1/reference/apis) is a machine-readable specification for describing and consuming REST APIs. It is used to build client libraries, IDE plugins, and other tools that interact with Google APIs. One service may provide multiple discovery documents. This service provides the following discovery document:\n\n- \u003chttps://admin.googleapis.com/$discovery/rest?version=reports_v1\u003e\n\n### Service endpoint\n\nA [service endpoint](https://cloud.google.com/apis/design/glossary#api_service_endpoint) is a base URL that specifies the network address of an API service. One service might have multiple service endpoints. This service has the following service endpoint and all URIs below are relative to this service endpoint:\n\n- `https://admin.googleapis.com`\n\nREST Resource: [activities](/workspace/admin/reports/reference/rest/v1/activities)\n----------------------------------------------------------------------------------\n\n| Methods ||\n|----------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [list](/workspace/admin/reports/reference/rest/v1/activities/list) | `GET /admin/reports/v1/activity/users/{userKey}/applications/{applicationName}` Retrieves a list of activities for a specific customer's account and application such as the Admin console application or the Google Drive application. |\n| [watch](/workspace/admin/reports/reference/rest/v1/activities/watch) | `POST /admin/reports/v1/activity/users/{userKey}/applications/{applicationName}/watch` Start receiving notifications for account activities. |\n\nREST Resource: [customerUsageReports](/workspace/admin/reports/reference/rest/v1/customerUsageReports)\n------------------------------------------------------------------------------------------------------\n\n| Methods ||\n|----------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------|\n| [get](/workspace/admin/reports/reference/rest/v1/customerUsageReports/get) | `GET /admin/reports/v1/usage/dates/{date}` Retrieves a report which is a collection of properties and statistics for a specific customer's account. |\n\nREST Resource: [entityUsageReports](/workspace/admin/reports/reference/rest/v1/entityUsageReports)\n--------------------------------------------------------------------------------------------------\n\n| Methods ||\n|--------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [get](/workspace/admin/reports/reference/rest/v1/entityUsageReports/get) | `GET /admin/reports/v1/usage/{entityType}/{entityKey}/dates/{date}` Retrieves a report which is a collection of properties and statistics for entities used by users within the account. |\n\nREST Resource: [userUsageReport](/workspace/admin/reports/reference/rest/v1/userUsageReport)\n--------------------------------------------------------------------------------------------\n\n| Methods ||\n|-----------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [get](/workspace/admin/reports/reference/rest/v1/userUsageReport/get) | `GET /admin/reports/v1/usage/users/{userKey}/dates/{date}` Retrieves a report which is a collection of properties and statistics for a set of users with the account. |"]]