Authorizations
API Key authentication for programmatic access. Include your API key in the Authorization header as: Bearer your_api_key_here
Query Parameters
Filter audit logs by specific user ID
1Filter audit logs by event type (e.g., user.login, agent.runStarted)
Filter audit logs by actor type (user, agent, chat)
Filter audit logs by specific chat ID
1Filter audit logs by specific agent ID
1Filter audit logs from this date onwards (ISO string format)
Filter audit logs up to this date (ISO string format)
Maximum number of audit logs to return (1-100, default: 50)
1 <= x <= 100Number of audit logs to skip for pagination (default: 0)
x >= 0Field to sort audit logs by (default: timestamp)
timestamp, createdAt Sort direction for audit logs (default: desc)
asc, desc Response
Successful response
Array of audit log entries matching the specified filters
Unique identifier for this audit log entry
1When the audited event occurred
Organization where the event took place
Type of event that was audited (e.g., user.login, agent.runStarted)
Who or what performed the action (user, agent, chat)
ID of the user involved in the event (null if not applicable)
IP address where the event originated (null if not applicable)
ID of the chat involved in the event (null if not applicable)
ID of the agent involved in the event (null if not applicable)
ID of the agent run involved in the event (null if not applicable)
ID of the trigger involved in the event (null if not applicable)
Additional event-specific data (null if no extra data)
When this audit log entry was created in the database
Hydrated user information (included when available)
Hydrated agent information (included when available)
Hydrated trigger information (included when available)