cURL
curl --request GET \ --url https://app.aegister.com/api/v1/atb/{atb_id}/traffic/crime-level-stats \ --header 'X-Aegister-Token: <api-key>'
{ "data": [ { "timestamp": "2023-11-07T05:31:56Z", "low_total": 123, "medium_total": 123, "high_total": 123, "end_timestamp": "2023-11-07T05:31:56Z", "low_blocked": 123, "medium_blocked": 123, "high_blocked": 123 } ], "total_requests": 123, "blocked_requests": 123 }
Returns aggregated traffic logs for a specific ATB device, grouped by crime level (low, medium, high) over a specified time window.
ATB device ID
Time window in minutes. Default = 720 (12h).
Aggregated traffic data (crime level)
Show child attributes