Get Exception Audits
Retrieve audit events related to exceptions and errors.Query Parameters
Filter by subsystem where exception occurred:
Api- REST API endpointsWorker- Background workers and jobsUi- User interfaceInfra- Infrastructure and framework codeUnknown- Cannot determine source
Filter by exception severity:
Warning- Handled exceptions, non-criticalError- Errors that were caught and handledCritical- Severe errors requiring immediate attention
Filter by exception type name (e.g., “NullReferenceException”, “ValidationException”)
Filter by route (for API) or code location where exception occurred
Start date/time for audit events (UTC)
End date/time for audit events (UTC)
Authorization
RequiresPermissions.Auditing.View permission.
Response
Returns an array of exception audit summary objects.Unique audit event identifier
When the exception occurred
Always
Exception for this endpointException severity:
Warning, Error, or CriticalAssociated tenant identifier
User who triggered the exception (if applicable)
Display name of the user
Distributed tracing identifier
Correlation identifier for related events
HTTP request identifier (for API exceptions)
Module or component where exception occurred
Bitwise flags for additional metadata
Exception Areas
Api
Api
Exceptions in REST API endpoints:
- HTTP request processing errors
- Validation failures
- Controller/endpoint exceptions
- Middleware errors
ValidationException, BadHttpRequestException, NotFoundExceptionWorker
Worker
Exceptions in background processing:
- Scheduled job failures
- Message queue processing errors
- Background task exceptions
JobExecutionException, TimeoutException, TaskCanceledExceptionUi
Ui
Client-side exceptions (if reported):
- JavaScript errors
- Rendering failures
- Client validation issues
TypeError, ReferenceError, NetworkErrorInfra
Infra
Infrastructure and framework exceptions:
- Database connection errors
- Cache failures
- Configuration issues
- Third-party service errors
DbException, TimeoutException, HttpRequestExceptionUnknown
Unknown
Exceptions from unclassified sources
Common Use Cases
Monitor Critical Errors
Track severe errors requiring immediate attention:Debug API Errors
Find exceptions in API endpoints:Track Exception Types
Identify the most common exception types:Infrastructure Health
Monitor infrastructure-related exceptions:Worker Failures
Track background job failures:Exception Severity Classification
Exceptions are automatically classified by severity:Warning
Handled exceptions that don’t disrupt operations:- Validation failures
- Expected business rule violations
- Retryable errors that succeeded on retry
Error
Errors that were caught and handled but indicate problems:- Database query failures
- External service timeouts
- Unexpected null values
- File I/O errors
Critical
Severe errors requiring immediate attention:- Database connection failures
- Unhandled exceptions
- Data corruption
- Security violations
- System crashes
Getting Exception Details
The summary endpoint returns only basic information. To get full exception details including stack traces, use the detail endpoint:Best Practices
Set Up Alerts
Configure alerts for critical exceptions to ensure rapid response to severe errors.
Review Regularly
Schedule regular reviews of error and warning level exceptions to identify patterns.
Track Trends
Monitor exception frequency over time to measure system stability improvements.
Correlate Events
Use
correlationId to find related events and understand the full context of errors.Exception audits include masked stack traces and error messages. Sensitive data like connection strings and API keys are automatically redacted.
