Skip to main content

Perform a Search Query Aggregation

POST 

/search/aggregate

Performs a search query aggregation and returns the aggregation result. By default, you can page a maximum of 10,000 search result records. To page past 10,000 records, you can use searchAfter paging. Refer to Paginating Search Queries for more information about how to implement searchAfter paging.

Request

Responses

Aggregation results.
Response Headers
  • X-Total-Count integer
    Example: 5 The total result count (returned only if the *count* parameter is specified as *true*).