cURL
curl --request GET \ --url https://localhost:5000/logs/stats \ --header 'Authorization: Bearer <token>'
{ "success": true, "message": "Log stats retrieved successfully", "data": { "total": 123, "byLevel": { "INFO": 1000, "ERROR": 50, "WARN": 100 }, "topActions": [ { "action": "<string>", "count": 123 } ] } }
Get aggregated log statistics including counts by level and top actions
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Start timestamp in milliseconds
End timestamp in milliseconds
Log stats retrieved successfully
true
"Log stats retrieved successfully"
Show child attributes