---
title: "POST /bots/{botId}/botanalyzer/"
method: POST
path: "/bots/{botId}/botanalyzer/"
---

# POST /bots/{botId}/botanalyzer/

`POST /bots/{botId}/botanalyzer/`

Initiates an asynchronous analysis of your bot configuration using AI-powered analysis to identify potential issues and recommend improvements based on AWS best practices.

The analysis examines your bot's configuration, including intents, utterances, slots, and conversation flows, to provide actionable recommendations for optimization.

## Path parameters

- `botId` string, required

## Request body

- object
  - `analysisScope` 'BotLocale', required — <p>The scope of analysis to perform on the bot.</p> <p>Valid values include:</p> <ul> <li> <p> <code>BotLocale</code> </p> </li> </ul>
  - `localeId` string — The locale identifier for the bot locale to analyze. Required when <code>analysisScope</code> is <code>BotLocale</code>.
  - `botVersion` string — The version of the bot to analyze. Defaults to <code>DRAFT</code> if not specified.

## Response `202`

Success

- StartBotAnalyzerResponse
  - `botId` string — The unique identifier of the bot being analyzed.
  - `botVersion` string — The version of the bot being analyzed.
  - `localeId` string — The locale identifier of the bot locale being analyzed.
  - `botAnalyzerStatus` 'Processing' | 'Available' | 'Failed' | 'Stopping' | 'Stopped' — <p>The current status of the analysis. The initial status is <code>Processing</code>.</p> <p>Valid Values: <code>Processing | Available | Failed | Stopping | Stopped</code> </p>
  - `botAnalyzerRequestId` string — A unique identifier for this analysis request. Use this identifier to check the status and retrieve results.
  - `creationDateTime` string, date-time — The date and time when the analysis was initiated.

## Other responses

- `480` — ThrottlingException
- `481` — ValidationException
- `482` — ResourceNotFoundException
- `483` — ConflictException
- `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)
