v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-1496640547.5 KB

Lists insights for an Amazon OpenSearch Service domain or Amazon Web Services account. Returns a paginated list of insights based on the specified entity, filters, time range, and sort order.

post/2021-01-01/opensearch/insights

Request body

SortOrder'ASC' | 'DESC'

The sort order for listing insights. Possible values are <code>ASC</code> (ascending) and <code>DESC</code> (descending).

MaxResultsinteger

The maximum number of insights to return per page. Valid values are 1 to 500.

NextTokenstring

If your initial <code>ListInsights</code> operation returns a <code>NextToken</code>, include the returned <code>NextToken</code> in subsequent <code>ListInsights</code> operations to retrieve the next page of results.

Response

Success

NextTokenstring

When <code>NextToken</code> is returned, there are more results available. The value of <code>NextToken</code> is a unique pagination token for each page. Send the request again using the returned token to retrieve the next page.