Events

How many of your events are live and how many the sanitizer hides

Returns the two-number split behind the events page's suppressed badge: live is how many of your stored events the sanitization policy shows, suppressed is how many it currently hides. Suppression is presentation-only, so nothing is deleted and the two numbers always add up to every row you have stored; no quota, filter, view or bucket narrows them. It is a separate endpoint rather than a field of /api/get_all_events_with_count/ because it depends on none of that call's inputs, and counting a whole account inside every page fetch made that request many times slower on a large account. The result is cached per account and refreshed in the background, so a repeat call is served instantly and may be up to a minute stale.

This is a read: a read-only API key may call it.

get/api/event_visibility_counts/

Request

  • Base URL: https://eyalsec.com
  • URL: https://eyalsec.com/api/event_visibility_counts/
  • Auth: one of:
    • API key in header X-API-Key
    • API key in cookie __Host-es2session

Response

OK.

object required

Changes

No recorded changes to this operation across all 1 revision of this API.