Query Operation Logs
Paginated query of NineData operation audit logs, supporting filtering by account, time range, module, event type, etc.
Request URL: /openapi/v1/actionTrail/list
Request Method: GET
Request Parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
accountId | String | No | Account ID. You can call the List Account Information API to get accountId . | 170**********159 |
startTime | DateTime | No | Operation time range - start time. | 2025-07-31T09:12:30Z |
endTime | DateTime | No | Operation time range - end time. | 2025-07-31T10:12:30Z |
module | String | No | Belongs to module. Optional values:
| sqlExport |
type | String | No | Event type. Optional values:
| create |
objectId | String | No | Event object ID. | abc123456 |
current | Integer | No | Current page number, starting from 1, default is 1. | 1 |
pageSize | Integer | No | Page size, default is 10. | 10 |
Response Parameters
Parameter | Type | Description | Example |
---|---|---|---|
data | Array | Operation log list, including the following fields:
| { "eventTime": "2025-08-04 08:29:57Z", "accountId": "1030799091781335", "accountName": "NineData", "module": "user", "type": "login", "objectId": "1030799091781335", "detail": "{\"ip\":\"0:0:0:0:0:0:0:1\",\"loginMethod\":\"password\"}" } |
current | Integer | Current page number. | 1 |
pageSize | Integer | Page size. | 10 |
total | Integer | Total number of records. | 1 |
Successful Invocation Example
{
"success": true,
"requestId": "Ji0q6MDE-HNLKqVKnIPMm6KWdLIb7STY",
"data": [{
"eventTime": "2025-08-04 08:29:57Z",
"accountId": "1030799091781335",
"accountName": "NineData",
"module": "user",
"type": "login",
"objectId": "1030799091781335",
"detail": "{\"ip\":\"0:0:0:0:0:0:0:1\",\"loginMethod\":\"password\"}"
}],
"current": 1,
"pageSize": 10,
"total": 1
}