{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-bedrock/json-schema/amazon-bedrock-create-online-evaluation-config-response-schema.json",
  "title": "CreateOnlineEvaluationConfigResponse",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-bedrock-online-evaluation-configs-api-openapi.yml#/components/schemas/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": "#/$defs/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"
  ],
  "$defs": {
    "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."
        }
      }
    },
    "BedrockAgentcoreControlOutputConfig": {
      "type": "object",
      "properties": {
        "cloudWatchConfig": {
          "$ref": "#/$defs/BedrockAgentcoreControlCloudWatchOutputConfig"
        }
      },
      "required": [
        "cloudWatchConfig"
      ]
    }
  }
}