# Amazon Lex Model Building V2 API

> Amazon Lex Model Building V2 API on Apizie: 92 endpoints (Create a batch of custom vocabulary items for a given bot locale's custom vocabulary., Delete a batch of custom vocabulary items for a given bot locale's custom vocabulary., Update a batch of custom vocabulary items for a given bot locale's custom vocabulary., Describes the settings that a bot has for a specific locale., …) returned as clean JSON through one API key. Send your own provider key in the x-upstream-key header. Call it over REST at https://www.apizie.tech/v1/cloud:amazonaws-models-lex-v2/{endpoint} or from Claude, ChatGPT and Cursor through the Apizie MCP server. Free plan: 1,000 requests a month.

- Project key: `cloud:amazonaws-models-lex-v2`
- Category: Cloud
- Status: byok
- Source: https://github.com/mermade/aws2openapi
- Page: https://www.apizie.tech/api/cloud/amazonaws-models-lex-v2
- OpenAPI: https://www.apizie.tech/api/cloud/amazonaws-models-lex-v2/openapi.json



## Endpoints

### Create a batch of custom vocabulary items for a given bot locale's custom vocabulary.
`POST https://www.apizie.tech/v1/cloud:amazonaws-models-lex-v2/batch-create-custom-vocabulary-item` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| region | string | no | The AWS region |
| botId | string | yes | The identifier of the bot associated with this custom vocabulary. |
| botVersion | string | yes | The identifier of the version of the bot associated with this custom vocabulary. |
| localeId | string | yes | The identifier of the language and locale where this custom vocabulary is used. The string must match one of the supported locales. For… |
| body | object | yes | JSON request body |

### Delete a batch of custom vocabulary items for a given bot locale's custom vocabulary.
`POST https://www.apizie.tech/v1/cloud:amazonaws-models-lex-v2/batch-delete-custom-vocabulary-item` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| region | string | no | The AWS region |
| botId | string | yes | The identifier of the bot associated with this custom vocabulary. |
| botVersion | string | yes | The identifier of the version of the bot associated with this custom vocabulary. |
| localeId | string | yes | The identifier of the language and locale where this custom vocabulary is used. The string must match one of the supported locales. For… |
| body | object | yes | JSON request body |

### Update a batch of custom vocabulary items for a given bot locale's custom vocabulary.
`POST https://www.apizie.tech/v1/cloud:amazonaws-models-lex-v2/batch-update-custom-vocabulary-item` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| region | string | no | The AWS region |
| botId | string | yes | The identifier of the bot associated with this custom vocabulary |
| botVersion | string | yes | The identifier of the version of the bot associated with this custom vocabulary. |
| localeId | string | yes | The identifier of the language and locale where this custom vocabulary is used. The string must match one of the supported locales. For… |
| body | object | yes | JSON request body |

### Describes the settings that a bot has for a specific locale.
`GET https://www.apizie.tech/v1/cloud:amazonaws-models-lex-v2/describe-bot-locale` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| region | string | no | The AWS region |
| botId | string | yes | The identifier of the bot associated with the locale. |
| botVersion | string | yes | The version of the bot associated with the locale. |
| localeId | string | yes | The unique identifier of the locale to describe. The string must match one of the supported locales. For more information, see Supported… |

### Builds a bot, its intents, and its slot types into a specific locale. A bot can be built into multiple…
`POST https://www.apizie.tech/v1/cloud:amazonaws-models-lex-v2/build-bot-locale` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| region | string | no | The AWS region |
| botId | string | yes | The identifier of the bot to build. The identifier is returned in the response from the CreateBot operation. |
| botVersion | string | yes | The version of the bot to build. This can only be the draft version of the bot. |
| localeId | string | yes | The identifier of the language and locale that the bot will be used in. The string must match one of the supported locales. All of the… |

### Updates the settings that a bot has for a specific locale.
`POST https://www.apizie.tech/v1/cloud:amazonaws-models-lex-v2/update-bot-locale` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| region | string | no | The AWS region |
| botId | string | yes | The unique identifier of the bot that contains the locale. |
| botVersion | string | yes | The version of the bot that contains the locale to be updated. The version can only be the DRAFT version. |
| localeId | string | yes | The identifier of the language and locale to update. The string must match one of the supported locales. For more information, see… |
| body | object | yes | JSON request body |

### Removes a locale from a bot. When you delete a locale, all intents, slots, and slot types defined for the…
`POST https://www.apizie.tech/v1/cloud:amazonaws-models-lex-v2/delete-bot-locale` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| region | string | no | The AWS region |
| botId | string | yes | The unique identifier of the bot that contains the locale. |
| botVersion | string | yes | The version of the bot that contains the locale. |
| localeId | string | yes | The identifier of the language and locale that will be deleted. The string must match one of the supported locales. For more information,… |

### Gets a list of available bots.
`POST https://www.apizie.tech/v1/cloud:amazonaws-models-lex-v2/list-bots` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| region | string | no | The AWS region |
| maxResults | string | no | Pagination limit |
| nextToken | string | no | Pagination token |
| body | object | yes | JSON request body |

### Creates an Amazon Lex conversational bot.
`POST https://www.apizie.tech/v1/cloud:amazonaws-models-lex-v2/create-bot` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| region | string | no | The AWS region |
| body | object | yes | JSON request body |

### Gets a list of aliases for the specified bot.
`POST https://www.apizie.tech/v1/cloud:amazonaws-models-lex-v2/list-bot-aliases` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| region | string | no | The AWS region |
| botId | string | yes | The identifier of the bot to list aliases for. |
| maxResults | string | no | Pagination limit |
| nextToken | string | no | Pagination token |
| body | object | yes | JSON request body |

### Creates an alias for the specified version of a bot. Use an alias to enable you to change the version of a…
`POST https://www.apizie.tech/v1/cloud:amazonaws-models-lex-v2/create-bot-alias` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| region | string | no | The AWS region |
| botId | string | yes | The unique identifier of the bot that the alias applies to. |
| body | object | yes | JSON request body |

### Gets a list of locales for the specified bot.
`POST https://www.apizie.tech/v1/cloud:amazonaws-models-lex-v2/list-bot-locales` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| region | string | no | The AWS region |
| botId | string | yes | The identifier of the bot to list locales for. |
| botVersion | string | yes | The version of the bot to list locales for. |
| maxResults | string | no | Pagination limit |
| nextToken | string | no | Pagination token |
| body | object | yes | JSON request body |

### Creates a locale in the bot. The locale contains the intents and slot types that the bot uses in…
`POST https://www.apizie.tech/v1/cloud:amazonaws-models-lex-v2/create-bot-locale` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| region | string | no | The AWS region |
| botId | string | yes | The identifier of the bot to create the locale for. |
| botVersion | string | yes | The version of the bot to create the locale for. This can only be the draft version of the bot. |
| body | object | yes | JSON request body |

### Gets information about all of the versions of a bot. The ListBotVersions operation returns a summary of each…
`POST https://www.apizie.tech/v1/cloud:amazonaws-models-lex-v2/list-bot-versions` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| region | string | no | The AWS region |
| botId | string | yes | The identifier of the bot to list versions for. |
| maxResults | string | no | Pagination limit |
| nextToken | string | no | Pagination token |
| body | object | yes | JSON request body |

### Creates a new version of the bot based on the DRAFT version. If the DRAFT version of this resource hasn't…
`POST https://www.apizie.tech/v1/cloud:amazonaws-models-lex-v2/create-bot-version` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| region | string | no | The AWS region |
| botId | string | yes | The identifier of the bot to create the version for. |
| body | object | yes | JSON request body |

### Lists the exports for a bot, bot locale, or custom vocabulary. Exports are kept in the list for 7 days.
`POST https://www.apizie.tech/v1/cloud:amazonaws-models-lex-v2/list-exports` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| region | string | no | The AWS region |
| maxResults | string | no | Pagination limit |
| nextToken | string | no | Pagination token |
| body | object | yes | JSON request body |

### Creates a zip archive containing the contents of a bot or a bot locale. The archive contains a directory…
`POST https://www.apizie.tech/v1/cloud:amazonaws-models-lex-v2/create-export` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| region | string | no | The AWS region |
| body | object | yes | JSON request body |

### Get a list of intents that meet the specified criteria.
`POST https://www.apizie.tech/v1/cloud:amazonaws-models-lex-v2/list-intents` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| region | string | no | The AWS region |
| botId | string | yes | The unique identifier of the bot that contains the intent. |
| botVersion | string | yes | The version of the bot that contains the intent. |
| localeId | string | yes | The identifier of the language and locale of the intents to list. The string must match one of the supported locales. For more… |
| maxResults | string | no | Pagination limit |
| nextToken | string | no | Pagination token |
| body | object | yes | JSON request body |

### Creates an intent. To define the interaction between the user and your bot, you define one or more intents.…
`POST https://www.apizie.tech/v1/cloud:amazonaws-models-lex-v2/create-intent` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| region | string | no | The AWS region |
| botId | string | yes | The identifier of the bot associated with this intent. |
| botVersion | string | yes | The version of the bot associated with this intent. |
| localeId | string | yes | The identifier of the language and locale where this intent is used. All of the bots, slot types, and slots used by the intent must have… |
| body | object | yes | JSON request body |

### Gets the resource policy and policy revision for a bot or bot alias.
`GET https://www.apizie.tech/v1/cloud:amazonaws-models-lex-v2/describe-resource-policy` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| region | string | no | The AWS region |
| resourceArn | string | yes | The Amazon Resource Name (ARN) of the bot or bot alias that the resource policy is attached to. |

### Creates a new resource policy with the specified policy statements.
`POST https://www.apizie.tech/v1/cloud:amazonaws-models-lex-v2/create-resource-policy` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| region | string | no | The AWS region |
| resourceArn | string | yes | The Amazon Resource Name (ARN) of the bot or bot alias that the resource policy is attached to. |
| body | object | yes | JSON request body |

### Replaces the existing resource policy for a bot or bot alias with a new one. If the policy doesn't exist,…
`POST https://www.apizie.tech/v1/cloud:amazonaws-models-lex-v2/update-resource-policy` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| region | string | no | The AWS region |
| resourceArn | string | yes | The Amazon Resource Name (ARN) of the bot or bot alias that the resource policy is attached to. |
| expectedRevisionId | string | no | The identifier of the revision of the policy to update. If this revision ID doesn't match the current revision ID, Amazon Lex throws an… |
| body | object | yes | JSON request body |

### Removes an existing policy from a bot or bot alias. If the resource doesn't have a policy attached, Amazon…
`POST https://www.apizie.tech/v1/cloud:amazonaws-models-lex-v2/delete-resource-policy` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| region | string | no | The AWS region |
| resourceArn | string | yes | The Amazon Resource Name (ARN) of the bot or bot alias that has the resource policy attached. |
| expectedRevisionId | string | no | The identifier of the revision to edit. If this ID doesn't match the current revision number, Amazon Lex returns an exception If you don't… |

### Adds a new resource policy statement to a bot or bot alias. If a resource policy exists, the statement is…
`POST https://www.apizie.tech/v1/cloud:amazonaws-models-lex-v2/create-resource-policy-statement` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| region | string | no | The AWS region |
| resourceArn | string | yes | The Amazon Resource Name (ARN) of the bot or bot alias that the resource policy is attached to. |
| expectedRevisionId | string | no | The identifier of the revision of the policy to edit. If this revision ID doesn't match the current revision ID, Amazon Lex throws an… |
| body | object | yes | JSON request body |

### Gets a list of slots that match the specified criteria.
`POST https://www.apizie.tech/v1/cloud:amazonaws-models-lex-v2/list-slots` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| region | string | no | The AWS region |
| botId | string | yes | The identifier of the bot that contains the slot. |
| botVersion | string | yes | The version of the bot that contains the slot. |
| localeId | string | yes | The identifier of the language and locale of the slots to list. The string must match one of the supported locales. For more information,… |
| intentId | string | yes | The unique identifier of the intent that contains the slot. |
| maxResults | string | no | Pagination limit |
| nextToken | string | no | Pagination token |
| body | object | yes | JSON request body |

### Creates a slot in an intent. A slot is a variable needed to fulfill an intent. For example, an OrderPizza…
`POST https://www.apizie.tech/v1/cloud:amazonaws-models-lex-v2/create-slot` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| region | string | no | The AWS region |
| botId | string | yes | The identifier of the bot associated with the slot. |
| botVersion | string | yes | The version of the bot associated with the slot. |
| localeId | string | yes | The identifier of the language and locale that the slot will be used in. The string must match one of the supported locales. All of the… |
| intentId | string | yes | The identifier of the intent that contains the slot. |
| body | object | yes | JSON request body |

### Gets a list of slot types that match the specified criteria.
`POST https://www.apizie.tech/v1/cloud:amazonaws-models-lex-v2/list-slot-types` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| region | string | no | The AWS region |
| botId | string | yes | The unique identifier of the bot that contains the slot types. |
| botVersion | string | yes | The version of the bot that contains the slot type. |
| localeId | string | yes | The identifier of the language and locale of the slot types to list. The string must match one of the supported locales. For more… |
| maxResults | string | no | Pagination limit |
| nextToken | string | no | Pagination token |
| body | object | yes | JSON request body |

### Creates a custom slot type To create a custom slot type, specify a name for the slot type and a set of…
`POST https://www.apizie.tech/v1/cloud:amazonaws-models-lex-v2/create-slot-type` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| region | string | no | The AWS region |
| botId | string | yes | The identifier of the bot associated with this slot type. |
| botVersion | string | yes | The identifier of the bot version associated with this slot type. |
| localeId | string | yes | The identifier of the language and locale that the slot type will be used in. The string must match one of the supported locales. All of… |
| body | object | yes | JSON request body |

### Create a report that describes the differences between the bot and the test set.
`POST https://www.apizie.tech/v1/cloud:amazonaws-models-lex-v2/create-test-set-discrepancy-report` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| region | string | no | The AWS region |
| testSetId | string | yes | The test set Id for the test set discrepancy report. |
| body | object | yes | JSON request body |

### Gets a pre-signed S3 write URL that you use to upload the zip archive when importing a bot or a bot locale.
`POST https://www.apizie.tech/v1/cloud:amazonaws-models-lex-v2/create-upload-url` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| region | string | no | The AWS region |

### Provides metadata information about a bot.
`GET https://www.apizie.tech/v1/cloud:amazonaws-models-lex-v2/describe-bot` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| region | string | no | The AWS region |
| botId | string | yes | The unique identifier of the bot to describe. |

### Updates the configuration of an existing bot.
`POST https://www.apizie.tech/v1/cloud:amazonaws-models-lex-v2/update-bot` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| region | string | no | The AWS region |
| botId | string | yes | The unique identifier of the bot to update. This identifier is returned by the CreateBot operation. |
| body | object | yes | JSON request body |

### Deletes all versions of a bot, including the Draft version. To delete a specific version, use the…
`POST https://www.apizie.tech/v1/cloud:amazonaws-models-lex-v2/delete-bot` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| region | string | no | The AWS region |
| botId | string | yes | The identifier of the bot to delete. |
| skipResourceInUseCheck | boolean | no | By default, Amazon Lex checks if any other resource, such as an alias or bot network, is using the bot version before it is deleted and… |

### Get information about a specific bot alias.
`GET https://www.apizie.tech/v1/cloud:amazonaws-models-lex-v2/describe-bot-alias` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| region | string | no | The AWS region |
| botAliasId | string | yes | The identifier of the bot alias to describe. |
| botId | string | yes | The identifier of the bot associated with the bot alias to describe. |

### Updates the configuration of an existing bot alias.
`POST https://www.apizie.tech/v1/cloud:amazonaws-models-lex-v2/update-bot-alias` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| region | string | no | The AWS region |
| botAliasId | string | yes | The unique identifier of the bot alias. |
| botId | string | yes | The identifier of the bot with the updated alias. |
| body | object | yes | JSON request body |

### Deletes the specified bot alias.
`POST https://www.apizie.tech/v1/cloud:amazonaws-models-lex-v2/delete-bot-alias` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| region | string | no | The AWS region |
| botAliasId | string | yes | The unique identifier of the bot alias to delete. |
| botId | string | yes | The unique identifier of the bot associated with the alias to delete. |
| skipResourceInUseCheck | boolean | no | By default, Amazon Lex checks if any other resource, such as a bot network, is using the bot alias before it is deleted and throws a… |

### Provides metadata about a version of a bot.
`GET https://www.apizie.tech/v1/cloud:amazonaws-models-lex-v2/describe-bot-version` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| region | string | no | The AWS region |
| botId | string | yes | The identifier of the bot containing the version to return metadata for. |
| botVersion | string | yes | The version of the bot to return metadata for. |

### Deletes a specific version of a bot. To delete all versions of a bot, use the DeleteBot operation.
`POST https://www.apizie.tech/v1/cloud:amazonaws-models-lex-v2/delete-bot-version` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| region | string | no | The AWS region |
| botId | string | yes | The identifier of the bot that contains the version. |
| botVersion | string | yes | The version of the bot to delete. |
| skipResourceInUseCheck | boolean | no | By default, Amazon Lex checks if any other resource, such as an alias or bot network, is using the bot version before it is deleted and… |

### Removes a custom vocabulary from the specified locale in the specified bot.
`POST https://www.apizie.tech/v1/cloud:amazonaws-models-lex-v2/delete-custom-vocabulary` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| region | string | no | The AWS region |
| botId | string | yes | The unique identifier of the bot to remove the custom vocabulary from. |
| botVersion | string | yes | The version of the bot to remove the custom vocabulary from. |
| localeId | string | yes | The locale identifier for the locale that contains the custom vocabulary to remove. |

### Gets information about a specific export.
`GET https://www.apizie.tech/v1/cloud:amazonaws-models-lex-v2/describe-export` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| region | string | no | The AWS region |
| exportId | string | yes | The unique identifier of the export to describe. |

### Updates the password used to protect an export zip archive. The password is not required. If you don't…
`POST https://www.apizie.tech/v1/cloud:amazonaws-models-lex-v2/update-export` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| region | string | no | The AWS region |
| exportId | string | yes | The unique identifier Amazon Lex assigned to the export. |
| body | object | yes | JSON request body |

### Removes a previous export and the associated files stored in an S3 bucket.
`POST https://www.apizie.tech/v1/cloud:amazonaws-models-lex-v2/delete-export` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| region | string | no | The AWS region |
| exportId | string | yes | The unique identifier of the export to delete. |

### Gets information about a specific import.
`GET https://www.apizie.tech/v1/cloud:amazonaws-models-lex-v2/describe-import` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| region | string | no | The AWS region |
| importId | string | yes | The unique identifier of the import to describe. |

### Removes a previous import and the associated file stored in an S3 bucket.
`POST https://www.apizie.tech/v1/cloud:amazonaws-models-lex-v2/delete-import` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| region | string | no | The AWS region |
| importId | string | yes | The unique identifier of the import to delete. |

### Returns metadata about an intent.
`GET https://www.apizie.tech/v1/cloud:amazonaws-models-lex-v2/describe-intent` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| region | string | no | The AWS region |
| intentId | string | yes | The identifier of the intent to describe. |
| botId | string | yes | The identifier of the bot associated with the intent. |
| botVersion | string | yes | The version of the bot associated with the intent. |
| localeId | string | yes | The identifier of the language and locale of the intent to describe. The string must match one of the supported locales. For more… |

### Updates the settings for an intent.
`POST https://www.apizie.tech/v1/cloud:amazonaws-models-lex-v2/update-intent` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| region | string | no | The AWS region |
| intentId | string | yes | The unique identifier of the intent to update. |
| botId | string | yes | The identifier of the bot that contains the intent. |
| botVersion | string | yes | The version of the bot that contains the intent. Must be DRAFT . |
| localeId | string | yes | The identifier of the language and locale where this intent is used. The string must match one of the supported locales. For more… |
| body | object | yes | JSON request body |

### Removes the specified intent. Deleting an intent also deletes the slots associated with the intent.
`POST https://www.apizie.tech/v1/cloud:amazonaws-models-lex-v2/delete-intent` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| region | string | no | The AWS region |
| intentId | string | yes | The unique identifier of the intent to delete. |
| botId | string | yes | The identifier of the bot associated with the intent. |
| botVersion | string | yes | The version of the bot associated with the intent. |
| localeId | string | yes | The identifier of the language and locale where the bot will be deleted. The string must match one of the supported locales. For more… |

### Deletes a policy statement from a resource policy. If you delete the last statement from a policy, the…
`POST https://www.apizie.tech/v1/cloud:amazonaws-models-lex-v2/delete-resource-policy-statement` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| region | string | no | The AWS region |
| resourceArn | string | yes | The Amazon Resource Name (ARN) of the bot or bot alias that the resource policy is attached to. |
| statementId | string | yes | The name of the statement (SID) to delete from the policy. |
| expectedRevisionId | string | no | The identifier of the revision of the policy to delete the statement from. If this revision ID doesn't match the current revision ID,… |

### Gets metadata information about a slot.
`GET https://www.apizie.tech/v1/cloud:amazonaws-models-lex-v2/describe-slot` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| region | string | no | The AWS region |
| slotId | string | yes | The unique identifier for the slot. |
| botId | string | yes | The identifier of the bot associated with the slot. |
| botVersion | string | yes | The version of the bot associated with the slot. |
| localeId | string | yes | The identifier of the language and locale of the slot to describe. The string must match one of the supported locales. For more… |
| intentId | string | yes | The identifier of the intent that contains the slot. |

### Updates the settings for a slot.
`POST https://www.apizie.tech/v1/cloud:amazonaws-models-lex-v2/update-slot` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| region | string | no | The AWS region |
| slotId | string | yes | The unique identifier for the slot to update. |
| botId | string | yes | The unique identifier of the bot that contains the slot. |
| botVersion | string | yes | The version of the bot that contains the slot. Must always be DRAFT . |
| localeId | string | yes | The identifier of the language and locale that contains the slot. The string must match one of the supported locales. For more… |
| intentId | string | yes | The identifier of the intent that contains the slot. |
| body | object | yes | JSON request body |

### Deletes the specified slot from an intent.
`POST https://www.apizie.tech/v1/cloud:amazonaws-models-lex-v2/delete-slot` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| region | string | no | The AWS region |
| slotId | string | yes | The identifier of the slot to delete. |
| botId | string | yes | The identifier of the bot associated with the slot to delete. |
| botVersion | string | yes | The version of the bot associated with the slot to delete. |
| localeId | string | yes | The identifier of the language and locale that the slot will be deleted from. The string must match one of the supported locales. For more… |
| intentId | string | yes | The identifier of the intent associated with the slot. |

### Gets metadata information about a slot type.
`GET https://www.apizie.tech/v1/cloud:amazonaws-models-lex-v2/describe-slot-type` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| region | string | no | The AWS region |
| slotTypeId | string | yes | The identifier of the slot type. |
| botId | string | yes | The identifier of the bot associated with the slot type. |
| botVersion | string | yes | The version of the bot associated with the slot type. |
| localeId | string | yes | The identifier of the language and locale of the slot type to describe. The string must match one of the supported locales. For more… |

### Updates the configuration of an existing slot type.
`POST https://www.apizie.tech/v1/cloud:amazonaws-models-lex-v2/update-slot-type` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| region | string | no | The AWS region |
| slotTypeId | string | yes | The unique identifier of the slot type to update. |
| botId | string | yes | The identifier of the bot that contains the slot type. |
| botVersion | string | yes | The version of the bot that contains the slot type. Must be DRAFT . |
| localeId | string | yes | The identifier of the language and locale that contains the slot type. The string must match one of the supported locales. For more… |
| body | object | yes | JSON request body |

### Deletes a slot type from a bot locale. If a slot is using the slot type, Amazon Lex throws a…
`POST https://www.apizie.tech/v1/cloud:amazonaws-models-lex-v2/delete-slot-type` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| region | string | no | The AWS region |
| slotTypeId | string | yes | The identifier of the slot type to delete. |
| botId | string | yes | The identifier of the bot associated with the slot type. |
| botVersion | string | yes | The version of the bot associated with the slot type. |
| localeId | string | yes | The identifier of the language and locale that the slot type will be deleted from. The string must match one of the supported locales. For… |
| skipResourceInUseCheck | boolean | no | By default, the DeleteSlotType operations throws a ResourceInUseException exception if you try to delete a slot type used by a slot. Set… |

### Gets metadata information about the test set.
`GET https://www.apizie.tech/v1/cloud:amazonaws-models-lex-v2/describe-test-set` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| region | string | no | The AWS region |
| testSetId | string | yes | The test set Id for the test set request. |

### The action to update the test set.
`POST https://www.apizie.tech/v1/cloud:amazonaws-models-lex-v2/update-test-set` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| region | string | no | The AWS region |
| testSetId | string | yes | The test set Id for which update test operation to be performed. |
| body | object | yes | JSON request body |

### The action to delete the selected test set.
`POST https://www.apizie.tech/v1/cloud:amazonaws-models-lex-v2/delete-test-set` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| region | string | no | The AWS region |
| testSetId | string | yes | The test set Id of the test set to be deleted. |

### Deletes stored utterances. Amazon Lex stores the utterances that users send to your bot. Utterances are…
`POST https://www.apizie.tech/v1/cloud:amazonaws-models-lex-v2/delete-utterances` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| region | string | no | The AWS region |
| botId | string | yes | The unique identifier of the bot that contains the utterances. |
| localeId | string | no | The identifier of the language and locale where the utterances were collected. The string must match one of the supported locales. For… |
| sessionId | string | no | The unique identifier of the session with the user. The ID is returned in the response from the RecognizeText and RecognizeUtterance… |

### Provides metadata information about a bot recommendation. This information will enable you to get a…
`GET https://www.apizie.tech/v1/cloud:amazonaws-models-lex-v2/describe-bot-recommendation` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| region | string | no | The AWS region |
| botId | string | yes | The unique identifier of the bot associated with the bot recommendation. |
| botVersion | string | yes | The version of the bot associated with the bot recommendation. |
| localeId | string | yes | The identifier of the language and locale of the bot recommendation to describe. The string must match one of the supported locales. For… |
| botRecommendationId | string | yes | The identifier of the bot recommendation to describe. |

### Updates an existing bot recommendation request.
`POST https://www.apizie.tech/v1/cloud:amazonaws-models-lex-v2/update-bot-recommendation` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| region | string | no | The AWS region |
| botId | string | yes | The unique identifier of the bot containing the bot recommendation to be updated. |
| botVersion | string | yes | The version of the bot containing the bot recommendation to be updated. |
| localeId | string | yes | The identifier of the language and locale of the bot recommendation to update. The string must match one of the supported locales. For… |
| botRecommendationId | string | yes | The unique identifier of the bot recommendation to be updated. |
| body | object | yes | JSON request body |

### Provides metadata information about a custom vocabulary.
`GET https://www.apizie.tech/v1/cloud:amazonaws-models-lex-v2/describe-custom-vocabulary-metadata` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| region | string | no | The AWS region |
| botId | string | yes | The unique identifier of the bot that contains the custom vocabulary. |
| botVersion | string | yes | The bot version of the bot to return metadata for. |
| localeId | string | yes | The locale to return the custom vocabulary information for. The locale must be en_GB . |

### Gets metadata information about the test execution.
`GET https://www.apizie.tech/v1/cloud:amazonaws-models-lex-v2/describe-test-execution` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| region | string | no | The AWS region |
| testExecutionId | string | yes | The execution Id of the test set execution. |

### Gets metadata information about the test set discrepancy report.
`GET https://www.apizie.tech/v1/cloud:amazonaws-models-lex-v2/describe-test-set-discrepancy-report` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| region | string | no | The AWS region |
| testSetDiscrepancyReportId | string | yes | The unique identifier of the test set discrepancy report. |

### Gets metadata information about the test set generation.
`GET https://www.apizie.tech/v1/cloud:amazonaws-models-lex-v2/describe-test-set-generation` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| region | string | no | The AWS region |
| testSetGenerationId | string | yes | The unique identifier of the test set generation. |

### The pre-signed Amazon S3 URL to download the test execution result artifacts.
`GET https://www.apizie.tech/v1/cloud:amazonaws-models-lex-v2/get-test-execution-artifacts-url` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| region | string | no | The AWS region |
| testExecutionId | string | yes | The unique identifier of the completed test execution. |

### Provides a list of utterances that users have sent to the bot. Utterances are aggregated by the text of the…
`POST https://www.apizie.tech/v1/cloud:amazonaws-models-lex-v2/list-aggregated-utterances` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| region | string | no | The AWS region |
| botId | string | yes | The unique identifier of the bot associated with this request. |
| maxResults | string | no | Pagination limit |
| nextToken | string | no | Pagination token |
| body | object | yes | JSON request body |

### Get a list of bot recommendations that meet the specified criteria.
`POST https://www.apizie.tech/v1/cloud:amazonaws-models-lex-v2/list-bot-recommendations` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| region | string | no | The AWS region |
| botId | string | yes | The unique identifier of the bot that contains the bot recommendation list. |
| botVersion | string | yes | The version of the bot that contains the bot recommendation list. |
| localeId | string | yes | The identifier of the language and locale of the bot recommendation list. |
| maxResults | string | no | Pagination limit |
| nextToken | string | no | Pagination token |
| body | object | yes | JSON request body |

### Use this to provide your transcript data, and to start the bot recommendation process.
`POST https://www.apizie.tech/v1/cloud:amazonaws-models-lex-v2/start-bot-recommendation` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| region | string | no | The AWS region |
| botId | string | yes | The unique identifier of the bot containing the bot recommendation. |
| botVersion | string | yes | The version of the bot containing the bot recommendation. |
| localeId | string | yes | The identifier of the language and locale of the bot recommendation to start. The string must match one of the supported locales. For more… |
| body | object | yes | JSON request body |

### Gets a list of built-in intents provided by Amazon Lex that you can use in your bot. To use a built-in…
`POST https://www.apizie.tech/v1/cloud:amazonaws-models-lex-v2/list-built-in-intents` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| region | string | no | The AWS region |
| localeId | string | yes | The identifier of the language and locale of the intents to list. The string must match one of the supported locales. For more… |
| maxResults | string | no | Pagination limit |
| nextToken | string | no | Pagination token |
| body | object | yes | JSON request body |

### Gets a list of built-in slot types that meet the specified criteria.
`POST https://www.apizie.tech/v1/cloud:amazonaws-models-lex-v2/list-built-in-slot-types` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| region | string | no | The AWS region |
| localeId | string | yes | The identifier of the language and locale of the slot types to list. The string must match one of the supported locales. For more… |
| maxResults | string | no | Pagination limit |
| nextToken | string | no | Pagination token |
| body | object | yes | JSON request body |

### Paginated list of custom vocabulary items for a given bot locale's custom vocabulary.
`POST https://www.apizie.tech/v1/cloud:amazonaws-models-lex-v2/list-custom-vocabulary-items` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| region | string | no | The AWS region |
| botId | string | yes | The identifier of the version of the bot associated with this custom vocabulary. |
| botVersion | string | yes | The bot version of the bot to the list custom vocabulary request. |
| localeId | string | yes | The identifier of the language and locale where this custom vocabulary is used. The string must match one of the supported locales. For… |
| maxResults | string | no | Pagination limit |
| nextToken | string | no | Pagination token |
| body | object | yes | JSON request body |

### Lists the imports for a bot, bot locale, or custom vocabulary. Imports are kept in the list for 7 days.
`POST https://www.apizie.tech/v1/cloud:amazonaws-models-lex-v2/list-imports` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| region | string | no | The AWS region |
| maxResults | string | no | Pagination limit |
| nextToken | string | no | Pagination token |
| body | object | yes | JSON request body |

### Starts importing a bot, bot locale, or custom vocabulary from a zip archive that you uploaded to an S3 bucket.
`POST https://www.apizie.tech/v1/cloud:amazonaws-models-lex-v2/start-import` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| region | string | no | The AWS region |
| body | object | yes | JSON request body |

### Retrieves summary metrics for the intents in your bot. The following fields are required: metrics – A list…
`POST https://www.apizie.tech/v1/cloud:amazonaws-models-lex-v2/list-intent-metrics` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| region | string | no | The AWS region |
| botId | string | yes | The identifier for the bot for which you want to retrieve intent metrics. |
| maxResults | string | no | Pagination limit |
| nextToken | string | no | Pagination token |
| body | object | yes | JSON request body |

### Retrieves summary statistics for a path of intents that users take over sessions with your bot. The…
`POST https://www.apizie.tech/v1/cloud:amazonaws-models-lex-v2/list-intent-paths` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| region | string | no | The AWS region |
| botId | string | yes | The identifier for the bot for which you want to retrieve intent path metrics. |
| body | object | yes | JSON request body |

### Retrieves summary metrics for the stages within intents in your bot. The following fields are required:…
`POST https://www.apizie.tech/v1/cloud:amazonaws-models-lex-v2/list-intent-stage-metrics` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| region | string | no | The AWS region |
| botId | string | yes | The identifier for the bot for which you want to retrieve intent stage metrics. |
| maxResults | string | no | Pagination limit |
| nextToken | string | no | Pagination token |
| body | object | yes | JSON request body |

### Gets a list of recommended intents provided by the bot recommendation that you can use in your bot. Intents…
`POST https://www.apizie.tech/v1/cloud:amazonaws-models-lex-v2/list-recommended-intents` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| region | string | no | The AWS region |
| botId | string | yes | The unique identifier of the bot associated with the recommended intents. |
| botVersion | string | yes | The version of the bot that contains the recommended intents. |
| localeId | string | yes | The identifier of the language and locale of the recommended intents. |
| botRecommendationId | string | yes | The identifier of the bot recommendation that contains the recommended intents. |
| maxResults | string | no | Pagination limit |
| nextToken | string | no | Pagination token |
| body | object | yes | JSON request body |

### Retrieves a list of metadata for individual user sessions with your bot. The startDateTime and endDateTime…
`POST https://www.apizie.tech/v1/cloud:amazonaws-models-lex-v2/list-session-analytics-data` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| region | string | no | The AWS region |
| botId | string | yes | The identifier for the bot for which you want to retrieve session analytics. |
| maxResults | string | no | Pagination limit |
| nextToken | string | no | Pagination token |
| body | object | yes | JSON request body |

### Retrieves summary metrics for the user sessions with your bot. The following fields are required: metrics –…
`POST https://www.apizie.tech/v1/cloud:amazonaws-models-lex-v2/list-session-metrics` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| region | string | no | The AWS region |
| botId | string | yes | The identifier for the bot for which you want to retrieve session metrics. |
| maxResults | string | no | Pagination limit |
| nextToken | string | no | Pagination token |
| body | object | yes | JSON request body |

### Gets a list of tags associated with a resource. Only bots, bot aliases, and bot channels can have tags…
`GET https://www.apizie.tech/v1/cloud:amazonaws-models-lex-v2/list-tags-for-resource` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| region | string | no | The AWS region |
| resourceARN | string | yes | The Amazon Resource Name (ARN) of the resource to get a list of tags for. |

### Adds the specified tags to the specified resource. If a tag key already exists, the existing value is…
`POST https://www.apizie.tech/v1/cloud:amazonaws-models-lex-v2/tag-resource` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| region | string | no | The AWS region |
| resourceARN | string | yes | The Amazon Resource Name (ARN) of the bot, bot alias, or bot channel to tag. |
| body | object | yes | JSON request body |

### Gets a list of test execution result items.
`POST https://www.apizie.tech/v1/cloud:amazonaws-models-lex-v2/list-test-execution-result-items` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| region | string | no | The AWS region |
| testExecutionId | string | yes | The unique identifier of the test execution to list the result items. |
| maxResults | string | no | Pagination limit |
| nextToken | string | no | Pagination token |
| body | object | yes | JSON request body |

### The list of test set executions.
`POST https://www.apizie.tech/v1/cloud:amazonaws-models-lex-v2/list-test-executions` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| region | string | no | The AWS region |
| maxResults | string | no | Pagination limit |
| nextToken | string | no | Pagination token |
| body | object | yes | JSON request body |

### The list of test set records.
`POST https://www.apizie.tech/v1/cloud:amazonaws-models-lex-v2/list-test-set-records` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| region | string | no | The AWS region |
| testSetId | string | yes | The identifier of the test set to list its test set records. |
| maxResults | string | no | Pagination limit |
| nextToken | string | no | Pagination token |
| body | object | yes | JSON request body |

### The list of the test sets
`POST https://www.apizie.tech/v1/cloud:amazonaws-models-lex-v2/list-test-sets` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| region | string | no | The AWS region |
| maxResults | string | no | Pagination limit |
| nextToken | string | no | Pagination token |
| body | object | yes | JSON request body |

### To use this API operation, your IAM role must have permissions to perform the ListAggregatedUtterances…
`POST https://www.apizie.tech/v1/cloud:amazonaws-models-lex-v2/list-utterance-analytics-data` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| region | string | no | The AWS region |
| botId | string | yes | The identifier for the bot for which you want to retrieve utterance analytics. |
| maxResults | string | no | Pagination limit |
| nextToken | string | no | Pagination token |
| body | object | yes | JSON request body |

### To use this API operation, your IAM role must have permissions to perform the ListAggregatedUtterances…
`POST https://www.apizie.tech/v1/cloud:amazonaws-models-lex-v2/list-utterance-metrics` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| region | string | no | The AWS region |
| botId | string | yes | The identifier for the bot for which you want to retrieve utterance metrics. |
| maxResults | string | no | Pagination limit |
| nextToken | string | no | Pagination token |
| body | object | yes | JSON request body |

### Search for associated transcripts that meet the specified criteria.
`POST https://www.apizie.tech/v1/cloud:amazonaws-models-lex-v2/search-associated-transcripts` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| region | string | no | The AWS region |
| botId | string | yes | The unique identifier of the bot associated with the transcripts that you are searching. |
| botVersion | string | yes | The version of the bot containing the transcripts that you are searching. |
| localeId | string | yes | The identifier of the language and locale of the transcripts to search. The string must match one of the supported locales. For more… |
| botRecommendationId | string | yes | The unique identifier of the bot recommendation associated with the transcripts to search. |
| body | object | yes | JSON request body |

### The action to start test set execution.
`POST https://www.apizie.tech/v1/cloud:amazonaws-models-lex-v2/start-test-execution` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| region | string | no | The AWS region |
| testSetId | string | yes | The test set Id for the test set execution. |
| body | object | yes | JSON request body |

### The action to start the generation of test set.
`POST https://www.apizie.tech/v1/cloud:amazonaws-models-lex-v2/start-test-set-generation` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| region | string | no | The AWS region |
| body | object | yes | JSON request body |

### Stop an already running Bot Recommendation request.
`POST https://www.apizie.tech/v1/cloud:amazonaws-models-lex-v2/stop-bot-recommendation` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| region | string | no | The AWS region |
| botId | string | yes | The unique identifier of the bot containing the bot recommendation to be stopped. |
| botVersion | string | yes | The version of the bot containing the bot recommendation. |
| localeId | string | yes | The identifier of the language and locale of the bot recommendation to stop. The string must match one of the supported locales. For more… |
| botRecommendationId | string | yes | The unique identifier of the bot recommendation to be stopped. |

### Removes tags from a bot, bot alias, or bot channel.
`POST https://www.apizie.tech/v1/cloud:amazonaws-models-lex-v2/untag-resource` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| region | string | no | The AWS region |
| resourceARN | string | yes | The Amazon Resource Name (ARN) of the resource to remove the tags from. |
| tagKeys | array | yes | A list of tag keys to remove from the resource. If a tag key does not exist on the resource, it is ignored. |

## Example
```
curl "https://www.apizie.tech/v1/cloud:amazonaws-models-lex-v2/batch-create-custom-vocabulary-item" \
  -H "x-api-key: $APIZIE_KEY" \
  -H "x-upstream-key: $PROVIDER_KEY"
```

## FAQ

### How do I call the Amazon Lex Model Building V2 API?
Create a free Apizie key, then send POST https://www.apizie.tech/v1/cloud:amazonaws-models-lex-v2/batch-create-custom-vocabulary-item with the header x-api-key. Every endpoint returns { project, data, timestamp }.

### Is the Amazon Lex Model Building V2 API free on Apizie?
Yes. The Free plan includes 1,000 requests a month at 100 requests a minute, no credit card. Amazon Lex Model Building V2 itself also needs your own key from amazonaws.com.

### Can AI agents use the Amazon Lex Model Building V2 API?
Yes. Add the Apizie MCP server (https://www.apizie.tech/mcp) to Claude, ChatGPT, Cursor or VS Code, then ask in plain language. The agent calls run_scraper with project key cloud:amazonaws-models-lex-v2.

### What is the status of the Amazon Lex Model Building V2 API?
Needs your own provider key (bring your own key)
