Skip to content

Audit Events

Use the Audit Events resource to retrieve system activity, authentication events, and access changes for monitoring and analysis.

Endpoint

GET /audit-events

ParameterTypeDescription
user_idstringFilter by user ID
event_typestringFilter by event type
start_datestringISO 8601 start time
end_datestringISO 8601 end time
pageintegerPage number
limitintegerResults per page

Example:

GET /audit-events?user_id=usr_1024&event_type=login.success
{
"data": [
{
"id": "evt_9001",
"event_type": "login.success",
"user_id": "usr_1024",
"ip_address": "203.0.113.24",
"timestamp": "2026-03-15T12:05:10Z"
},
{
"id": "evt_9002",
"event_type": "role.assigned",
"user_id": "usr_1024",
"metadata": {
"role_id": "role_admin"
},
"timestamp": "2026-03-15T14:30:00Z"
}
],
"pagination": {
"page": 1,
"limit": 25,
"total": 2
}
}

Endpoint

GET /audit-events/{event_id}