{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-bedrock/json-schema/amazon-bedrock-start-batch-evaluation-response-schema.json",
  "title": "StartBatchEvaluationResponse",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-bedrock-evaluations-api-openapi.yml#/components/schemas/StartBatchEvaluationResponse",
  "type": "object",
  "properties": {
    "batchEvaluationId": {
      "type": "string",
      "description": "The unique identifier of the created batch evaluation."
    },
    "batchEvaluationArn": {
      "type": "string",
      "description": "The Amazon Resource Name (ARN) of the created batch evaluation."
    },
    "batchEvaluationName": {
      "type": "string",
      "description": "The name of the batch evaluation."
    },
    "evaluators": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/Evaluator"
      },
      "description": "The list of evaluators applied during the batch evaluation."
    },
    "insights": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/Insight"
      },
      "description": "The list of insight analyses applied during the batch evaluation."
    },
    "status": {
      "type": "string",
      "enum": [
        "PENDING",
        "IN_PROGRESS",
        "COMPLETED",
        "COMPLETED_WITH_ERRORS",
        "FAILED",
        "STOPPING",
        "STOPPED",
        "DELETING"
      ],
      "description": "The status of the batch evaluation."
    },
    "createdAt": {
      "type": "string",
      "description": "The timestamp when the batch evaluation was created."
    },
    "outputConfig": {
      "$ref": "#/$defs/BedrockAgentcoreOutputConfig"
    },
    "tags": {
      "type": "object",
      "additionalProperties": {
        "type": "string"
      },
      "description": "The tags associated with the batch evaluation."
    },
    "kmsKeyArn": {
      "type": "string",
      "description": "The ARN of the KMS key used to encrypt evaluation data."
    },
    "description": {
      "type": "string",
      "description": "The description of the batch evaluation."
    }
  },
  "required": [
    "batchEvaluationId",
    "batchEvaluationArn",
    "batchEvaluationName",
    "status",
    "createdAt"
  ],
  "$defs": {
    "BedrockAgentcoreOutputConfig": {
      "type": "object",
      "properties": {
        "cloudWatchConfig": {
          "$ref": "#/$defs/CloudWatchOutputConfig"
        }
      },
      "description": "Exactly one member is set."
    },
    "CloudWatchOutputConfig": {
      "type": "object",
      "properties": {
        "logGroupName": {
          "type": "string",
          "description": "The name of the CloudWatch log group where evaluation results will be written. This value doesn't apply when resultDestination is SOURCE_LOG_GROUP, because results are written back to the trace source log group. The name can't be under the service-reserved /aws/bedrock-agentcore/evaluations/ namespace, apart from the service-managed default group."
        },
        "logStreamName": {
          "type": "string",
          "description": "The name of the CloudWatch log stream where evaluation results will be written."
        },
        "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."
        }
      }
    },
    "Evaluator": {
      "type": "object",
      "properties": {
        "evaluatorId": {
          "type": "string",
          "description": "The unique identifier of the evaluator. Can reference built-in evaluators (e.g., Builtin.Helpfulness) or custom evaluators."
        }
      },
      "required": [
        "evaluatorId"
      ]
    },
    "Insight": {
      "type": "object",
      "properties": {
        "insightId": {
          "type": "string",
          "description": "The unique identifier of the insight to run."
        }
      },
      "required": [
        "insightId"
      ]
    }
  }
}