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

# GET /intents/

`GET /intents/`

Returns intent information as follows:

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

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

## Query parameters

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

## Response `200`

Success

- GetIntentsResponse
  - `intents` IntentMetadata[] — An array of <code>Intent</code> objects. For more information, see <a>PutBot</a>.
    - `name` string — The name of the intent.
    - `description` string — A description of the intent.
    - `lastUpdatedDate` string, date-time — The date that the intent was updated. When you create an intent, the creation date and last updated date are the same.
    - `createdDate` string, date-time — The date that the intent was created.
    - `version` string — The version of the intent.
  - `nextToken` string — If the response is truncated, the response includes a pagination token that you can specify in your next request to fetch the next page of intents.

## 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)
