Amazon Lex · Schema
PutBotRequest
Artificial IntelligenceConversational AIChatbotsNatural Language ProcessingSpeechVoiceContact CenterCustomer ServiceAmazon Web Services
Properties
| Name | Type | Description |
|---|---|---|
| name | string | The name of the bot. The name is not case sensitive. |
| description | string | A description of the bot. |
| intents | array | An array of Intent objects. Each intent represents a command that a user can express. For example, a pizza ordering bot might support an OrderPizza intent. For more information, see how-it-works. |
| enableModelImprovements | boolean | Set to true to enable access to natural language understanding improvements. When you set the enableModelImprovements parameter to true you can use the nluIntentConfidenceThreshold parameter to config |
| nluIntentConfidenceThreshold | number | Determines the threshold where Amazon Lex will insert the AMAZON.FallbackIntent, AMAZON.KendraSearchIntent, or both when returning alternative intents in a PostContent or PostText response. AMAZON.Fal |
| clarificationPrompt | object | |
| abortStatement | object | |
| idleSessionTTLInSeconds | integer | The maximum time in seconds that Amazon Lex retains the data gathered in a conversation. A user interaction session remains active for the amount of time specified. If no conversation occurs during th |
| voiceId | string | The Amazon Polly voice ID that you want Amazon Lex to use for voice interactions with the user. The locale configured for the voice must match the locale of the bot. For more information, see Voices i |
| checksum | string | Identifies a specific revision of the $LATEST version. When you create a new bot, leave the checksum field blank. If you specify a checksum you get a BadRequestException exception. When you want to up |
| processBehavior | string | If you set the processBehavior element to BUILD, Amazon Lex builds the bot so that it can be run. If you set the element to SAVE Amazon Lex saves the bot, but doesn't build it. If you don't specify th |
| locale | string | Specifies the target locale for the bot. Any intent used in the bot must be compatible with the locale of the bot. The default is en-US. |
| childDirected | boolean | For each Amazon Lex bot created with the Amazon Lex Model Building Service, you must specify whether your use of Amazon Lex is related to a website, program, or other application that is directed or t |
| detectSentiment | boolean | When set to true user utterances are sent to Amazon Comprehend for sentiment analysis. If you don't specify detectSentiment, the default is false. |
| createVersion | boolean | When set to true a new numbered version of the bot is created. This is the same as calling the CreateBotVersion operation. If you don't specify createVersion, the default is false. |
| tags | array | A list of tags to add to the bot. You can only add tags when you create a bot, you can't use the PutBot operation to update the tags on a bot. To update tags, use the TagResource operation. |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://artifacts.apis.io/amazon-lex/json-schema/amazon-lex-put-bot-request-schema.json",
"title": "PutBotRequest",
"x-generated": "2026-11-11",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/amazon-lex-versions-api-openapi.yml#/components/schemas/PutBotRequest",
"type": "object",
"properties": {
"name": {
"type": "string",
"description": "The name of the bot. The name is not case sensitive."
},
"description": {
"type": "string",
"description": "A description of the bot."
},
"intents": {
"type": "array",
"items": {
"$ref": "#/$defs/ModelsLexIntent"
},
"description": "An array of Intent objects. Each intent represents a command that a user can express. For example, a pizza ordering bot might support an OrderPizza intent. For more information, see how-it-works."
},
"enableModelImprovements": {
"type": "boolean",
"description": "Set to true to enable access to natural language understanding improvements. When you set the enableModelImprovements parameter to true you can use the nluIntentConfidenceThreshold parameter to configure confidence scores. For more information, see Confidence Scores. You can only set the enableModelImprovements parameter in certain Regions. If you set the parameter to true, your bot has access to accuracy improvements. The Regions where you can set the enableModelImprovements parameter to true are: US East (N. Virginia) (us-east-1) US West (Oregon) (us-west-2) Asia Pacific (Sydney) (ap-southea"
},
"nluIntentConfidenceThreshold": {
"type": "number",
"description": "Determines the threshold where Amazon Lex will insert the AMAZON.FallbackIntent, AMAZON.KendraSearchIntent, or both when returning alternative intents in a PostContent or PostText response. AMAZON.FallbackIntent and AMAZON.KendraSearchIntent are only inserted if they are configured for the bot. You must set the enableModelImprovements parameter to true to use confidence scores in the following regions. US East (N. Virginia) (us-east-1) US West (Oregon) (us-west-2) Asia Pacific (Sydney) (ap-southeast-2) EU (Ireland) (eu-west-1) In other Regions, the enableModelImprovements parameter is set to t"
},
"clarificationPrompt": {
"$ref": "#/$defs/Prompt"
},
"abortStatement": {
"$ref": "#/$defs/Statement"
},
"idleSessionTTLInSeconds": {
"type": "integer",
"description": "The maximum time in seconds that Amazon Lex retains the data gathered in a conversation. A user interaction session remains active for the amount of time specified. If no conversation occurs during this time, the session expires and Amazon Lex deletes any data provided before the timeout. For example, suppose that a user chooses the OrderPizza intent, but gets sidetracked halfway through placing an order. If the user doesn't complete the order within the specified time, Amazon Lex discards the slot information that it gathered, and the user must start over. If you don't include the idleSession"
},
"voiceId": {
"type": "string",
"description": "The Amazon Polly voice ID that you want Amazon Lex to use for voice interactions with the user. The locale configured for the voice must match the locale of the bot. For more information, see Voices in Amazon Polly in the Amazon Polly Developer Guide."
},
"checksum": {
"type": "string",
"description": "Identifies a specific revision of the $LATEST version. When you create a new bot, leave the checksum field blank. If you specify a checksum you get a BadRequestException exception. When you want to update a bot, set the checksum field to the checksum of the most recent revision of the $LATEST version. If you don't specify the checksum field, or if the checksum does not match the $LATEST version, you get a PreconditionFailedException exception."
},
"processBehavior": {
"type": "string",
"enum": [
"SAVE",
"BUILD"
],
"description": "If you set the processBehavior element to BUILD, Amazon Lex builds the bot so that it can be run. If you set the element to SAVE Amazon Lex saves the bot, but doesn't build it. If you don't specify this value, the default value is BUILD."
},
"locale": {
"type": "string",
"enum": [
"de-DE",
"en-AU",
"en-GB",
"en-IN",
"en-US",
"es-419",
"es-ES",
"es-US",
"fr-FR",
"fr-CA",
"it-IT",
"ja-JP",
"ko-KR"
],
"description": "Specifies the target locale for the bot. Any intent used in the bot must be compatible with the locale of the bot. The default is en-US."
},
"childDirected": {
"type": "boolean",
"description": "For each Amazon Lex bot created with the Amazon Lex Model Building Service, you must specify whether your use of Amazon Lex is related to a website, program, or other application that is directed or targeted, in whole or in part, to children under age 13 and subject to the Children's Online Privacy Protection Act (COPPA) by specifying true or false in the childDirected field. By specifying true in the childDirected field, you confirm that your use of Amazon Lex is related to a website, program, or other application that is directed or targeted, in whole or in part, to children under age 13 and"
},
"detectSentiment": {
"type": "boolean",
"description": "When set to true user utterances are sent to Amazon Comprehend for sentiment analysis. If you don't specify detectSentiment, the default is false."
},
"createVersion": {
"type": "boolean",
"description": "When set to true a new numbered version of the bot is created. This is the same as calling the CreateBotVersion operation. If you don't specify createVersion, the default is false."
},
"tags": {
"type": "array",
"items": {
"$ref": "#/$defs/Tag"
},
"description": "A list of tags to add to the bot. You can only add tags when you create a bot, you can't use the PutBot operation to update the tags on a bot. To update tags, use the TagResource operation."
}
},
"required": [
"name",
"locale",
"childDirected"
],
"$defs": {
"ModelsLexIntent": {
"type": "object",
"properties": {
"intentName": {
"type": "string",
"description": "The name of the intent."
},
"intentVersion": {
"type": "string",
"description": "The version of the intent."
}
},
"required": [
"intentName",
"intentVersion"
]
},
"ModelsLexMessage": {
"type": "object",
"properties": {
"contentType": {
"type": "string",
"enum": [
"PlainText",
"SSML",
"CustomPayload"
],
"description": "The content type of the message string."
},
"content": {
"type": "string",
"description": "The text of the message."
},
"groupNumber": {
"type": "integer",
"description": "Identifies the message group that the message belongs to. When a group is assigned to a message, Amazon Lex returns one message from each group in the response."
}
},
"required": [
"contentType",
"content"
]
},
"Prompt": {
"type": "object",
"properties": {
"messages": {
"type": "array",
"items": {
"$ref": "#/$defs/ModelsLexMessage"
},
"description": "An array of objects, each of which provides a message string and its type. You can specify the message string in plain text or in Speech Synthesis Markup Language (SSML)."
},
"maxAttempts": {
"type": "integer",
"description": "The number of times to prompt the user for information."
},
"responseCard": {
"type": "string",
"description": "A response card. Amazon Lex uses this prompt at runtime, in the PostText API response. It substitutes session attributes and slot values for placeholders in the response card. For more information, see ex-resp-card."
}
},
"required": [
"messages",
"maxAttempts"
]
},
"Statement": {
"type": "object",
"properties": {
"messages": {
"type": "array",
"items": {
"$ref": "#/$defs/ModelsLexMessage"
},
"description": "A collection of message objects."
},
"responseCard": {
"type": "string",
"description": "At runtime, if the client is using the PostText API, Amazon Lex includes the response card in the response. It substitutes all of the session attributes and slot values for placeholders in the response card."
}
},
"required": [
"messages"
]
},
"Tag": {
"type": "object",
"properties": {
"key": {
"type": "string",
"description": "The key for the tag. Keys are not case-sensitive and must be unique."
},
"value": {
"type": "string",
"description": "The value associated with a key. The value may be an empty string but it can't be null."
}
},
"required": [
"key",
"value"
]
}
}
}
Work with this as data
Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for schemas
4 MCP tools reach this
find_json_schemasBrowse and filter every JSON Schema in the catalog.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.
Call it yourself
curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/amazon-lex-put-bot-request"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.