Amazon Bedrock Bedrock Online Evaluation Configs API

The Bedrock Online Evaluation Configs API from Amazon Bedrock — 3 operation(s) for bedrock online evaluation configs.

GitHub OpenAPI

Operations 5

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

POST /online-evaluation-configs/create Create an online evaluation config · Create Online Evaluation Config #
Ask an LLM
“How do I set up continuous monitoring of my agent's performance in production?”
“Can I choose which CloudWatch log data to sample for online evaluation?”
Tell an agent
Create online evaluation config {name} with rule {rule} and data source {source}.
Create online evaluation config {name} using role {role} and enable it on creation.
GET /online-evaluation-configs/{onlineEvaluationConfigId} Get an online evaluation config · Get Online Evaluation Config #
Ask an LLM
“What rule and data source does a given online evaluation config use?”
“Is an online evaluation config currently enabled?”
Tell an agent
Get online evaluation config {config}.
Show the rule and execution status of online evaluation config {config}.
PUT /online-evaluation-configs/{onlineEvaluationConfigId} Update an online evaluation config · Update Online Evaluation Config #
Ask an LLM
“Can I change the rule or data source of an online evaluation config?”
“How do I disable an online evaluation config without deleting it?”
Tell an agent
Update online evaluation config {config} with rule {rule}.
Set the execution status of online evaluation config {config} to {status}.
DELETE /online-evaluation-configs/{onlineEvaluationConfigId} Delete an online evaluation config · Delete Online Evaluation Config #
Ask an LLM
“How do I stop and remove an online evaluation config?”
“Does deleting an online evaluation config stop its evaluation processes?”
Tell an agent destructive · confirm first
Delete online evaluation config {config}.
Remove the online evaluation config {config} and its evaluation processes.
POST /online-evaluation-configs List online evaluation configs · List Online Evaluation Configs #
Ask an LLM
“Which online evaluation configs exist in my account?”
“Can I page through my online evaluation configs?”
Tell an agent
List all online evaluation configs.
Show the first {max} online evaluation configs.

Work with this as data

Every API 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 apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • 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 API
curl "https://apis.io/api/v1/apis/amazon-bedrock:amazon-bedrock-online-evaluation-configs-api"
All apis
curl "https://apis.io/api/v1/apis?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.

OpenAPI Specification

amazon-bedrock-online-evaluation-configs-api-openapi.yml Raw ↑
openapi: 3.1.0
info:
  title: Amazon Bedrock Online Evaluation Configs API
  version: '2023-04-20'
  description: Generated from AWS's published Smithy model for Amazon Bedrock. 5 operation(s).
  contact:
    name: Amazon Web Services
    url: https://aws.amazon.com/contact-us/
  license:
    name: Apache 2.0
    identifier: Apache-2.0
    url: https://github.com/aws/api-models-aws/blob/main/LICENSE
servers:
- url: https://bedrock-agentcore-control.{region}.amazonaws.com
  variables:
    region:
      default: us-east-1
security:
- sigv4: []
paths:
  /online-evaluation-configs/create:
    post:
      operationId: CreateOnlineEvaluationConfig
      summary: Create Online Evaluation Config
      description: Creates an online evaluation configuration for continuous monitoring of agent performance. Online evaluation
        automatically samples live traffic from CloudWatch logs at specified rates and applies evaluators to assess agent
        quality in production.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CreateOnlineEvaluationConfigResponse'
        '403':
          description: AccessDeniedException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AccessDeniedException'
        '409':
          description: ConflictException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ConflictException'
        '500':
          description: InternalServerException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InternalServerException'
        '402':
          description: ServiceQuotaExceededException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ServiceQuotaExceededException'
        '429':
          description: ThrottlingException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ThrottlingException'
        '400':
          description: ValidationException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BedrockAgentcoreControlValidationException'
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                clientToken:
                  type: string
                  description: A unique, case-sensitive identifier to ensure that the API request completes no more than one
                    time. If you don't specify this field, a value is randomly generated for you. If this token matches a
                    previous request, the service ignores the request, but doesn't return an error. For more information,
                    see Ensuring idempotency.
                onlineEvaluationConfigName:
                  type: string
                  description: The name of the online evaluation configuration. Must be unique within your account.
                description:
                  type: string
                  description: The description of the online evaluation configuration that explains its monitoring purpose
                    and scope.
                rule:
                  $ref: '#/components/schemas/Rule'
                dataSourceConfig:
                  $ref: '#/components/schemas/BedrockAgentcoreControlDataSourceConfig'
                evaluators:
                  type: array
                  items:
                    $ref: '#/components/schemas/EvaluatorReference'
                  description: The list of evaluators to apply during online evaluation. Can include both built-in evaluators
                    and custom evaluators created with CreateEvaluator.
                insights:
                  type: array
                  items:
                    $ref: '#/components/schemas/Insight'
                  description: The list of insight types to run against agent sessions.
                clusteringConfig:
                  $ref: '#/components/schemas/ClusteringConfig'
                outputConfig:
                  $ref: '#/components/schemas/BedrockAgentcoreControlOutputConfig'
                evaluationExecutionRoleArn:
                  type: string
                  description: The Amazon Resource Name (ARN) of the IAM role that grants permissions to read from CloudWatch
                    logs, write evaluation results, and invoke Amazon Bedrock models for evaluation. If the configuration
                    references evaluators encrypted with a customer managed KMS key, this role must also have kms:Decrypt
                    permission on the KMS key. The service validates this permission at configuration creation time. For more
                    information, see Encryption at rest for AgentCore Evaluations.
                enableOnCreate:
                  type: boolean
                  description: Whether to enable the online evaluation configuration immediately upon creation. If true, evaluation
                    begins automatically.
                tags:
                  type: object
                  additionalProperties:
                    type: string
                  description: A map of tag keys and values to assign to an AgentCore Online Evaluation Config. Tags enable
                    you to categorize your resources in different ways, for example, by purpose, owner, or environment.
              required:
              - onlineEvaluationConfigName
              - rule
              - dataSourceConfig
              - evaluationExecutionRoleArn
              - enableOnCreate
      tags:
      - Online Evaluation Configs
  /online-evaluation-configs/{onlineEvaluationConfigId}:
    get:
      operationId: GetOnlineEvaluationConfig
      summary: Get Online Evaluation Config
      description: Retrieves detailed information about an online evaluation configuration, including its rules, data sources,
        evaluators, and execution status.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetOnlineEvaluationConfigResponse'
        '403':
          description: AccessDeniedException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AccessDeniedException'
        '500':
          description: InternalServerException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InternalServerException'
        '404':
          description: ResourceNotFoundException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ResourceNotFoundException'
        '429':
          description: ThrottlingException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ThrottlingException'
        '400':
          description: ValidationException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BedrockAgentcoreControlValidationException'
      parameters:
      - name: onlineEvaluationConfigId
        in: path
        required: true
        schema:
          type: string
        description: The unique identifier of the online evaluation configuration to retrieve.
      tags:
      - Online Evaluation Configs
    put:
      operationId: UpdateOnlineEvaluationConfig
      summary: Update Online Evaluation Config
      description: Updates an online evaluation configuration's settings, including rules, data sources, evaluators, and execution
        status. Changes take effect immediately for ongoing evaluations.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UpdateOnlineEvaluationConfigResponse'
        '403':
          description: AccessDeniedException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AccessDeniedException'
        '409':
          description: ConflictException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ConflictException'
        '500':
          description: InternalServerException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InternalServerException'
        '404':
          description: ResourceNotFoundException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ResourceNotFoundException'
        '402':
          description: ServiceQuotaExceededException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ServiceQuotaExceededException'
        '429':
          description: ThrottlingException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ThrottlingException'
        '400':
          description: ValidationException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BedrockAgentcoreControlValidationException'
      parameters:
      - name: onlineEvaluationConfigId
        in: path
        required: true
        schema:
          type: string
        description: The unique identifier of the online evaluation configuration to update.
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                clientToken:
                  type: string
                  description: A unique, case-sensitive identifier to ensure that the API request completes no more than one
                    time. If you don't specify this field, a value is randomly generated for you. If this token matches a
                    previous request, the service ignores the request, but doesn't return an error. For more information,
                    see Ensuring idempotency.
                description:
                  type: string
                  description: The updated description of the online evaluation configuration.
                rule:
                  $ref: '#/components/schemas/Rule'
                dataSourceConfig:
                  $ref: '#/components/schemas/BedrockAgentcoreControlDataSourceConfig'
                evaluators:
                  type: array
                  items:
                    $ref: '#/components/schemas/EvaluatorReference'
                  description: The updated list of evaluators to apply during online evaluation.
                insights:
                  type: array
                  items:
                    $ref: '#/components/schemas/Insight'
                  description: The updated list of insight types to run against agent sessions.
                clusteringConfig:
                  $ref: '#/components/schemas/ClusteringConfig'
                outputConfig:
                  $ref: '#/components/schemas/BedrockAgentcoreControlOutputConfig'
                evaluationExecutionRoleArn:
                  type: string
                  description: The updated Amazon Resource Name (ARN) of the IAM role used for evaluation execution.
                executionStatus:
                  type: string
                  enum:
                  - ENABLED
                  - DISABLED
                  description: The updated execution status to enable or disable the online evaluation.
      tags:
      - Online Evaluation Configs
    delete:
      operationId: DeleteOnlineEvaluationConfig
      summary: Delete Online Evaluation Config
      description: Deletes an online evaluation configuration and stops any ongoing evaluation processes associated with it.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DeleteOnlineEvaluationConfigResponse'
        '403':
          description: AccessDeniedException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AccessDeniedException'
        '409':
          description: ConflictException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ConflictException'
        '500':
          description: InternalServerException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InternalServerException'
        '404':
          description: ResourceNotFoundException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ResourceNotFoundException'
        '429':
          description: ThrottlingException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ThrottlingException'
        '400':
          description: ValidationException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BedrockAgentcoreControlValidationException'
      parameters:
      - name: onlineEvaluationConfigId
        in: path
        required: true
        schema:
          type: string
        description: The unique identifier of the online evaluation configuration to delete.
      tags:
      - Online Evaluation Configs
  /online-evaluation-configs:
    post:
      operationId: ListOnlineEvaluationConfigs
      summary: List Online Evaluation Configs
      description: Lists all online evaluation configurations in the account, providing summary information about each configuration's
        status and settings.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ListOnlineEvaluationConfigsResponse'
        '403':
          description: AccessDeniedException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AccessDeniedException'
        '500':
          description: InternalServerException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InternalServerException'
        '429':
          description: ThrottlingException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ThrottlingException'
        '400':
          description: ValidationException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BedrockAgentcoreControlValidationException'
      parameters:
      - name: nextToken
        in: query
        schema:
          type: string
        description: The pagination token from a previous request to retrieve the next page of results.
      - name: maxResults
        in: query
        schema:
          type: integer
        description: The maximum number of online evaluation configurations to return in a single response.
      tags:
      - Online Evaluation Configs
components:
  securitySchemes:
    sigv4:
      type: apiKey
      in: header
      name: Authorization
      description: AWS Signature Version 4. The Authorization header carries an AWS4-HMAC-SHA256 signature over the canonical
        request, with X-Amz-Date (and X-Amz-Security-Token for temporary credentials). Not a bearer token.
      x-aws-sigv4:
        signingName: bedrock-agentcore
  schemas:
    AccessDeniedException:
      type: object
      properties:
        message:
          type: string
    BedrockAgentcoreControlCloudWatchOutputConfig:
      type: object
      properties:
        logGroupName:
          type: string
          description: The name of the CloudWatch log group where evaluation results will be written. An existing log group
            is used as-is; otherwise the service creates it, which requires the evaluation execution role to grant logs:CreateLogGroup
            on the log group. Don't specify this value when resultDestination is SOURCE_LOG_GROUP. The name can't be under
            the service-reserved /aws/bedrock-agentcore/evaluations/ namespace, apart from this configuration's own service-managed
            default group.
        metricsNamespace:
          type: string
          description: The CloudWatch metrics namespace where evaluation result metrics are published. If you omit this value,
            the service publishes metrics to Bedrock-AgentCore/Evaluations. This value can't begin with AWS/.
        resultDestination:
          type: string
          enum:
          - DEDICATED_LOG_GROUP
          - SOURCE_LOG_GROUP
          description: 'The destination where evaluation results are written. Valid values: DEDICATED_LOG_GROUP (default)
            – Writes results to a dedicated result log group. SOURCE_LOG_GROUP – Writes results back to the log group that
            the agent traces were read from. If you use this value, don''t specify logGroupName.'
    BedrockAgentcoreControlDataSourceConfig:
      type: object
      properties:
        cloudWatchLogs:
          $ref: '#/components/schemas/CloudWatchLogsInputConfig'
      description: Exactly one member is set.
    BedrockAgentcoreControlFilterValue:
      type: object
      properties:
        stringValue:
          type: string
          description: The string value for text-based filtering.
        doubleValue:
          type: number
          description: The numeric value for numerical filtering and comparisons.
        booleanValue:
          type: boolean
          description: The boolean value for true/false filtering conditions.
      description: Exactly one member is set.
    BedrockAgentcoreControlOutputConfig:
      type: object
      properties:
        cloudWatchConfig:
          $ref: '#/components/schemas/BedrockAgentcoreControlCloudWatchOutputConfig'
      required:
      - cloudWatchConfig
    BedrockAgentcoreControlValidationException:
      type: object
      properties:
        message:
          type: string
        reason:
          type: string
          enum:
          - CannotParse
          - FieldValidationFailed
          - IdempotentParameterMismatchException
          - EventInOtherSession
          - ResourceConflict
        fieldList:
          type: array
          items:
            $ref: '#/components/schemas/ValidationExceptionField'
      required:
      - message
      - reason
    CloudWatchLogsInputConfig:
      type: object
      properties:
        logGroupNames:
          type: array
          items:
            type: string
          description: The list of CloudWatch log group names to monitor for agent traces.
        logGroupNamePrefixes:
          type: array
          items:
            type: string
          description: The list of CloudWatch log group name prefixes to monitor for agent traces. Specify this instead of
            logGroupNames to match log groups by prefix. Specify either logGroupNames or logGroupNamePrefixes, not both. One
            of the two is required.
        serviceNames:
          type: array
          items:
            type: string
          description: The list of service names to filter traces within the specified log groups. Used to identify relevant
            agent sessions.
      required:
      - serviceNames
    ClusteringConfig:
      type: object
      properties:
        frequencies:
          type: array
          items:
            type: string
            enum:
            - DAILY
            - WEEKLY
            - MONTHLY
          description: The list of frequencies at which clustering batch evaluations are triggered.
      required:
      - frequencies
    ConflictException:
      type: object
      properties:
        message:
          type: string
    CreateOnlineEvaluationConfigResponse:
      type: object
      properties:
        onlineEvaluationConfigArn:
          type: string
          description: The Amazon Resource Name (ARN) of the created online evaluation configuration.
        onlineEvaluationConfigId:
          type: string
          description: The unique identifier of the created online evaluation configuration.
        createdAt:
          type: string
          description: The timestamp when the online evaluation configuration was created.
        outputConfig:
          $ref: '#/components/schemas/BedrockAgentcoreControlOutputConfig'
        status:
          type: string
          enum:
          - ACTIVE
          - CREATING
          - CREATE_FAILED
          - UPDATING
          - UPDATE_FAILED
          - DELETING
          - ERROR
          description: The status of the online evaluation configuration.
        executionStatus:
          type: string
          enum:
          - ENABLED
          - DISABLED
          description: The execution status indicating whether the online evaluation is currently running.
        failureReason:
          type: string
          description: The reason for failure if the online evaluation configuration creation or execution failed.
      required:
      - onlineEvaluationConfigArn
      - onlineEvaluationConfigId
      - createdAt
      - status
      - executionStatus
    DeleteOnlineEvaluationConfigResponse:
      type: object
      properties:
        onlineEvaluationConfigArn:
          type: string
          description: The Amazon Resource Name (ARN) of the deleted online evaluation configuration.
        onlineEvaluationConfigId:
          type: string
          description: The unique identifier of the deleted online evaluation configuration.
        status:
          type: string
          enum:
          - ACTIVE
          - CREATING
          - CREATE_FAILED
          - UPDATING
          - UPDATE_FAILED
          - DELETING
          - ERROR
          description: The status of the online evaluation configuration deletion operation.
      required:
      - onlineEvaluationConfigArn
      - onlineEvaluationConfigId
      - status
    EvaluatorReference:
      type: object
      properties:
        evaluatorId:
          type: string
          description: The unique identifier of the evaluator. Can reference builtin evaluators (e.g., Builtin.Helpfulness)
            or custom evaluators.
      description: Exactly one member is set.
    Filter:
      type: object
      properties:
        key:
          type: string
          description: The key or field name to filter on within the agent trace data.
        operator:
          type: string
          enum:
          - Equals
          - NotEquals
          - GreaterThan
          - LessThan
          - GreaterThanOrEqual
          - LessThanOrEqual
          - Contains
          - NotContains
          description: The comparison operator to use for filtering.
        value:
          $ref: '#/components/schemas/BedrockAgentcoreControlFilterValue'
      required:
      - key
      - operator
      - value
    GetOnlineEvaluationConfigResponse:
      type: object
      properties:
        onlineEvaluationConfigArn:
          type: string
          description: The Amazon Resource Name (ARN) of the online evaluation configuration.
        onlineEvaluationConfigId:
          type: string
          description: The unique identifier of the online evaluation configuration.
        onlineEvaluationConfigName:
          type: string
          description: The name of the online evaluation configuration.
        description:
          type: string
          description: The description of the online evaluation configuration.
        rule:
          $ref: '#/components/schemas/Rule'
        dataSourceConfig:
          $ref: '#/components/schemas/BedrockAgentcoreControlDataSourceConfig'
        evaluators:
          type: array
          items:
            $ref: '#/components/schemas/EvaluatorReference'
          description: The list of evaluators applied during online evaluation.
        insights:
          type: array
          items:
            $ref: '#/components/schemas/Insight'
          description: The list of insight types configured for this evaluation.
        clusteringConfig:
          $ref: '#/components/schemas/ClusteringConfig'
        outputConfig:
          $ref: '#/components/schemas/BedrockAgentcoreControlOutputConfig'
        evaluationExecutionRoleArn:
          type: string
          description: The Amazon Resource Name (ARN) of the IAM role used for evaluation execution.
        status:
          type: string
          enum:
          - ACTIVE
          - CREATING
          - CREATE_FAILED
          - UPDATING
          - UPDATE_FAILED
          - DELETING
          - ERROR
          description: The status of the online evaluation configuration.
        executionStatus:
          type: string
          enum:
          - ENABLED
          - DISABLED
          description: The execution status indicating whether the online evaluation is currently running.
        createdAt:
          type: string
          description: The timestamp when the online evaluation configuration was created.
        updatedAt:
          type: string
          description: The timestamp when the online evaluation configuration was last updated.
        failureReason:
          type: string
          description: The reason for failure if the online evaluation configuration execution failed.
      required:
      - onlineEvaluationConfigArn
      - onlineEvaluationConfigId
      - onlineEvaluationConfigName
      - rule
      - dataSourceConfig
      - status
      - executionStatus
      - createdAt
      - updatedAt
    Insight:
      type: object
      properties:
        insightId:
          type: string
          description: The unique identifier of the insight to run.
      required:
      - insightId
    InternalServerException:
      type: object
      properties:
        message:
          type: string
    ListOnlineEvaluationConfigsResponse:
      type: object
      properties:
        onlineEvaluationConfigs:
          type: array
          items:
            $ref: '#/components/schemas/OnlineEvaluationConfigSummary'
          description: The list of online evaluation configuration summaries containing basic information about each configuration.
        nextToken:
          type: string
          description: The pagination token to use in a subsequent request to retrieve the next page of results.
      required:
      - onlineEvaluationConfigs
    OnlineEvaluationConfigSummary:
      type: object
      properties:
        onlineEvaluationConfigArn:
          type: string
          description: The Amazon Resource Name (ARN) of the online evaluation configuration.
        onlineEvaluationConfigId:
          type: string
          description: The unique identifier of the online evaluation configuration.
        onlineEvaluationConfigName:
          type: string
          description: The name of the online evaluation configuration.
        description:
          type: string
          description: The description of the online evaluation configuration.
        status:
          type: string
          enum:
          - ACTIVE
          - CREATING
          - CREATE_FAILED
          - UPDATING
          - UPDATE_FAILED
          - DELETING
          - ERROR
          description: The status of the online evaluation configuration.
        executionStatus:
          type: string
          enum:
          - ENABLED
          - DISABLED
          description: The execution status indicating whether the online evaluation is currently running.
        createdAt:
          type: string
          description: The timestamp when the online evaluation configuration was created.
        updatedAt:
          type: string
          description: The timestamp when the online evaluation configuration was last updated.
        failureReason:
          type: string
          description: The reason for failure if the online evaluation configuration execution failed.
        insights:
          type: array
          items:
            $ref: '#/components/schemas/Insight'
          description: The list of insight types configured for this evaluation.
        clusteringConfig:
          $ref: '#/components/schemas/ClusteringConfig'
      required:
      - onlineEvaluationConfigArn
      - onlineEvaluationConfigId
      - onlineEvaluationConfigName
      - status
      - executionStatus
      - createdAt
      - updatedAt
    ResourceNotFoundException:
      type: object
      properties:
        message:
          type: string
    Rule:
      type: object
      properties:
        samplingConfig:
          $ref: '#/components/schemas/SamplingConfig'
        filters:
          type: array
          items:
            $ref: '#/components/schemas/Filter'
          description: The list of filters that determine which agent traces should be included in the evaluation based on
            trace properties.
        sessionConfig:
          $ref: '#/components/schemas/SessionConfig'
      required:
      - samplingConfig
    SamplingConfig:
      type: object
      properties:
        samplingPercentage:
          type: number
          description: The percentage of agent traces to sample for evaluation, ranging from 0.01% to 100%.
      required:
      - samplingPercentage
    ServiceQuotaExceededException:
      type: object
      properties:
        message:
          type: string
    SessionConfig:
      type: object
      properties:
        sessionTimeoutMinutes:
          type: integer
          description: The number of minutes of inactivity after which an agent session is considered complete and ready for
            evaluation. Default is 15 minutes.
      required:
      - sessionTimeoutMinutes
    ThrottlingException:
      type: object
      properties:
        message:
          type: string
    UpdateOnlineEvaluationConfigResponse:
      type: object
      properties:
        onlineEvaluationConfigArn:
          type: string
          description: The Amazon Resource Name (ARN) of the updated online evaluation configuration.
        onlineEvaluationConfigId:
          type: string
          description: The unique identifier of the updated online evaluation configuration.
        updatedAt:
          type: string
          description: The timestamp when the online evaluation configuration was last updated.
        status:
          type: string
          enum:
          - ACTIVE
          - CREATING
          - CREATE_FAILED
          - UPDATING
          - UPDATE_FAILED
          - DELETING
          - ERROR
          description: The status of the online evaluation configuration.
        executionStatus:
          type: string
          enum:
          - ENABLED
          - DISABLED
          description: The execution status indicating whether the online evaluation is currently running.
        failureReason:
          type: string
          description: The reason for failure if the online evaluation configuration update or execution failed.
      required:
      - onlineEvaluationConfigArn
      - onlineEvaluationConfigId
      - updatedAt
      - status
      - executionStatus
    ValidationExceptionField:
      type: object
      properties:
        name:
          type: string
          description: The name of the field.
        message:
          type: string
          description: A message describing why this field failed validation.
      required:
      - name
      - message
x-provenance:
  method: harvested
  publisher: Amazon Web Services
  source: https://raw.githubusercontent.com/aws/api-models-aws/3cd98287b471c106254abd89279cc87308d38bfd/models/bedrock-agentcore-control/service/2023-06-05/bedrock-agentcore-control-2023-06-05.json
  note: converted by smithy-to-openapi.py from AWS's Smithy model (roadmap#1001)