v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-1471501483.8 KB

Gets a list of slots that match the specified criteria.

post/bots/{botId}/botversions/{botVersion}/botlocales/{localeId}/intents/{intentId}/slots/

Path parameters

botIdstring required

The identifier of the bot that contains the slot.

botVersionstring required

The version of the bot that contains the slot.

localeIdstring required

The identifier of the language and locale of the slots to list. The string must match one of the supported locales. For more information, see <a href="https://docs.aws.amazon.com/lexv2/latest/dg/how-languages.html">Supported languages</a>.

intentIdstring required

The unique identifier of the intent that contains the slot.

Query parameters

maxResultsstring

Pagination limit

nextTokenstring

Pagination token

Request body

maxResultsinteger

The maximum number of slots to return in each page of results. If there are fewer results than the max page size, only the actual number of results are returned.

nextTokenstring

If the response from the <code>ListSlots</code> operation contains more results than specified in the <code>maxResults</code> parameter, a token is returned in the response. Use that token in the <code>nextToken</code> parameter to return the next page of results.

Response

Success

botIdstring

The identifier of the bot that contains the slots.

botVersionstring

The version of the bot that contains the slots.

localeIdstring

The language and locale of the slots in the list.

intentIdstring

The identifier of the intent that contains the slots.

nextTokenstring

A token that indicates whether there are more results to return in a response to the <code>ListSlots</code> operation. If the <code>nextToken</code> field is present, you send the contents as the <code>nextToken</code> parameter of a <code>ListSlots</code> operation request to get the next page of results.