The Open API specification for Synapse is now available for download!

Download Open API Spec

StatsAggregation

org.sagebionetworks.repo.model.search.dsl.StatsAggregation

A stats metric aggregation — count, min, max, avg, and sum of a numeric column in one pass.

Field Type Description
missing OBJECT Optional. Value substituted for documents missing field.
field STRING Required. The numeric column to aggregate.
format STRING Optional. Format applied to the result values.