Skip to main content

GET /traps/stats/timeseries

GET 

traps/stats/timeseries

Retrieve timeseries statistics for spam trap hit events

Query Parameters

period_from string Required
example 2021-07-06T00:00:00.000Z

period_to string Required
example 2021-07-06T00:00:00.000Z

ip string
Filter by IP address substring

netmask string
Filter by netmask

profile_id string
Filter by profile ID

smtp_mail_from_domain string
Filter by smtp_mail_from_domain substring

domain_from string
Filter by domain_from substring

Returns

  • dataarray
    • datestring
      Date of the recorded trap hits
    • countnumber
      Number of trap hits on this date
Error Codes

400 Bad Request

Bad Request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

500 Internal Server Error

Internal server error