Amazon Lex · Schema

GetBotResponse

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 The status of the bot. When the status is BUILDING Amazon Lex is building the bot for testing and use. If the status of the bot is READY_BASIC_TESTING, you can test the bot using the exact utterances
failureReason string If status is FAILED, Amazon Lex explains why 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 time in seconds 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 used to identify a specific revision of the bot's $LATEST version.
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
detectSentiment boolean Indicates whether user utterances should be sent to Amazon Comprehend for sentiment analysis.
View JSON Schema on GitHub

JSON Schema

amazon-lex-get-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-get-bot-response-schema.json",
  "title": "GetBotResponse",
  "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/GetBotResponse",
  "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": "The status of the bot. When the status is BUILDING Amazon Lex is building the bot for testing and use. If the status of the bot is READY_BASIC_TESTING, you can test the bot using the exact utterances specified in the bot's intents. When the bot is ready for full testing or to run, the status is READY. If there was a problem with building the bot, the status is FAILED and the failureReason field explains why the bot did not build. If the bot was saved but not built, the status is NOT_BUILT."
    },
    "failureReason": {
      "type": "string",
      "description": "If status is FAILED, Amazon Lex explains why 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 time in seconds 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 used to identify a specific revision of the bot's $LATEST version."
    },
    "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"
    },
    "detectSentiment": {
      "type": "boolean",
      "description": "Indicates whether user utterances should be sent to Amazon Comprehend for sentiment analysis."
    }
  },
  "$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"
      ]
    }
  }
}

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-get-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.