detectionsSummary
Query
Summarizes detections over a time range.
Response
Returns DetectionsSummary
Arguments
| Name | Type | Description |
|---|---|---|
startTime | DateTimeOffset! | Start time for the summary. |
endTime | DateTimeOffset! | End time for the summary. |
filter | FilterDetectionsSummaryInput | If provided, only summarize detections matching the filter. |
detectionsBucket | DetectionsSummaryBucketType | If provided, group the summary buckets by the provided grouping types. |
Example
query detectionsSummary( $startTime: DateTimeOffset!, $endTime: DateTimeOffset!, $filter: FilterDetectionsSummaryInput, $detectionsBucket: DetectionsSummaryBucketType) { detectionsSummary( startTime: $startTime, endTime: $endTime, filter: $filter, detectionsBucket: $detectionsBucket ) { total buckets { key { time } total } highestTotalBuckets { key { time } total } }}{ "startTime": "2025-01-01T00:00:00.000Z", "endTime": "2025-01-01T00:00:00.000Z"}{ "data": { "detectionsSummary": { "total": 565, "buckets": [ { "key": { "time": "2025-01-01T00:00:00.000Z" }, "total": 604 } ], "highestTotalBuckets": [ { "key": { "time": "2025-01-01T00:00:00.000Z" }, "total": 780 } ] } }}