AggBucketsResult

August 26, 2026 ยท View on GitHub

One aggregation result. It is either BUCKET-shaped or METRIC-shaped, never both: which one depends on the aggregation that was requested.

Properties

NameTypeDescriptionNotes
bucketsObject[optional]
afterKeyObjectPagination cursor returned by composite aggregations[optional]
valueObject[optional]
valueAsStringStringString rendering of `value`, returned alongside it by `median_absolute_deviation`.[optional]
valuesObject[optional]