> ## Documentation Index
> Fetch the complete documentation index at: https://docs.stigg.io/llms.txt
> Use this file to discover all available pages before exploring further.

# MeterAggregation

> Defines how meter data should be aggregated using a specified aggregation function



**Kind**: `input`

## Fields

**`field`**: `String`

The data field to which the aggregation function will be applied

---

**`function`**: `AggregationFunction!` (required)

The aggregation function to apply to the data (e.g. SUM, AVG, COUNT)



## Related topics

- [Aggregation](https://docs.stigg.io/graphql-reference/types/Aggregation.md)
- [Meter](https://docs.stigg.io/graphql-reference/types/Meter.md)
- [Metering architecture](https://docs.stigg.io/documentation/high-availability-and-scale/byoc/metering-architecture.md)
- [Core concepts](https://docs.stigg.io/documentation/getting-started/core-concepts.md)
- [Metered features](https://docs.stigg.io/documentation/modeling-your-pricing-in-stigg/features/creating-features/metered-features.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.