---
title: "GET /slottypes/"
method: GET
path: "/slottypes/"
---

# GET /slottypes/

`GET /slottypes/`

Returns slot type information as follows:

*   If you specify the `nameContains` field, returns the `$LATEST` version of all slot types that contain the specified string.
    
*   If you don't specify the `nameContains` field, returns information about the `$LATEST` version of all slot types.
    

The operation requires permission for the `lex:GetSlotTypes` action.

## Query parameters

- `nextToken` string
- `maxResults` integer
- `nameContains` string

## Response `200`

Success

- GetSlotTypesResponse
  - `slotTypes` SlotTypeMetadata[] — An array of objects, one for each slot type, that provides information such as the name of the slot type, the version, and a description.
    - `name` string — The name of the slot type.
    - `description` string — A description of the slot type.
    - `lastUpdatedDate` string, date-time — The date that the slot type was updated. When you create a resource, the creation date and last updated date are the same.
    - `createdDate` string, date-time — The date that the slot type was created.
    - `version` string — The version of the slot type.
  - `nextToken` string — If the response is truncated, it includes a pagination token that you can specify in your next request to fetch the next page of slot types.

## Other responses

- `480` — NotFoundException
- `481` — LimitExceededException
- `482` — InternalFailureException
- `483` — BadRequestException

---

[API](https://skmtc.net/aws/apis/lex-models.md) · [All operations](https://skmtc.net/aws/apis/lex-models/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/aws/lex-models/versions/7b110b0aa60e/schema)
