Query Audit Logs

Queries audit log events for the account using filter criteria specified in the request body. This API is exclusive to Enterprise Shield accounts. This endpoint is paginated.

Query Params
integer
Defaults to 200

The number of audit logs to return per request.

string

A token used for pagination to retrieve the next page of results when polling audit logs.

Body Params
date-time

The start date for the audit log query range.

date-time

The end date for the audit log query range.

userIds
array of integers

Array of user IDs who initiated the logged events.

userIds
eventTypes
array of strings

Array of event types to filter the audit logs.

eventTypes
boolean

Whether the actor is external to the organization.

actorTypes
array of strings

Array of actor types to filter the audit logs, see 'Actors and Targets' for more details.

actorTypes
Responses

400

Bad request. Occurs when the query parameters are invalid.

403

Forbidden. Occurs when the authorized token does not have permission to access audit logs.

Language
Credentials
OAuth2
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json