> ## Documentation Index
> Fetch the complete documentation index at: https://docs.wandb.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Eval 結果クエリ

> 1 つ以上の評価について、グループ化された評価結果行を取得します。



## OpenAPI

````yaml /ja/weave/reference/service-api/openapi.json post /v2/{entity}/{project}/eval_results/query
openapi: 3.1.0
info:
  title: FastAPI
  version: 0.1.0
servers: []
security: []
paths:
  /v2/{entity}/{project}/eval_results/query:
    post:
      tags:
        - Eval Results
      summary: Eval 結果クエリ
      description: 1 つ以上の評価について、グループ化された評価結果行を取得します。
      operationId: eval_results_query_v2__entity___project__eval_results_query_post
      parameters:
        - in: path
          name: entity
          required: true
          schema:
            title: Entity
            type: string
        - in: path
          name: project
          required: true
          schema:
            title: Project
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/EvalResultsQueryBody'
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EvalResultsQueryRes'
          description: 正常なレスポンス
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: 検証エラー
      security:
        - HTTPBasic: []
        - HTTPBearer: []
components:
  schemas:
    EvalResultsQueryBody:
      additionalProperties: false
      properties:
        evaluation_call_ids:
          anyOf:
            - items:
                type: string
              type: array
            - type: 'null'
          description: 含める評価ルート Call ID。
          title: Evaluation Call Ids
        evaluation_run_ids:
          anyOf:
            - items:
                type: string
              type: array
            - type: 'null'
          description: Evaluation Runs API の評価 Call ID のエイリアス。
          title: Evaluation Run Ids
        filters:
          anyOf:
            - items:
                $ref: '#/components/schemas/EvalResultsFilter'
              type: array
            - type: 'null'
          description: グループ化された行に適用されるフィルターです。複数のフィルターは AND 条件で結合されます。
          title: Filters
        include_predict_and_score_children:
          default: true
          description: >-
            true の場合（デフォルト）、各 predict_and_score Call の子
            Call（predict/score）を取得して、predict_call_id、scorer_call_ids、さらにより正確なレイテンシ/トークンデータを取得します。false
            の場合、これらのフィールドは predict_and_score Call 自体から導出されます（predict_call_id と
            scorer_call_ids は null/空になります）。
          title: Include Predict And Score Children
          type: boolean
        include_raw_data_rows:
          default: false
          description: >-
            true の場合、各結果行の raw_data_row を設定します。インライン行は dict
            値として返され、データセット参照行は、resolve_row_refs も true の場合を除き、ref 文字列として返されます。
          title: Include Raw Data Rows
          type: boolean
        include_rows:
          default: true
          description: >-
            true の場合、グループ化された行/試行データを `rows` に含め、要求された行レベル view の `total_rows`
            を計算します。
          title: Include Rows
          type: boolean
        include_summary:
          default: false
          description: true の場合、集約された Scorer/評価の summary データを `summary` に含めます。
          title: Include Summary
          type: boolean
        limit:
          anyOf:
            - type: integer
            - type: 'null'
          description: グループ化と積集合の後に適用されるオプションの行レベルのページ サイズ。
          title: Limit
        offset:
          default: 0
          description: グループ化と積集合の後に適用されるオプションの行レベルのページ オフセット。
          title: Offset
          type: integer
        require_intersection:
          default: false
          description: true の場合、要求されたすべての評価に存在する行のみを含めます。
          title: Require Intersection
          type: boolean
        resolve_row_refs:
          default: false
          description: >-
            true の場合（include_raw_data_rows=True
            が必要）、表のルックアップによってデータセット行の参照文字列を実際の行データに解決します。false の場合、データセット行 ref
            はそのまま返されます。
          title: Resolve Row Refs
          type: boolean
        sort_by:
          anyOf:
            - items:
                $ref: '#/components/schemas/EvalResultsSortBy'
              type: array
            - type: 'null'
          description: >-
            結果行の並べ替え指定です。サポートされるフィールド接頭辞: scores.<name>, inputs.<path>,
            outputs.<path>。null の場合、行は row_digest の昇順で並べ替えられます。
          title: Sort By
        summary_require_intersection:
          anyOf:
            - type: boolean
            - type: 'null'
          description: >-
            summary セクションに対するオプションの積集合動作です。null の場合は、`require_intersection`
            の値が使用されます。
          title: Summary Require Intersection
      title: EvalResultsQueryBody
      type: object
    EvalResultsQueryRes:
      properties:
        rows:
          items:
            $ref: '#/components/schemas/EvalResultsRow'
          title: Rows
          type: array
        summary:
          anyOf:
            - $ref: '#/components/schemas/EvalResultsSummaryRes'
            - type: 'null'
        total_rows:
          title: Total Rows
          type: integer
        warnings:
          description: '致命的ではない警告（例: データセット行 ref の解決失敗）。'
          items:
            type: string
          title: Warnings
          type: array
      required:
        - rows
        - total_rows
      title: EvalResultsQueryRes
      type: object
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          title: Detail
          type: array
      title: HTTPValidationError
      type: object
    EvalResultsFilter:
      additionalProperties: false
      description: 省略可能な評価にスコープされたフィルターです。
      properties:
        evaluation_call_id:
          anyOf:
            - type: string
            - type: 'null'
          description: 設定すると、フィルターフィールドはこの評価のデータにスコープされます。
          title: Evaluation Call Id
        query:
          $ref: '#/components/schemas/Query'
          description: >-
            フィルター式です。サポートされるフィールド接頭辞: scores.<name>, inputs.<path>,
            outputs.<path>。
      required:
        - query
      title: EvalResultsFilter
      type: object
    EvalResultsSortBy:
      additionalProperties: false
      description: 評価結果の並べ替え指定です。SortBy を拡張します。
      properties:
        direction:
          enum:
            - asc
            - desc
          title: Direction
          type: string
        evaluation_call_id:
          anyOf:
            - type: string
            - type: 'null'
          description: 並べ替えの対象を特定の評価のスコアに限定します。
          title: Evaluation Call Id
        field:
          title: Field
          type: string
        mode:
          default: value
          description: >-
            'value' の場合、指定した評価のフィールド値で並べ替えます。'difference'
            の場合、すべての評価にわたるそのフィールドの最大値と最小値の差で並べ替えます（evaluation_call_id は無視されます）。
          enum:
            - value
            - difference
          title: Mode
          type: string
      required:
        - field
        - direction
      title: EvalResultsSortBy
      type: object
    EvalResultsRow:
      properties:
        evaluations:
          items:
            $ref: '#/components/schemas/EvalResultsRowEvaluation'
          title: Evaluations
          type: array
        raw_data_row:
          anyOf:
            - {}
            - type: 'null'
          title: Raw Data Row
        row_digest:
          title: Row Digest
          type: string
      required:
        - row_digest
      title: EvalResultsRow
      type: object
    EvalResultsSummaryRes:
      properties:
        evaluations:
          items:
            $ref: '#/components/schemas/EvalResultsEvaluationSummary'
          title: Evaluations
          type: array
        row_count:
          default: 0
          title: Row Count
          type: integer
      title: EvalResultsSummaryRes
      type: object
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          title: Location
          type: array
        msg:
          title: Message
          type: string
        type:
          title: Error Type
          type: string
      required:
        - loc
        - msg
        - type
      title: ValidationError
      type: object
    Query:
      additionalProperties: false
      properties:
        $expr:
          anyOf:
            - $ref: '#/components/schemas/AndOperation'
            - $ref: '#/components/schemas/OrOperation'
            - $ref: '#/components/schemas/NotOperation'
            - $ref: '#/components/schemas/EqOperation'
            - $ref: '#/components/schemas/GtOperation'
            - $ref: '#/components/schemas/LtOperation'
            - $ref: '#/components/schemas/GteOperation'
            - $ref: '#/components/schemas/LteOperation'
            - $ref: '#/components/schemas/InOperation'
            - $ref: '#/components/schemas/ContainsOperation'
          title: $Expr
      required:
        - $expr
      title: Query
      type: object
    EvalResultsRowEvaluation:
      properties:
        evaluation_call_id:
          title: Evaluation Call Id
          type: string
        trials:
          items:
            $ref: '#/components/schemas/EvalResultsTrial'
          title: Trials
          type: array
      required:
        - evaluation_call_id
      title: EvalResultsRowEvaluation
      type: object
    EvalResultsEvaluationSummary:
      properties:
        display_name:
          anyOf:
            - type: string
            - type: 'null'
          title: Display Name
        evaluation_call_id:
          title: Evaluation Call Id
          type: string
        evaluation_ref:
          anyOf:
            - type: string
            - type: 'null'
          title: Evaluation Ref
        model_ref:
          anyOf:
            - type: string
            - type: 'null'
          title: Model Ref
        scorer_stats:
          items:
            $ref: '#/components/schemas/EvalResultsScorerStats'
          title: Scorer Stats
          type: array
        started_at:
          anyOf:
            - type: string
            - type: 'null'
          title: Started At
        trace_id:
          anyOf:
            - type: string
            - type: 'null'
          title: Trace Id
        trial_count:
          default: 0
          title: Trial Count
          type: integer
      required:
        - evaluation_call_id
      title: EvalResultsEvaluationSummary
      type: object
    AndOperation:
      description: |-
        論理 AND。すべての条件が true と評価される必要があります。

        例:
            ```
            {
                "$and": [
                    {"$eq": [{"$getField": "op_name"}, {"$literal": "predict"}]},
                    {"$gt": [{"$getField": "summary.usage.tokens"}, {"$literal": 1000}]}
                ]
            }
            ```
      properties:
        $and:
          items:
            anyOf:
              - $ref: '#/components/schemas/LiteralOperation'
              - $ref: '#/components/schemas/GetFieldOperator'
              - $ref: '#/components/schemas/ConvertOperation'
              - $ref: '#/components/schemas/AndOperation'
              - $ref: '#/components/schemas/OrOperation'
              - $ref: '#/components/schemas/NotOperation'
              - $ref: '#/components/schemas/EqOperation'
              - $ref: '#/components/schemas/GtOperation'
              - $ref: '#/components/schemas/LtOperation'
              - $ref: '#/components/schemas/GteOperation'
              - $ref: '#/components/schemas/LteOperation'
              - $ref: '#/components/schemas/InOperation'
              - $ref: '#/components/schemas/ContainsOperation'
          title: $And
          type: array
      required:
        - $and
      title: AndOperation
      type: object
    OrOperation:
      description: |-
        論理 OR。少なくとも 1 つの条件が true である必要があります。

        例:
            ```
            {
                "$or": [
                    {"$eq": [{"$getField": "op_name"}, {"$literal": "a"}]},
                    {"$eq": [{"$getField": "op_name"}, {"$literal": "b"}]}
                ]
            }
            ```
      properties:
        $or:
          items:
            anyOf:
              - $ref: '#/components/schemas/LiteralOperation'
              - $ref: '#/components/schemas/GetFieldOperator'
              - $ref: '#/components/schemas/ConvertOperation'
              - $ref: '#/components/schemas/AndOperation'
              - $ref: '#/components/schemas/OrOperation'
              - $ref: '#/components/schemas/NotOperation'
              - $ref: '#/components/schemas/EqOperation'
              - $ref: '#/components/schemas/GtOperation'
              - $ref: '#/components/schemas/LtOperation'
              - $ref: '#/components/schemas/GteOperation'
              - $ref: '#/components/schemas/LteOperation'
              - $ref: '#/components/schemas/InOperation'
              - $ref: '#/components/schemas/ContainsOperation'
          title: $Or
          type: array
      required:
        - $or
      title: OrOperation
      type: object
    NotOperation:
      description: |-
        論理NOT。条件を反転します。

        例:
            ```
            {
                "$not": [
                    {"$eq": [{"$getField": "op_name"}, {"$literal": "debug"}]}
                ]
            }
            ```
      properties:
        $not:
          maxItems: 1
          minItems: 1
          prefixItems:
            - anyOf:
                - $ref: '#/components/schemas/LiteralOperation'
                - $ref: '#/components/schemas/GetFieldOperator'
                - $ref: '#/components/schemas/ConvertOperation'
                - $ref: '#/components/schemas/AndOperation'
                - $ref: '#/components/schemas/OrOperation'
                - $ref: '#/components/schemas/NotOperation'
                - $ref: '#/components/schemas/EqOperation'
                - $ref: '#/components/schemas/GtOperation'
                - $ref: '#/components/schemas/LtOperation'
                - $ref: '#/components/schemas/GteOperation'
                - $ref: '#/components/schemas/LteOperation'
                - $ref: '#/components/schemas/InOperation'
                - $ref: '#/components/schemas/ContainsOperation'
          title: $Not
          type: array
      required:
        - $not
      title: NotOperation
      type: object
    EqOperation:
      description: |-
        2 つのオペランドが等しいかどうかを確認します。

        例:
            ```
            {
                "$eq": [{"$getField": "op_name"}, {"$literal": "predict"}]
            }
            ```
      properties:
        $eq:
          maxItems: 2
          minItems: 2
          prefixItems:
            - anyOf:
                - $ref: '#/components/schemas/LiteralOperation'
                - $ref: '#/components/schemas/GetFieldOperator'
                - $ref: '#/components/schemas/ConvertOperation'
                - $ref: '#/components/schemas/AndOperation'
                - $ref: '#/components/schemas/OrOperation'
                - $ref: '#/components/schemas/NotOperation'
                - $ref: '#/components/schemas/EqOperation'
                - $ref: '#/components/schemas/GtOperation'
                - $ref: '#/components/schemas/LtOperation'
                - $ref: '#/components/schemas/GteOperation'
                - $ref: '#/components/schemas/LteOperation'
                - $ref: '#/components/schemas/InOperation'
                - $ref: '#/components/schemas/ContainsOperation'
            - anyOf:
                - $ref: '#/components/schemas/LiteralOperation'
                - $ref: '#/components/schemas/GetFieldOperator'
                - $ref: '#/components/schemas/ConvertOperation'
                - $ref: '#/components/schemas/AndOperation'
                - $ref: '#/components/schemas/OrOperation'
                - $ref: '#/components/schemas/NotOperation'
                - $ref: '#/components/schemas/EqOperation'
                - $ref: '#/components/schemas/GtOperation'
                - $ref: '#/components/schemas/LtOperation'
                - $ref: '#/components/schemas/GteOperation'
                - $ref: '#/components/schemas/LteOperation'
                - $ref: '#/components/schemas/InOperation'
                - $ref: '#/components/schemas/ContainsOperation'
          title: $Eq
          type: array
      required:
        - $eq
      title: EqOperation
      type: object
    GtOperation:
      description: |-
        より大きいことを比較します。

        例:
            ```
            {
                "$gt": [{"$getField": "summary.usage.tokens"}, {"$literal": 100}]
            }
            ```
      properties:
        $gt:
          maxItems: 2
          minItems: 2
          prefixItems:
            - anyOf:
                - $ref: '#/components/schemas/LiteralOperation'
                - $ref: '#/components/schemas/GetFieldOperator'
                - $ref: '#/components/schemas/ConvertOperation'
                - $ref: '#/components/schemas/AndOperation'
                - $ref: '#/components/schemas/OrOperation'
                - $ref: '#/components/schemas/NotOperation'
                - $ref: '#/components/schemas/EqOperation'
                - $ref: '#/components/schemas/GtOperation'
                - $ref: '#/components/schemas/LtOperation'
                - $ref: '#/components/schemas/GteOperation'
                - $ref: '#/components/schemas/LteOperation'
                - $ref: '#/components/schemas/InOperation'
                - $ref: '#/components/schemas/ContainsOperation'
            - anyOf:
                - $ref: '#/components/schemas/LiteralOperation'
                - $ref: '#/components/schemas/GetFieldOperator'
                - $ref: '#/components/schemas/ConvertOperation'
                - $ref: '#/components/schemas/AndOperation'
                - $ref: '#/components/schemas/OrOperation'
                - $ref: '#/components/schemas/NotOperation'
                - $ref: '#/components/schemas/EqOperation'
                - $ref: '#/components/schemas/GtOperation'
                - $ref: '#/components/schemas/LtOperation'
                - $ref: '#/components/schemas/GteOperation'
                - $ref: '#/components/schemas/LteOperation'
                - $ref: '#/components/schemas/InOperation'
                - $ref: '#/components/schemas/ContainsOperation'
          title: $Gt
          type: array
      required:
        - $gt
      title: GtOperation
      type: object
    LtOperation:
      description: |-
        より小さいことを比較します。

        例:
            ```
            {
                "$lt": [{"$getField": "summary.usage.tokens"}, {"$literal": 100}]
            }
            ```
      properties:
        $lt:
          maxItems: 2
          minItems: 2
          prefixItems:
            - anyOf:
                - $ref: '#/components/schemas/LiteralOperation'
                - $ref: '#/components/schemas/GetFieldOperator'
                - $ref: '#/components/schemas/ConvertOperation'
                - $ref: '#/components/schemas/AndOperation'
                - $ref: '#/components/schemas/OrOperation'
                - $ref: '#/components/schemas/NotOperation'
                - $ref: '#/components/schemas/EqOperation'
                - $ref: '#/components/schemas/GtOperation'
                - $ref: '#/components/schemas/LtOperation'
                - $ref: '#/components/schemas/GteOperation'
                - $ref: '#/components/schemas/LteOperation'
                - $ref: '#/components/schemas/InOperation'
                - $ref: '#/components/schemas/ContainsOperation'
            - anyOf:
                - $ref: '#/components/schemas/LiteralOperation'
                - $ref: '#/components/schemas/GetFieldOperator'
                - $ref: '#/components/schemas/ConvertOperation'
                - $ref: '#/components/schemas/AndOperation'
                - $ref: '#/components/schemas/OrOperation'
                - $ref: '#/components/schemas/NotOperation'
                - $ref: '#/components/schemas/EqOperation'
                - $ref: '#/components/schemas/GtOperation'
                - $ref: '#/components/schemas/LtOperation'
                - $ref: '#/components/schemas/GteOperation'
                - $ref: '#/components/schemas/LteOperation'
                - $ref: '#/components/schemas/InOperation'
                - $ref: '#/components/schemas/ContainsOperation'
          title: $Lt
          type: array
      required:
        - $lt
      title: LtOperation
      type: object
    GteOperation:
      description: |-
        以上であることを比較します。

        例:
            ```
            {
                "$gte": [{"$getField": "summary.usage.tokens"}, {"$literal": 100}]
            }
            ```
      properties:
        $gte:
          maxItems: 2
          minItems: 2
          prefixItems:
            - anyOf:
                - $ref: '#/components/schemas/LiteralOperation'
                - $ref: '#/components/schemas/GetFieldOperator'
                - $ref: '#/components/schemas/ConvertOperation'
                - $ref: '#/components/schemas/AndOperation'
                - $ref: '#/components/schemas/OrOperation'
                - $ref: '#/components/schemas/NotOperation'
                - $ref: '#/components/schemas/EqOperation'
                - $ref: '#/components/schemas/GtOperation'
                - $ref: '#/components/schemas/LtOperation'
                - $ref: '#/components/schemas/GteOperation'
                - $ref: '#/components/schemas/LteOperation'
                - $ref: '#/components/schemas/InOperation'
                - $ref: '#/components/schemas/ContainsOperation'
            - anyOf:
                - $ref: '#/components/schemas/LiteralOperation'
                - $ref: '#/components/schemas/GetFieldOperator'
                - $ref: '#/components/schemas/ConvertOperation'
                - $ref: '#/components/schemas/AndOperation'
                - $ref: '#/components/schemas/OrOperation'
                - $ref: '#/components/schemas/NotOperation'
                - $ref: '#/components/schemas/EqOperation'
                - $ref: '#/components/schemas/GtOperation'
                - $ref: '#/components/schemas/LtOperation'
                - $ref: '#/components/schemas/GteOperation'
                - $ref: '#/components/schemas/LteOperation'
                - $ref: '#/components/schemas/InOperation'
                - $ref: '#/components/schemas/ContainsOperation'
          title: $Gte
          type: array
      required:
        - $gte
      title: GteOperation
      type: object
    LteOperation:
      description: |-
        以下または等しい比較です。

        例:
            ```
            {
                "$lte": [{"$getField": "summary.usage.tokens"}, {"$literal": 100}]
            }
            ```
      properties:
        $lte:
          maxItems: 2
          minItems: 2
          prefixItems:
            - anyOf:
                - $ref: '#/components/schemas/LiteralOperation'
                - $ref: '#/components/schemas/GetFieldOperator'
                - $ref: '#/components/schemas/ConvertOperation'
                - $ref: '#/components/schemas/AndOperation'
                - $ref: '#/components/schemas/OrOperation'
                - $ref: '#/components/schemas/NotOperation'
                - $ref: '#/components/schemas/EqOperation'
                - $ref: '#/components/schemas/GtOperation'
                - $ref: '#/components/schemas/LtOperation'
                - $ref: '#/components/schemas/GteOperation'
                - $ref: '#/components/schemas/LteOperation'
                - $ref: '#/components/schemas/InOperation'
                - $ref: '#/components/schemas/ContainsOperation'
            - anyOf:
                - $ref: '#/components/schemas/LiteralOperation'
                - $ref: '#/components/schemas/GetFieldOperator'
                - $ref: '#/components/schemas/ConvertOperation'
                - $ref: '#/components/schemas/AndOperation'
                - $ref: '#/components/schemas/OrOperation'
                - $ref: '#/components/schemas/NotOperation'
                - $ref: '#/components/schemas/EqOperation'
                - $ref: '#/components/schemas/GtOperation'
                - $ref: '#/components/schemas/LtOperation'
                - $ref: '#/components/schemas/GteOperation'
                - $ref: '#/components/schemas/LteOperation'
                - $ref: '#/components/schemas/InOperation'
                - $ref: '#/components/schemas/ContainsOperation'
          title: $Lte
          type: array
      required:
        - $lte
      title: LteOperation
      type: object
    InOperation:
      description: |-
        メンバーシップチェックです。

        左オペランドが第 2 オペランドとして指定されたリストに含まれている場合は true を返します。

        例:
            ```
            {
                "$in": [
                    {"$getField": "op_name"},
                    [{"$literal": "predict"}, {"$literal": "generate"}]
                ]
            }
            ```
      properties:
        $in:
          maxItems: 2
          minItems: 2
          prefixItems:
            - anyOf:
                - $ref: '#/components/schemas/LiteralOperation'
                - $ref: '#/components/schemas/GetFieldOperator'
                - $ref: '#/components/schemas/ConvertOperation'
                - $ref: '#/components/schemas/AndOperation'
                - $ref: '#/components/schemas/OrOperation'
                - $ref: '#/components/schemas/NotOperation'
                - $ref: '#/components/schemas/EqOperation'
                - $ref: '#/components/schemas/GtOperation'
                - $ref: '#/components/schemas/LtOperation'
                - $ref: '#/components/schemas/GteOperation'
                - $ref: '#/components/schemas/LteOperation'
                - $ref: '#/components/schemas/InOperation'
                - $ref: '#/components/schemas/ContainsOperation'
            - items:
                anyOf:
                  - $ref: '#/components/schemas/LiteralOperation'
                  - $ref: '#/components/schemas/GetFieldOperator'
                  - $ref: '#/components/schemas/ConvertOperation'
                  - $ref: '#/components/schemas/AndOperation'
                  - $ref: '#/components/schemas/OrOperation'
                  - $ref: '#/components/schemas/NotOperation'
                  - $ref: '#/components/schemas/EqOperation'
                  - $ref: '#/components/schemas/GtOperation'
                  - $ref: '#/components/schemas/LtOperation'
                  - $ref: '#/components/schemas/GteOperation'
                  - $ref: '#/components/schemas/LteOperation'
                  - $ref: '#/components/schemas/InOperation'
                  - $ref: '#/components/schemas/ContainsOperation'
              type: array
          title: $In
          type: array
      required:
        - $in
      title: InOperation
      type: object
    ContainsOperation:
      description: |-
        大文字と小文字を区別しない部分文字列一致。

        MongoDB の一部ではありません。Weave 固有の拡張です。

        例:
            ```
            {
                "$contains": {
                    "input": {"$getField": "display_name"},
                    "substr": {"$literal": "llm"},
                    "case_insensitive": true
                }
            }
            ```
      properties:
        $contains:
          $ref: '#/components/schemas/ContainsSpec'
      required:
        - $contains
      title: ContainsOperation
      type: object
    EvalResultsTrial:
      properties:
        genai_span_ref:
          anyOf:
            - items:
                $ref: '#/components/schemas/GenAISpanRef'
              type: array
            - type: 'null'
          title: Genai Span Ref
        model_latency_seconds:
          anyOf:
            - type: number
            - type: 'null'
          title: Model Latency Seconds
        model_output:
          anyOf:
            - {}
            - type: 'null'
          title: Model Output
        predict_and_score_call_id:
          title: Predict And Score Call Id
          type: string
        predict_call_id:
          anyOf:
            - type: string
            - type: 'null'
          title: Predict Call Id
        scorer_call_ids:
          additionalProperties:
            type: string
          title: Scorer Call Ids
          type: object
        scores:
          additionalProperties: true
          title: Scores
          type: object
        total_tokens:
          anyOf:
            - type: integer
            - type: 'null'
          title: Total Tokens
      required:
        - predict_and_score_call_id
      title: EvalResultsTrial
      type: object
    EvalResultsScorerStats:
      description: 単一のフラット化されたスコア次元（scorer_key または scorer_key.path.to.leaf）の統計。
      properties:
        numeric_count:
          default: 0
          title: Numeric Count
          type: integer
        numeric_mean:
          anyOf:
            - type: number
            - type: 'null'
          title: Numeric Mean
        pass_known_count:
          default: 0
          title: Pass Known Count
          type: integer
        pass_rate:
          anyOf:
            - type: number
            - type: 'null'
          title: Pass Rate
        pass_signal_coverage:
          anyOf:
            - type: number
            - type: 'null'
          title: Pass Signal Coverage
        pass_true_count:
          default: 0
          title: Pass True Count
          type: integer
        path:
          anyOf:
            - type: string
            - type: 'null'
          description: >-
            ネストされた次元のドット区切りのサブパス。たとえば、token_distance.passed に対する 'passed'
            です。ルートレベルのスカラー Scorer の場合は None です。
          title: Path
        scorer_key:
          title: Scorer Key
          type: string
        trial_count:
          default: 0
          title: Trial Count
          type: integer
        value_type:
          anyOf:
            - enum:
                - binary
                - continuous
                - text
              type: string
            - type: 'null'
          description: 'リーフ値のタイプ: binary（bool）、continuous（number）、または text（string）。'
          title: Value Type
      required:
        - scorer_key
      title: EvalResultsScorerStats
      type: object
    LiteralOperation:
      description: |-
        クエリ言語における定数値を表します。

        標準的な JSON シリアライズ可能な任意の値を指定できます。

        例:
            ```
            {"$literal": "predict"}
            ```
      properties:
        $literal:
          anyOf:
            - type: string
            - type: integer
            - type: number
            - type: boolean
            - additionalProperties:
                $ref: '#/components/schemas/LiteralOperation'
              type: object
            - items:
                $ref: '#/components/schemas/LiteralOperation'
              type: array
            - type: 'null'
          title: $Literal
      required:
        - $literal
      title: LiteralOperation
      type: object
    GetFieldOperator:
      description: |-
        トレースされた call のフィールドにアクセスします。

        ネストされたフィールドへのアクセスでは、たとえば `summary.usage.tokens` のようにドット記法をサポートします。

        `CallSchema` に存在するフィールドでのみ機能します。これには次が含まれます。
        - `op_name`、`trace_id`、`started_at` などのトップレベルのフィールド
        - `inputs.input_name`、`summary.usage.tokens` などのネストされたフィールド

        例:
            ```
            {"$getField": "op_name"}
            ```
      properties:
        $getField:
          title: $Getfield
          type: string
      required:
        - $getField
      title: GetFieldOperator
      type: object
    ConvertOperation:
      description: |-
        入力値を特定のタイプ（例: `int`、`bool`、`string`）に変換します。

        例:
            ```
            {
                "$convert": {
                    "input": {"$getField": "inputs.value"},
                    "to": "int"
                }
            }
            ```
      properties:
        $convert:
          $ref: '#/components/schemas/ConvertSpec'
      required:
        - $convert
      title: ConvertOperation
      type: object
    ContainsSpec:
      description: |-
        `$contains` operation の仕様。

        - `input`: 検索対象の文字列。
        - `substr`: 検索する部分文字列。
        - `case_insensitive`: true の場合、一致で大文字と小文字を区別しません。
      properties:
        case_insensitive:
          anyOf:
            - type: boolean
            - type: 'null'
          default: false
          title: Case Insensitive
        input:
          anyOf:
            - $ref: '#/components/schemas/LiteralOperation'
            - $ref: '#/components/schemas/GetFieldOperator'
            - $ref: '#/components/schemas/ConvertOperation'
            - $ref: '#/components/schemas/AndOperation'
            - $ref: '#/components/schemas/OrOperation'
            - $ref: '#/components/schemas/NotOperation'
            - $ref: '#/components/schemas/EqOperation'
            - $ref: '#/components/schemas/GtOperation'
            - $ref: '#/components/schemas/LtOperation'
            - $ref: '#/components/schemas/GteOperation'
            - $ref: '#/components/schemas/LteOperation'
            - $ref: '#/components/schemas/InOperation'
            - $ref: '#/components/schemas/ContainsOperation'
          title: Input
        substr:
          anyOf:
            - $ref: '#/components/schemas/LiteralOperation'
            - $ref: '#/components/schemas/GetFieldOperator'
            - $ref: '#/components/schemas/ConvertOperation'
            - $ref: '#/components/schemas/AndOperation'
            - $ref: '#/components/schemas/OrOperation'
            - $ref: '#/components/schemas/NotOperation'
            - $ref: '#/components/schemas/EqOperation'
            - $ref: '#/components/schemas/GtOperation'
            - $ref: '#/components/schemas/LtOperation'
            - $ref: '#/components/schemas/GteOperation'
            - $ref: '#/components/schemas/LteOperation'
            - $ref: '#/components/schemas/InOperation'
            - $ref: '#/components/schemas/ContainsOperation'
          title: Substr
      required:
        - input
        - substr
      title: ContainsSpec
      type: object
    GenAISpanRef:
      properties:
        span_id:
          title: Span Id
          type: string
        trace_id:
          title: Trace Id
          type: string
      required:
        - trace_id
        - span_id
      title: GenAISpanRef
      type: object
    ConvertSpec:
      description: |-
        `$convert` の変換の詳細を指定します。

        - `input`: 変換するオペランド。
        - `to`: 変換先のタイプ。
      properties:
        input:
          anyOf:
            - $ref: '#/components/schemas/LiteralOperation'
            - $ref: '#/components/schemas/GetFieldOperator'
            - $ref: '#/components/schemas/ConvertOperation'
            - $ref: '#/components/schemas/AndOperation'
            - $ref: '#/components/schemas/OrOperation'
            - $ref: '#/components/schemas/NotOperation'
            - $ref: '#/components/schemas/EqOperation'
            - $ref: '#/components/schemas/GtOperation'
            - $ref: '#/components/schemas/LtOperation'
            - $ref: '#/components/schemas/GteOperation'
            - $ref: '#/components/schemas/LteOperation'
            - $ref: '#/components/schemas/InOperation'
            - $ref: '#/components/schemas/ContainsOperation'
          title: Input
        to:
          enum:
            - double
            - string
            - int
            - bool
            - exists
          title: To
          type: string
      required:
        - input
        - to
      title: ConvertSpec
      type: object
  securitySchemes:
    HTTPBasic:
      scheme: basic
      type: http
    HTTPBearer:
      scheme: bearer
      type: http

````