v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-142381,278956.3 KB

Returns the count, average, sum, minimum, maximum, sum of squares, variance, and standard deviation for the specified aggregated field. If the aggregation field is of type String, only the count statistic is returned.

Requires permission to access the GetStatistics action.

post/indices/statistics

Request body

indexNamestring

The name of the index to search. The default value is <code>AWS_Things</code>.

queryStringstring required

The query used to search. You can specify "*" for the query string to get the count of all indexed things in your Amazon Web Services account.

aggregationFieldstring

The aggregation field name.

queryVersionstring

The version of the query used to search.

Response

Success