Exports audit logs.
Operation description
In Drive and Photo Service for Developer, audit logging is a value-added feature. Before using this operation, review the billable items for value-added features.
Try it now
Test
RAM authorization
Request syntax
POST /v2/audit_log/export HTTP/1.1
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| domain_id |
string |
No |
The domain ID. |
|
| body |
object |
No |
The request body parameters. |
|
| query |
string |
No |
Query audit logs by using a combination of the following fields:
|
acted_at > '2025-03-10T16:00:00' and acted_at < '2025-03-17T15:59:59' |
| order_by |
string |
No |
The sort field. You can sort by the operation time (
|
acted_at DESC |
| file_name |
string |
No |
The name of the exported file. The name can be up to 1,024 characters in length. The default value is |
2024-01-log.csv |
| language |
string |
No |
The language of the exported file. Default: zh_CN (Chinese). Valid values:
|
zh_CN |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response parameters. |
||
| async_task_id |
string |
The ID of the asynchronous export task. |
4221bf6e6ab43c255edc4463bf3a6f5f5d31**** |
Examples
Success response
JSON format
{
"async_task_id": "4221bf6e6ab43c255edc4463bf3a6f5f5d31****"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.