Skip to main content
POST
Search audit log entries

Authorizations

Authorization
string
header
required

Query Parameters

before
integer<int64>

A timestamp filter, expressed as a Unix epoch time in milliseconds. All entries returned occurred before the timestamp.

after
integer<int64>

A timestamp filter, expressed as a Unix epoch time in milliseconds. All entries returned occurred after the timestamp.

q
string<string>

Text to search for. You can search for the full or partial name of the resource.

limit
integer<int64>

A limit on the number of audit log entries that return. Set between 1 and 20. The default is 10.

member
string<string>

A member ID that lets you filter audit log listings by the member who made the change. Repeat the parameter to filter by multiple members.

token
string<string>

An access token ID that lets you filter audit log listings by the token that made the change. Repeat the parameter to filter by multiple tokens.

Body

application/json
effect
enum<string>
required

Whether this statement should allow or deny actions on the resources.

Available options:
allow,
deny
Example:

"allow"

resources
string[]

Resource specifier strings

Example:
notResources
string[]

Targeted resources are the resources NOT in this list. The resources field must be empty to use this field.

actions
string[]

Actions to perform on a resource

Example:
notActions
string[]

Targeted actions are the actions NOT in this list. The actions field must be empty to use this field.

Response

Audit log entries response

items
object[]
required

An array of audit log entries

The location and content type of related resources