Skip to content

List Bot Analyzer History

lexmodelsv2_list_bot_analyzer_history R Documentation

Retrieves a list of historical bot analysis executions for a specific bot

Description

Retrieves a list of historical bot analysis executions for a specific bot. You can filter the results by locale and bot version.

The history includes all analysis executions regardless of their status, allowing you to track past analyses and their outcomes.

Usage

lexmodelsv2_list_bot_analyzer_history(botId, localeId, botVersion,
  nextToken, maxResults)

Arguments

botId

[required] The unique identifier of the bot.

localeId

The locale identifier to filter the history. If not specified, returns history for all locales.

botVersion

The bot version to filter the history. If not specified, defaults to DRAFT.

nextToken

If the response from a previous request was truncated, the nextToken value is used to retrieve the next page of history entries.

maxResults

The maximum number of history entries to return in the response. The default is 10.

Value

A list with the following syntax:

list(
  botId = "string",
  localeId = "string",
  botVersion = "string",
  botAnalyzerHistoryList = list(
    list(
      botAnalyzerStatus = "Processing"|"Available"|"Failed"|"Stopping"|"Stopped",
      creationDateTime = as.POSIXct(
        "2015-01-01"
      ),
      botAnalyzerRequestId = "string"
    )
  ),
  nextToken = "string"
)

Request syntax

svc$list_bot_analyzer_history(
  botId = "string",
  localeId = "string",
  botVersion = "string",
  nextToken = "string",
  maxResults = 123
)