List Audit Events


List Audit Events


Get a list of audit events for the child account.

Endpoint

POST /account/log/audit/list

Request Header

Authorization: Bearer <jwt_token> The Powered by CData JWT which contains:
  - Parent Account Id
  - Child Account Id

Request Body

Filter

startTime timestamp in UTC
endTime timestamp in UTC

Response

Audit

activityType The audit event name
activityDateTime The timestamp of the event
userId The user’s email Id
targetType The target type, such as Query, Connection Change, etc.
targetId For Query target type, the Query Id

Response Example

"events": [
        {
            "eventType": 0,
            "timestamp": "2024-03-29T08:00:10.1905216Z",
            "targetId": "201a3845-0aea-4fa7-8cd5-e4737fb0f62f",
            "targetType": 3,
            "userId": "5922d778-ffdc-44c6-8e24-808fb3357cdf",
            "userName": "Pratik Kulkarni",
            "userType": 0
        },
]