Skip to content

List Batch Evaluations

bedrockagentcore_list_batch_evaluations R Documentation

Lists all batch evaluations in the account, providing summary information about each evaluation's status and configuration

Description

Lists all batch evaluations in the account, providing summary information about each evaluation's status and configuration.

Usage

bedrockagentcore_list_batch_evaluations(maxResults, nextToken)

Arguments

maxResults

The maximum number of results to return in the response. If the total number of results is greater than this value, use the token returned in the response in the nextToken field when making another request to return the next batch of results.

nextToken

If the total number of results is greater than the maxResults value provided in the request, enter the token returned in the nextToken field in the response in this field to return the next batch of results.

Value

A list with the following syntax:

list(
  batchEvaluations = list(
    list(
      batchEvaluationId = "string",
      batchEvaluationArn = "string",
      batchEvaluationName = "string",
      status = "PENDING"|"IN_PROGRESS"|"COMPLETED"|"COMPLETED_WITH_ERRORS"|"FAILED"|"STOPPING"|"STOPPED"|"DELETING",
      createdAt = as.POSIXct(
        "2015-01-01"
      ),
      description = "string",
      evaluators = list(
        list(
          evaluatorId = "string"
        )
      ),
      evaluationResults = list(
        numberOfSessionsCompleted = 123,
        numberOfSessionsInProgress = 123,
        numberOfSessionsFailed = 123,
        totalNumberOfSessions = 123,
        numberOfSessionsIgnored = 123,
        evaluatorSummaries = list(
          list(
            evaluatorId = "string",
            statistics = list(
              averageScore = 123.0
            ),
            totalEvaluated = 123,
            totalFailed = 123
          )
        )
      ),
      errorDetails = list(
        "string"
      ),
      updatedAt = as.POSIXct(
        "2015-01-01"
      )
    )
  ),
  nextToken = "string"
)

Request syntax

svc$list_batch_evaluations(
  maxResults = 123,
  nextToken = "string"
)