v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-1441225191.1 KB

Performs a manual search against the specified assistant. To retrieve recommendations for an assistant, use <a href="https://docs.aws.amazon.com/wisdom/latest/APIReference/API_GetRecommendations.html">GetRecommendations</a>.

post/assistants/{assistantId}/query

Path parameters

assistantIdstring required

The identifier of the Wisdom assistant. Can be either the ID or the ARN. URLs cannot contain the ARN.

Request body

maxResultsinteger

The maximum number of results to return per page.

nextTokenstring

The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.

queryTextstring password required

The text to search for.

Response

Success

nextTokenstring

If there are additional results, this is the token for the next set of results.