---
title: "GET /bots/{botId}/botversions/{botVersion}/"
method: GET
path: "/bots/{botId}/botversions/{botVersion}/"
---

# GET /bots/{botId}/botversions/{botVersion}/

`GET /bots/{botId}/botversions/{botVersion}/`

Provides metadata about a version of a bot.

## Path parameters

- `botId` string, required
- `botVersion` string, required

## Response `200`

Success

- DescribeBotVersionResponse
  - `botId` string — The identifier of the bot that contains the version.
  - `botName` string — The name of the bot that contains the version.
  - `botVersion` string — The version of the bot that was described.
  - `description` string — The description specified for the bot.
  - `roleArn` string — The Amazon Resource Name (ARN) of an IAM role that has permission to access the bot version.
  - `dataPrivacy` object — Data privacy settings for the bot version.
    - `childDirected` boolean, required — 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 <code>true</code> or <code>false</code> in the <code>childDirected</code> field. By specifying <code>true</code> in the <code>childDirected</code> field, you confirm that your use of Amazon Lex <b>is</b> 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 COPPA. By specifying <code>false</code> in the <code>childDirected</code> field, you confirm that your use of Amazon Lex <b>is not</b> 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 COPPA. You may not specify a default value for the <code>childDirected</code> field that does not accurately reflect 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 COPPA. If your use of Amazon Lex relates to a website, program, or other application that is directed in whole or in part, to children under age 13, you must obtain any required verifiable parental consent under COPPA. For information regarding the use of Amazon Lex in connection with websites, programs, or other applications that are directed or targeted, in whole or in part, to children under age 13, see the <a href="http://aws.amazon.com/lex/faqs#data-security">Amazon Lex FAQ</a>.
  - `idleSessionTTLInSeconds` integer — The number of seconds that a session with the bot remains active before it is discarded by Amazon Lex.
  - `botStatus` 'Creating' | 'Available' | 'Inactive' | 'Deleting' | 'Failed' | 'Versioning' | 'Importing' | 'Updating' — The current status of the bot. When the status is <code>Available</code>, the bot version is ready for use.
  - `failureReasons` FailureReason[] — If the <code>botStatus</code> is <code>Failed</code>, this contains a list of reasons that the version couldn't be built.
  - `creationDateTime` string, date-time — A timestamp of the date and time that the bot version was created.
  - `parentBotNetworks` ParentBotNetwork[] — A list of the networks to which the bot version you described belongs.
    - `botId` string, required — The identifier of the network of bots assigned by Amazon Lex.
    - `botVersion` string, required — The version of the network of bots.
  - `botType` 'Bot' | 'BotNetwork' — The type of the bot in the version that was described.
  - `botMembers` BotMember[] — The members of bot network in the version that was described.
    - `botMemberId` string, required — The unique ID of a bot that is a member of this network of bots.
    - `botMemberName` string, required — The unique name of a bot that is a member of this network of bots.
    - `botMemberAliasId` string, required — The alias ID of a bot that is a member of this network of bots.
    - `botMemberAliasName` string, required — The alias name of a bot that is a member of this network of bots.
    - `botMemberVersion` string, required — The version of a bot that is a member of this network of bots.

## Other responses

- `480` — ThrottlingException
- `481` — ServiceQuotaExceededException
- `482` — ValidationException
- `483` — ResourceNotFoundException
- `484` — InternalServerException

---

[API](https://skmtc.net/aws/apis/lexv2-models.md) · [All operations](https://skmtc.net/aws/apis/lexv2-models/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/aws/lexv2-models/versions/6997ba482d72/schema)
