Skip to main content

@wildix/wda-insights-client > AggregationBucket

AggregationBucket interface

Signature:

export interface AggregationBucket 

Properties

Property

Modifiers

Type

Description

aggregation?

AggregationResult | undefined

(Optional) The nested aggregation result for the next grouping level. This will be absent if it's the deepest level of aggregation.

count

number

Number of conversations falling into this bucket.

key

string

The value for this bucket. For example, 'INBOUND' if grouping by direction, or '0-5min' if grouping by duration.