# `AggregationsRateAggregation` [interface-AggregationsRateAggregation] | Name | Type | Description | | - | - | - | | `mode` | [AggregationsRateMode](./AggregationsRateMode.md) | How the rate is calculated. | | `unit` | [AggregationsCalendarInterval](./AggregationsCalendarInterval.md) | The interval used to calculate the rate. By default, the interval of the `date_histogram` is used. |