Admin APIs - Logging
Get All Log Entries
Retrieve all log entries with filtering
GET
Get All Log Entries
Retrieve all log entries from the system with optional filtering.Query Parameters
string
Log type filter (INFO, WARNING, ERROR, DEBUG).
string
required
Log scheme (admin, console, external).
integer
default:"1"
Page number for pagination.
integer
default:"10"
Number of logs per page (1-100).
string
Start date in ISO format (YYYY-MM-DD).
string
End date in ISO format (YYYY-MM-DD).
Response Fields
array
required
Array of log entry objects.
Usage Examples
Log Types
INFO
INFO
Informational messages about normal system operations.
WARNING
WARNING
Warning messages about potentially problematic situations.
ERROR
ERROR
Error messages about failures and exceptions.
DEBUG
DEBUG
Detailed debugging information for development.
Best Practices
Filter by Date Range
Use startDate and endDate to limit results to relevant time periods.
Use Appropriate Page Size
Use reasonable page sizes (10-50) for better performance.
Filter by Type
Filter by log type to focus on specific issues (e.g., only ERRORs).
Monitor Regularly
Regularly review logs for system health and security monitoring.