Returns event count for the given timeframe and filters (Keen leadconduit.events).
Total Events (single scalar): Use the same timeframe and filters as the Events list/charts, and omit group_by and interval. The response is a scalar: result is the total event count. With group_by and/or interval, the response is time-series; sum result[].value[].result (and across timeframe buckets) to derive a total.
Unclaimed Certificates count: To get the count that matches “Unclaimed” rows in the Events table (events with no TrustedForm cert URL and no vars.trustedform), use the same timeframe and filters as the list plus these two filters:
vars.lead.trustedform_cert_url, operator is blankvars.trustedform, operator is blank
The backend maps “is blank” to Keen operator “exists” with property_value false (property does not exist). The metric card count must match the number of “Unclaimed” rows 1:1.LeadConduit uses HTTP Basic Authentication
with the username API and your API key as the password.
For example: API:1f1b96c9150d8050e858c043d543bb4eadae0e6f'
"this_14_days"
"daily"
Keen-style filters (property_name, operator, property_value). For Unclaimed Certificates count, include property_name vars.lead.trustedform_cert_url operator is blank and property_name vars.trustedform operator is blank in addition to the same filters used for the Events list.
OK. When group_by and interval are omitted, result is a scalar number (total count). With group_by/interval, result is an array of value/timeframe objects.