Skip to main content
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

Informational messages about normal system operations.
Warning messages about potentially problematic situations.
Error messages about failures and exceptions.
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.
Pro Tip: Use ERROR and WARNING filters to quickly identify and address system issues. Set up automated monitoring for critical log types.