Skip to main content

GET /api/v1/events

Retrieve a paginated list of events with optional filters.

Query Parameters

action
string
Filter by action.
actor_id
string
Filter by actor identifier.
resource
string
Filter by resource type.
resource_id
string
Filter by primary resource identifier.
tenant_id
string
Filter by tenant identifier.
session_id
string
Filter by session identifier.
Case-insensitive search across actor name, action, resource name, and metadata. Uses PostgreSQL ilike.
target_type
string
Filter by target type.
target_id
string
Filter by target identifier.
from
string
ISO 8601 timestamp. Return events created at or after this time.
to
string
ISO 8601 timestamp. Return events created at or before this time.
cursor
string
Pagination cursor from a previous response.
limit
integer
default:"25"
Number of events per page (max 100).

Response

Examples

Pagination

To iterate through all results: