Amazon Bedrock · Schema

EvaluateRequest

Artificial IntelligenceAmazon Web ServicesFoundation ModelsGenerative AILLMMachine LearningRAGAgentsResponsible AIModel Serving

Properties

Name Type Description
evaluatorId string The unique identifier of the evaluator to use for scoring. Can be a built-in evaluator (e.g., Builtin.Helpfulness, Builtin.Correctness) or a custom evaluator Id created through the control plane API.
evaluationInput object
evaluationTarget object
evaluationReferenceInputs array Ground truth data to compare against agent responses during evaluation. Allows to provide expected responses, assertions, and expected tool trajectories at different evaluation levels. Session-level r
View JSON Schema on GitHub

JSON Schema

amazon-bedrock-evaluate-request-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-bedrock/json-schema/amazon-bedrock-evaluate-request-schema.json",
  "title": "EvaluateRequest",
  "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/EvaluateRequest",
  "type": "object",
  "properties": {
    "evaluatorId": {
      "type": "string",
      "description": "The unique identifier of the evaluator to use for scoring. Can be a built-in evaluator (e.g., Builtin.Helpfulness, Builtin.Correctness) or a custom evaluator Id created through the control plane API."
    },
    "evaluationInput": {
      "$ref": "#/$defs/EvaluationInput"
    },
    "evaluationTarget": {
      "$ref": "#/$defs/EvaluationTarget"
    },
    "evaluationReferenceInputs": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/EvaluationReferenceInput"
      },
      "description": "Ground truth data to compare against agent responses during evaluation. Allows to provide expected responses, assertions, and expected tool trajectories at different evaluation levels. Session-level reference inputs apply to the entire conversation, while trace-level reference inputs target specific request-response interactions identified by trace ID."
    }
  },
  "required": [
    "evaluatorId",
    "evaluationInput"
  ],
  "$defs": {
    "Context": {
      "type": "object",
      "properties": {
        "spanContext": {
          "$ref": "#/$defs/SpanContext"
        }
      },
      "description": "Exactly one member is set."
    },
    "EvaluationContent": {
      "type": "object",
      "properties": {
        "text": {
          "type": "string",
          "description": "The text content of the ground truth data. Used for expected response text and assertion statements."
        }
      },
      "description": "Exactly one member is set."
    },
    "EvaluationExpectedTrajectory": {
      "type": "object",
      "properties": {
        "toolNames": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "The list of tool names representing the expected tool call sequence."
        }
      }
    },
    "EvaluationInput": {
      "type": "object",
      "properties": {
        "sessionSpans": {
          "type": "array",
          "items": {
            "type": "object"
          },
          "description": "The collection of spans representing agent execution traces within a session. Each span contains detailed information about tool calls, model interactions, and other agent activities that can be evaluated for quality and performance."
        }
      },
      "description": "Exactly one member is set."
    },
    "EvaluationReferenceInput": {
      "type": "object",
      "properties": {
        "context": {
          "$ref": "#/$defs/Context"
        },
        "expectedResponse": {
          "$ref": "#/$defs/EvaluationContent"
        },
        "assertions": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/EvaluationContent"
          },
          "description": "A list of assertion statements for session-level evaluation. Each assertion describes an expected behavior or outcome the agent should demonstrate during the session."
        },
        "expectedTrajectory": {
          "$ref": "#/$defs/EvaluationExpectedTrajectory"
        }
      },
      "required": [
        "context"
      ]
    },
    "EvaluationTarget": {
      "type": "object",
      "properties": {
        "spanIds": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "The list of specific span IDs to evaluate within the provided traces. Used to target evaluation at individual tool calls or specific operations within the agent's execution flow."
        },
        "traceIds": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "The list of trace IDs to evaluate, representing complete request-response interactions. Used to evaluate entire conversation turns or specific agent interactions within a session."
        }
      },
      "description": "Exactly one member is set."
    },
    "SpanContext": {
      "type": "object",
      "properties": {
        "sessionId": {
          "type": "string",
          "description": "The unique identifier of the session containing this span. Sessions represent complete conversation flows and are detected using configurable SessionTimeoutMinutes (default 15 minutes)."
        },
        "traceId": {
          "type": "string",
          "description": "The unique identifier of the trace containing this span. Traces represent individual request-response interactions within a session and group related spans together."
        },
        "spanId": {
          "type": "string",
          "description": "The unique identifier of the specific span being referenced. Spans represent individual operations like tool calls, model invocations, or other discrete actions within the agent's execution."
        }
      },
      "required": [
        "sessionId"
      ]
    }
  }
}

Work with this as data

Every JSON Schema 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 schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • 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 JSON Schema
curl "https://apis.io/api/v1/json-schemas/amazon-bedrock-evaluate-request"
All schemas
curl "https://apis.io/api/v1/json-schemas?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.