Skip to main content
GET
List audit log events

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

start_date
string<date>

The start date for the query range, inclusive. Format: YYYY-MM-DD.

Example:

"2025-10-01"

end_date
string<date>

The end date for the query range, inclusive. Must be on or after start_date. Format: YYYY-MM-DD.

Example:

"2025-10-31"

user_id
string

Filter events to a specific user by their unique identifier.

Example:

"auth0|9b6efd7459f548c8bb542fe81568791f"

workspace_id
string

Filter events to a specific workspace by its unique identifier.

Example:

"ws_sz4e50hmqKgjxwiYsK"

http_verb
string

Filter by HTTP method (e.g., POST, DELETE). To exclude a method, prefix it with an exclamation mark (e.g., !GET).

Example:

"POST"

status_code
integer

Filter by a specific HTTP status code.

Required range: 100 <= x <= 599
Example:

404

endpoint
string

Filter by the API endpoint path. This is a prefix search (e.g., /api/v1/users will match /api/v1/users/usr_123).

Example:

"/api/v1/projects"

search_term
string

A free-text search term. This will search across fields like endpoint, user name, email, IP address, and request/response payloads. Note: Using search_term may be less performant than indexed filters.

Example:

"user login failed"

ip_address
string<ipv4>

Filter events originating from a specific IP address.

Example:

"198.51.100.14"

cursor
string

An opaque string that identifies the starting point for the next page of results. Get this value from the pagination.cursor field of a previous response.

Example:

"eyJQSyI6eyJTIjoiT1JH...In0sInNrIjp7IlMiOiJMT0cj...In19"

limit
integer
default:25

A limit on the number of objects to be returned, between 1 and 100. The default is 25.

Required range: 1 <= x <= 100
Example:

50

sort_order
enum<string>
default:desc

The order in which to sort the results. desc for most recent first, asc for oldest first.

Available options:
asc,
desc
Example:

"desc"

Response

A paginated list of audit log events matching the query.

data
object[]
pagination
object
filters
object

The filters that were applied to this query.

Example:
query_info
object

Metadata about the query execution.

warnings
string[]

A list of warnings about the query, such as when using potentially incomplete filters.

Example:
context
object

Contextual information about the API request itself.