Summary stats

GET /accounts/{account_id}/summary

Fetch summary of stats for the specific account

Available on: AuditGUARD AlertGUARD PremiumGUARD EliteGUARD

Path parameters

Query parameters

  • period string Required

    Period to fetch stats for

    Values are TODAY, YESTERDAY, THIS_WEEK, LAST_WEEK, THIS_MONTH, LAST_MONTH, LAST_30_DAYS, or LAST_3_MONTHS.

Responses

  • Successful operation

    Hide response attributes Show response attributes object
GET /accounts/{account_id}/summary
curl \
 -X GET https://api.clickguard.com/accounts/{account_id}/summary?period=TODAY \
 -H "X-API-KEY: $API_KEY"
Response examples (200)
"{\n  \"total_clicks\": 275,\n  \"normal_clicks\": 220,\n  \"suspicious_clicks\": 0,\n  \"flagged_clicks\": 37,\n  \"invalid_clicks\": 18,\n  \"unique_ips\": 239\n}"
Response examples (200)
{
  "total_clicks": 42.0,
  "normal_clicks": 42.0,
  "suspicious_clicks": 42.0,
  "flagged_clicks": 42.0,
  "invalid_clicks": 42.0,
  "unique_ips": 42.0
}