Skip to content

detectionsSummary

Query

Summarizes detections over a time range.

Response

Returns DetectionsSummary

Arguments

NameTypeDescription
startTimeDateTimeOffset!

Start time for the summary.

endTimeDateTimeOffset!

End time for the summary.

filterFilterDetectionsSummaryInput

If provided, only summarize detections matching the filter.

detectionsBucketDetectionsSummaryBucketType

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
}
}
}