Get Activity Audits
Retrieve all audit events with comprehensive filtering and pagination.Query Parameters
Page number for pagination
Number of items per page (max 100)
Sort field and direction (e.g., “occurredAtUtc”, “severity desc”)
Filter by event type:
EntityChange- Database entity changesSecurity- Authentication/authorization eventsActivity- General activity eventsException- Exception and error events
Filter by severity level:
TraceDebugInformationWarningErrorCritical
Start date/time for audit events (UTC)
End date/time for audit events (UTC)
Filter by tenant identifier
Filter by user identifier
Filter by source system/module (e.g., “FSH.Modules.Identity”)
Filter by correlation identifier to find related events
Filter by distributed tracing identifier
Filter by audit tags (bitwise flags):
1- PiiMasked2- OutOfQuota4- Sampled8- RetainedLong16- HealthCheck32- Authentication64- Authorization
Full-text search across audit event payloads
Authorization
RequiresPermissions.Auditing.View permission.
Response
Returns a paginated list of audit events.Array of audit summary objects
Unique audit event identifier
When the event occurred
Type of audit event (EntityChange, Security, Activity, Exception)
Event severity level
Associated tenant identifier
User who triggered the event
Display name of the user
Distributed tracing identifier
Correlation identifier for related events
HTTP request identifier
Source system or module
Bitwise flags for metadata
Current page number
Items per page
Total number of matching audit events
Total number of pages
Event Types
Activity Events
Track general application activity:- HTTP Requests - API endpoint calls
- Commands - CQRS command executions
- Queries - CQRS query executions
- Background Jobs - Scheduled task executions
- Integrations - External system interactions
Entity Change Events
Track database modifications:- Insert, Update, Delete operations
- Before/after values for changed fields
- Entity type and identifiers
Common Use Cases
Track User Activity
Get all actions performed by a specific user:Monitor Tenant Activity
View all activity for a specific tenant:Investigate Errors
Find all error-level events:Debug Distributed Transactions
Trace related events using correlation ID:Search Audit Logs
Perform full-text search across audit payloads:Filtering by Tags
Use bitwise flags to filter by multiple tags:Sorting
Sort results by any field:Activity audits are retained according to your configured retention policy. High-severity events and those tagged with
RetainedLong are kept longer.