Amazon Lex · Schema

PutBotResponse

Artificial IntelligenceConversational AIChatbotsNatural Language ProcessingSpeechVoiceContact CenterCustomer ServiceAmazon Web Services

Properties

Name Type Description
name string The name of the bot.
description string A description of the bot.
intents array An array of Intent objects. For more information, see PutBot.
enableModelImprovements boolean Indicates whether the bot uses accuracy improvements. true indicates that the bot is using the improvements, otherwise, false.
nluIntentConfidenceThreshold number The score that determines where Amazon Lex inserts the AMAZON.FallbackIntent, AMAZON.KendraSearchIntent, or both when returning alternative intents in a PostContent or PostText response. AMAZON.Fallba
clarificationPrompt object
abortStatement object
status string When you send a request to create a bot with processBehavior set to BUILD, Amazon Lex sets the status response element to BUILDING. In the READY_BASIC_TESTING state you can test the bot with user inpu
failureReason string If status is FAILED, Amazon Lex provides the reason that it failed to build the bot.
lastUpdatedDate string The date that the bot was updated. When you create a resource, the creation date and last updated date are the same.
createdDate string The date that the bot was created.
idleSessionTTLInSeconds integer The maximum length of time that Amazon Lex retains the data gathered in a conversation. For more information, see PutBot.
voiceId string The Amazon Polly voice ID that Amazon Lex uses for voice interaction with the user. For more information, see PutBot.
checksum string Checksum of the bot that you created.
version string The version of the bot. For a new bot, the version is always $LATEST.
locale string The target locale for the bot.
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
createVersion boolean True if a new version of the bot was created. If the createVersion field was not specified in the request, the createVersion field is set to false in the response.
detectSentiment boolean true if the bot is configured to send user utterances to Amazon Comprehend for sentiment analysis. If the detectSentiment field was not specified in the request, the detectSentiment field is false in
tags array A list of tags associated with the bot.
View JSON Schema on GitHub

JSON Schema

amazon-lex-put-bot-response-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-lex/json-schema/amazon-lex-put-bot-response-schema.json",
  "title": "PutBotResponse",
  "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/PutBotResponse",
  "type": "object",
  "properties": {
    "name": {
      "type": "string",
      "description": "The name of the bot."
    },
    "description": {
      "type": "string",
      "description": "A description of the bot."
    },
    "intents": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/ModelsLexIntent"
      },
      "description": "An array of Intent objects. For more information, see PutBot."
    },
    "enableModelImprovements": {
      "type": "boolean",
      "description": "Indicates whether the bot uses accuracy improvements. true indicates that the bot is using the improvements, otherwise, false."
    },
    "nluIntentConfidenceThreshold": {
      "type": "number",
      "description": "The score that determines where Amazon Lex inserts the AMAZON.FallbackIntent, AMAZON.KendraSearchIntent, or both when returning alternative intents in a PostContent or PostText response. AMAZON.FallbackIntent is inserted if the confidence score for all intents is below this value. AMAZON.KendraSearchIntent is only inserted if it is configured for the bot."
    },
    "clarificationPrompt": {
      "$ref": "#/$defs/Prompt"
    },
    "abortStatement": {
      "$ref": "#/$defs/Statement"
    },
    "status": {
      "type": "string",
      "enum": [
        "BUILDING",
        "READY",
        "READY_BASIC_TESTING",
        "FAILED",
        "NOT_BUILT"
      ],
      "description": "When you send a request to create a bot with processBehavior set to BUILD, Amazon Lex sets the status response element to BUILDING. In the READY_BASIC_TESTING state you can test the bot with user inputs that exactly match the utterances configured for the bot's intents and values in the slot types. If Amazon Lex can't build the bot, Amazon Lex sets status to FAILED. Amazon Lex returns the reason for the failure in the failureReason response element. When you set processBehavior to SAVE, Amazon Lex sets the status code to NOT BUILT. When the bot is in the READY state you can test and publish th"
    },
    "failureReason": {
      "type": "string",
      "description": "If status is FAILED, Amazon Lex provides the reason that it failed to build the bot."
    },
    "lastUpdatedDate": {
      "type": "string",
      "format": "date-time",
      "description": "The date that the bot was updated. When you create a resource, the creation date and last updated date are the same."
    },
    "createdDate": {
      "type": "string",
      "format": "date-time",
      "description": "The date that the bot was created."
    },
    "idleSessionTTLInSeconds": {
      "type": "integer",
      "description": "The maximum length of time that Amazon Lex retains the data gathered in a conversation. For more information, see PutBot."
    },
    "voiceId": {
      "type": "string",
      "description": "The Amazon Polly voice ID that Amazon Lex uses for voice interaction with the user. For more information, see PutBot."
    },
    "checksum": {
      "type": "string",
      "description": "Checksum of the bot that you created."
    },
    "version": {
      "type": "string",
      "description": "The version of the bot. For a new bot, the version is always $LATEST."
    },
    "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": "The target locale for the bot."
    },
    "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"
    },
    "createVersion": {
      "type": "boolean",
      "description": "True if a new version of the bot was created. If the createVersion field was not specified in the request, the createVersion field is set to false in the response."
    },
    "detectSentiment": {
      "type": "boolean",
      "description": "true if the bot is configured to send user utterances to Amazon Comprehend for sentiment analysis. If the detectSentiment field was not specified in the request, the detectSentiment field is false in the response."
    },
    "tags": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/Tag"
      },
      "description": "A list of tags associated with the bot."
    }
  },
  "$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.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/amazon-lex-put-bot-response"
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.