This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.
Runs an aggregation query on the specified data collection and returns the resulting list of items.
ID of the collection on which to run the aggregation.
Filter to apply to the collection's data before aggregation. See API Query Language for more information about handling data queries.
Aggregation to apply to the data.
Filter to apply to the processed data after aggregation. See API Query Language for more information about handling data queries.
Sorting configuration.
Whether to retrieve data from the primary database instance. This decreases performance but ensures data retrieved is up-to-date even immediately after an update. Applicable if the external database is eventually consistent.
When true
, the query response must include the total number of items that match the query.
Aggregation results. Each result must contain a field for each groupingFields
value, and a field for each operations.resultFieldName
value.
Paging information.
Aggregation request with an initial filter, aggregation operations, and a final filter.