GetFilteredEventCountAsync

Retrieves a total count of events given the specified criteria. Returns ()

Overview of GetFilteredEventCountAsync goes here.

Name Description
folder
eventReportRequest EventReportRequest
includeChild
priorityThreshold
startingOn
endingOn

Get Filtered Event Count Async

Example in C#

// Returns: Int32
var item = await client.GetFilteredEventCountAsync(FolderInfo folder, EventReportRequest eventReportRequest, Boolean includeChild, Int32 priorityThreshold, DateTime startingOn, DateTime endingOn);

Example in CURL



            curl -X POST \
               https://api.us.acresecurity.cloud/api/f/INSTANCE.KEY/events/filtered-event-count?spanScope=False&priorityThreshold=10&startingOn=2025-08-01T00:00:00Z&endingOn=2025-08-02T00:00:00 \
               -H 'Authorization: Bearer  TOKEN_GOES_HERE'\
               -H 'Content-Type: application/json'
               -d '{
                   "IncludeEventKeys": ["eventType1", "eventType2"],
                   "AllLinkedKeys": ["objectKey1", "objectKey2"],
                   "OrLinkedKeys": ["objectKey3", "objectKey4"]
               }'