{
  "openapi": "3.1.0",
  "info": {
    "title": "EvalRouter evaluation API",
    "version": "0.1.0",
    "x-evalrouter-api-version": {
      "current": "2026-10-08",
      "default": "2026-10-08",
      "header": "EvalRouter-Version",
      "supported": [
        "2026-10-08"
      ]
    },
    "description": "API contract for model evaluations and results. This schema describes the release source. Deployment availability, workspace permissions, catalog admission, and feature enablement still apply."
  },
  "paths": {
    "/v1/catalog/benchmarks": {
      "get": {
        "operationId": "benchmarks_v1_catalog_benchmarks_get",
        "parameters": [
          {
            "in": "query",
            "name": "q",
            "required": false,
            "schema": {
              "default": "",
              "maxLength": 120,
              "title": "Q",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "runner",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "enum": [
                    "inspect",
                    "lm-eval",
                    "evalplus",
                    "evalplus_mbpp",
                    "livecodebench",
                    "spreadsheetbench"
                  ],
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Runner"
            }
          },
          {
            "in": "query",
            "name": "capability",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "maxLength": 80,
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Capability"
            }
          },
          {
            "in": "query",
            "name": "status",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "enum": [
                    "candidate",
                    "active",
                    "quarantined",
                    "retired"
                  ],
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Status"
            }
          },
          {
            "in": "query",
            "name": "model",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "maxLength": 200,
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Model"
            }
          },
          {
            "in": "query",
            "name": "cursor",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "maxLength": 2048,
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Cursor"
            }
          },
          {
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "default": 50,
              "maximum": 100,
              "minimum": 1,
              "title": "Limit",
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Page_BenchmarkRecord_"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "summary": "Benchmarks",
        "tags": [
          "Catalog"
        ]
      }
    },
    "/v1/catalog/benchmarks/{slug}": {
      "get": {
        "operationId": "benchmark_v1_catalog_benchmarks__slug__get",
        "parameters": [
          {
            "in": "path",
            "name": "slug",
            "required": true,
            "schema": {
              "title": "Slug",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BenchmarkDetail"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "summary": "Benchmark",
        "tags": [
          "Catalog"
        ]
      }
    },
    "/v1/catalog/environments": {
      "get": {
        "operationId": "public_environments_v1_catalog_environments_get",
        "parameters": [
          {
            "in": "query",
            "name": "cursor",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "format": "uuid",
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Cursor"
            }
          },
          {
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "default": 50,
              "maximum": 100,
              "minimum": 1,
              "title": "Limit",
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Page_EnvironmentRecord_"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "summary": "Public Environments",
        "tags": [
          "Environments"
        ]
      }
    },
    "/v1/catalog/environments/{family}": {
      "get": {
        "operationId": "public_environment_family_v1_catalog_environments__family__get",
        "parameters": [
          {
            "in": "path",
            "name": "family",
            "required": true,
            "schema": {
              "title": "Family",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/EnvironmentFamily"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "summary": "Public Environment Family",
        "tags": [
          "Environments"
        ]
      }
    },
    "/v1/catalog/execution-options": {
      "get": {
        "operationId": "execution_options_v1_catalog_execution_options_get",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ExecutionOptions"
                }
              }
            },
            "description": "Successful Response"
          }
        },
        "summary": "Execution Options",
        "tags": [
          "Catalog"
        ]
      }
    },
    "/v1/catalog/models": {
      "get": {
        "operationId": "models_v1_catalog_models_get",
        "parameters": [
          {
            "in": "query",
            "name": "q",
            "required": false,
            "schema": {
              "default": "",
              "maxLength": 200,
              "title": "Q",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "provider",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "maxLength": 100,
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Provider"
            }
          },
          {
            "in": "query",
            "name": "capability",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "maxLength": 100,
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Capability"
            }
          },
          {
            "in": "query",
            "name": "benchmark",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "maxLength": 200,
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Benchmark"
            }
          },
          {
            "in": "query",
            "name": "cursor",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "maxLength": 2048,
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Cursor"
            }
          },
          {
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "default": 50,
              "maximum": 100,
              "minimum": 1,
              "title": "Limit",
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Page_ManagedRoute_"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "summary": "Models",
        "tags": [
          "Catalog"
        ]
      }
    },
    "/v1/connections": {
      "get": {
        "operationId": "list_connections_v1_connections_get",
        "parameters": [
          {
            "in": "query",
            "name": "cursor",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "maxLength": 2048,
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Cursor"
            }
          },
          {
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "default": 50,
              "maximum": 100,
              "minimum": 1,
              "title": "Limit",
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Page_ConnectionRecord_"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "summary": "List Connections",
        "tags": [
          "Connections"
        ]
      },
      "post": {
        "operationId": "create_connection_v1_connections_post",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/NewConnection"
                  },
                  {
                    "$ref": "#/components/schemas/NewAccountConnection"
                  },
                  {
                    "$ref": "#/components/schemas/NewA2AConnection"
                  }
                ],
                "title": "Payload"
              }
            }
          },
          "required": true
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ConnectionRecord"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "summary": "Create Connection",
        "tags": [
          "Connections"
        ]
      }
    },
    "/v1/connections/{connection_id}": {
      "patch": {
        "operationId": "update_connection_v1_connections__connection_id__patch",
        "parameters": [
          {
            "in": "path",
            "name": "connection_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "title": "Connection Id",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateConnection"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ConnectionRecord"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "summary": "Update Connection",
        "tags": [
          "Connections"
        ]
      },
      "delete": {
        "operationId": "disable_connection_v1_connections__connection_id__delete",
        "parameters": [
          {
            "in": "path",
            "name": "connection_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "title": "Connection Id",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OKResponse"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "summary": "Disable Connection",
        "tags": [
          "Connections"
        ]
      }
    },
    "/v1/connections/{connection_id}/check": {
      "post": {
        "operationId": "check_connection_v1_connections__connection_id__check_post",
        "parameters": [
          {
            "in": "path",
            "name": "connection_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "title": "Connection Id",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ConnectionRecord"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "summary": "Check Connection",
        "tags": [
          "Connections"
        ]
      }
    },
    "/v1/evals": {
      "get": {
        "operationId": "list_evals_v1_evals_get",
        "parameters": [
          {
            "in": "query",
            "name": "provider",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "maxLength": 40,
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Provider"
            }
          },
          {
            "in": "query",
            "name": "kind",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "enum": [
                    "benchmark",
                    "environment",
                    "remote"
                  ],
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Kind"
            }
          },
          {
            "in": "query",
            "name": "protocol",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "enum": [
                    "batch",
                    "interactive",
                    "agentic"
                  ],
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Protocol"
            }
          },
          {
            "in": "query",
            "name": "q",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "maxLength": 120,
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Q"
            }
          },
          {
            "in": "query",
            "name": "behavior",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "maxLength": 80,
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Behavior"
            }
          },
          {
            "in": "query",
            "name": "availability",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "maxLength": 40,
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Availability"
            }
          },
          {
            "in": "query",
            "name": "publisher",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "maxLength": 120,
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Publisher"
            }
          },
          {
            "in": "query",
            "name": "include_private",
            "required": false,
            "schema": {
              "default": false,
              "title": "Include Private",
              "type": "boolean"
            }
          },
          {
            "in": "query",
            "name": "catalog_view",
            "required": false,
            "schema": {
              "default": false,
              "title": "Catalog View",
              "type": "boolean"
            }
          },
          {
            "in": "query",
            "name": "private_only",
            "required": false,
            "schema": {
              "default": false,
              "title": "Private Only",
              "type": "boolean"
            }
          },
          {
            "in": "query",
            "name": "cursor",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "maxLength": 2048,
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Cursor"
            }
          },
          {
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "default": 100,
              "maximum": 100,
              "minimum": 1,
              "title": "Limit",
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Page_EvalRecord_"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "summary": "List Evals",
        "tags": [
          "Registry"
        ]
      }
    },
    "/v1/evals/{ref}": {
      "get": {
        "operationId": "get_eval_v1_evals__ref__get",
        "parameters": [
          {
            "in": "path",
            "name": "ref",
            "required": true,
            "schema": {
              "title": "Ref",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/EvalRecord"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "summary": "Get Eval",
        "tags": [
          "Registry"
        ]
      }
    },
    "/v1/quotes": {
      "post": {
        "operationId": "quote_v1_quotes_post",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NewQuote"
              }
            }
          },
          "required": true
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/QuoteRecord"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "summary": "Quote",
        "tags": [
          "Quotes"
        ]
      }
    },
    "/v1/quotes/{quote_id}": {
      "get": {
        "operationId": "get_quote_v1_quotes__quote_id__get",
        "parameters": [
          {
            "in": "path",
            "name": "quote_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "title": "Quote Id",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/QuoteRecord"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "summary": "Get Quote",
        "tags": [
          "Quotes"
        ]
      }
    },
    "/v1/runs": {
      "post": {
        "operationId": "create_run_v1_runs_post",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NewRun"
              }
            }
          },
          "required": true
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RunRecord"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "summary": "Create Run",
        "tags": [
          "Runs"
        ]
      },
      "get": {
        "operationId": "list_runs_v1_runs_get",
        "parameters": [
          {
            "in": "query",
            "name": "cursor",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "maxLength": 2048,
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Cursor"
            }
          },
          {
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "default": 50,
              "maximum": 100,
              "minimum": 1,
              "title": "Limit",
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Page_RunRecord_"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "summary": "List Runs",
        "tags": [
          "Runs"
        ]
      }
    },
    "/v1/runs/{run_id}": {
      "get": {
        "operationId": "get_run_v1_runs__run_id__get",
        "parameters": [
          {
            "in": "path",
            "name": "run_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "title": "Run Id",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RunRecord"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "summary": "Get Run",
        "tags": [
          "Runs"
        ]
      }
    },
    "/v1/runs/{run_id}/cancel": {
      "post": {
        "operationId": "cancel_v1_runs__run_id__cancel_post",
        "parameters": [
          {
            "in": "path",
            "name": "run_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "title": "Run Id",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RunRecord"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "summary": "Cancel",
        "tags": [
          "Runs"
        ]
      }
    },
    "/v1/runs/{run_id}/events": {
      "get": {
        "operationId": "events_v1_runs__run_id__events_get",
        "parameters": [
          {
            "in": "path",
            "name": "run_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "title": "Run Id",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "after",
            "required": false,
            "schema": {
              "default": 0,
              "minimum": 0,
              "title": "After",
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "default": 100,
              "maximum": 100,
              "minimum": 1,
              "title": "Limit",
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "tail",
            "required": false,
            "schema": {
              "default": false,
              "title": "Tail",
              "type": "boolean"
            }
          },
          {
            "description": "Comma-separated event types (`sample.completed`) or categories (`sample`, `capacity`). Other events are skipped but the cursor still advances.",
            "in": "query",
            "name": "type",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "maxLength": 500,
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "description": "Comma-separated event types (`sample.completed`) or categories (`sample`, `capacity`). Other events are skipped but the cursor still advances.",
              "title": "Type"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/EventPage"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "summary": "Events",
        "tags": [
          "Runs"
        ]
      }
    },
    "/v1/runs/{run_id}/executions": {
      "get": {
        "operationId": "executions_v1_runs__run_id__executions_get",
        "parameters": [
          {
            "in": "path",
            "name": "run_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "title": "Run Id",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "sample_id",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "format": "uuid",
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Sample Id"
            }
          },
          {
            "in": "query",
            "name": "cursor",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "maxLength": 2048,
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Cursor"
            }
          },
          {
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "default": 25,
              "maximum": 100,
              "minimum": 1,
              "title": "Limit",
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SandboxExecutionPage"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "summary": "Executions",
        "tags": [
          "Runs"
        ],
        "description": "Preview: not covered by the stability promise; it may change or be removed."
      }
    },
    "/v1/runs/{run_id}/export": {
      "get": {
        "operationId": "export_v1_runs__run_id__export_get",
        "parameters": [
          {
            "in": "path",
            "name": "run_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "title": "Run Id",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "format",
            "required": false,
            "schema": {
              "default": "json",
              "enum": [
                "json",
                "csv",
                "html",
                "bundle",
                "summary"
              ],
              "title": "Format",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "version",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "maximum": 2147483647,
                  "minimum": 1,
                  "type": "integer"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Version"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {}
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "summary": "Export",
        "tags": [
          "Results"
        ]
      }
    },
    "/v1/runs/{run_id}/receipt": {
      "get": {
        "operationId": "receipt_v1_runs__run_id__receipt_get",
        "parameters": [
          {
            "in": "path",
            "name": "run_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "title": "Run Id",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RunReceipt"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "summary": "Receipt",
        "tags": [
          "Runs"
        ]
      }
    },
    "/v1/runs/{run_id}/results": {
      "get": {
        "operationId": "result_v1_runs__run_id__results_get",
        "parameters": [
          {
            "in": "path",
            "name": "run_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "title": "Run Id",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "version",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "maximum": 2147483647,
                  "minimum": 1,
                  "type": "integer"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Version"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ResultRecord"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "summary": "Result",
        "tags": [
          "Results"
        ]
      }
    },
    "/v1/tune-sessions": {
      "get": {
        "operationId": "list_sessions_v1_tune_sessions_get",
        "parameters": [
          {
            "in": "query",
            "name": "cursor",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "maxLength": 2048,
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Cursor"
            }
          },
          {
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "default": 25,
              "maximum": 100,
              "minimum": 1,
              "title": "Limit",
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TuneSessionPage"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "summary": "List Sessions",
        "tags": [
          "Tune"
        ],
        "description": "Preview: not covered by the stability promise; it may change or be removed."
      },
      "post": {
        "description": "Preview: not covered by the stability promise; it may change or be removed.\n\nStart a session. In model mode, `max_draft_microusd` must cover a first drafting\nturn and a submission from it: a smaller cap is refused with `budget_too_small` and\n`details.minimum_cap_microusd`, before anything is held.",
        "operationId": "create_session_v1_tune_sessions_post",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NewTuneSession"
              }
            }
          },
          "required": true
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TuneSession"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "summary": "Create Session",
        "tags": [
          "Tune"
        ]
      }
    },
    "/v1/tune-sessions/drafting-terms": {
      "get": {
        "description": "Preview: not covered by the stability promise; it may change or be removed.\n\nThe smallest drafting budget a new model-mode session accepts, and the model that\ndrafts. A smaller `max_draft_microusd` is refused with `budget_too_small` naming the\nsame amount.",
        "operationId": "drafting_terms_v1_tune_sessions_drafting_terms_get",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TuneDraftingTerms"
                }
              }
            },
            "description": "Successful Response"
          }
        },
        "summary": "Drafting Terms",
        "tags": [
          "Tune"
        ]
      }
    },
    "/v1/tune-sessions/{session_id}": {
      "get": {
        "operationId": "get_session_v1_tune_sessions__session_id__get",
        "parameters": [
          {
            "in": "path",
            "name": "session_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "title": "Session Id",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TuneSession"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "summary": "Get Session",
        "tags": [
          "Tune"
        ],
        "description": "Preview: not covered by the stability promise; it may change or be removed."
      }
    },
    "/v1/tune-sessions/{session_id}/cancel": {
      "post": {
        "operationId": "cancel_session_v1_tune_sessions__session_id__cancel_post",
        "parameters": [
          {
            "in": "path",
            "name": "session_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "title": "Session Id",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TuneSession"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "summary": "Cancel Session",
        "tags": [
          "Tune"
        ],
        "description": "Preview: not covered by the stability promise; it may change or be removed."
      }
    },
    "/v1/tune-sessions/{session_id}/draft": {
      "patch": {
        "description": "Preview: not covered by the stability promise; it may change or be removed.\n\nEdit the call, grader or cases. Origins survive only for unchanged cases.",
        "operationId": "patch_draft_v1_tune_sessions__session_id__draft_patch",
        "parameters": [
          {
            "in": "path",
            "name": "session_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "title": "Session Id",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/TuneDraftPatch"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TuneSession"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "summary": "Patch Draft",
        "tags": [
          "Tune"
        ]
      }
    },
    "/v1/tune-sessions/{session_id}/approve": {
      "post": {
        "description": "Preview: not covered by the stability promise; it may change or be removed.\n\nThe one human step: the reviewed draft becomes a private benchmark.\n\nCases drafted from a repository enter the benchmark only verified. List in\n`confirmed_case_ids` every case whose expected answer you confirm, as shown at\n`draft_revision`; each gets a receipt naming who confirmed it (a signed-in person,\nor an API key or CLI device acting for one). Drop a case you cannot confirm with\n`PATCH .../draft` first: an unconfirmed case refuses approval with\n`workload_verification_required`. Verification follows the grading: a pairwise\ncase is judged beside the current answer and needs no confirmation.",
        "operationId": "approve_v1_tune_sessions__session_id__approve_post",
        "parameters": [
          {
            "in": "path",
            "name": "session_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "title": "Session Id",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/TuneApproval"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TuneSession"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "summary": "Approve",
        "tags": [
          "Tune"
        ]
      }
    },
    "/v1/tune-sessions/{session_id}/quotes": {
      "post": {
        "description": "Preview: not covered by the stability promise; it may change or be removed.\n\nQuote the session's search (`kind: search`) or one more try (`kind: try`).\n\nThe search's first pass runs the current configuration and up to seven others (a\nshort list by the session's priority, or `configurations`/`route_ids`) as one run on\nthe search cases, each at the code's reasoning level or the nearest one its route\nsupports. `phases` gives every step's expected and worst-case charge; the session\ncap bounds them all, holding back the confirmation of up to three finalists (and\nits judging) from the start. A try runs the named configurations on the search\ncases within its own cap.\n\nEvery configuration's share of the cap must hold one of its calls at its worst\ncase, or it would run no case. An automatically chosen one that does not fit is\nleft out and listed in `excluded_candidates` with the reason; the current one or a\nnamed one that does not fit refuses the quote with `budget_too_small`\n(`details.subjects`, `details.minimum_cap_microusd`: the session cap to enter).",
        "operationId": "quote_v1_tune_sessions__session_id__quotes_post",
        "parameters": [
          {
            "in": "path",
            "name": "session_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "title": "Session Id",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/TuneQuoteRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "anyOf": [
                    {
                      "$ref": "#/components/schemas/TuneAgentQuote"
                    },
                    {
                      "$ref": "#/components/schemas/TuneModelQuote"
                    }
                  ],
                  "title": "Response Quote V1 Tune Sessions  Session Id  Quotes Post"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "summary": "Quote",
        "tags": [
          "Tune"
        ]
      }
    },
    "/v1/tune-sessions/{session_id}/start": {
      "post": {
        "operationId": "start_v1_tune_sessions__session_id__start_post",
        "parameters": [
          {
            "in": "path",
            "name": "session_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "title": "Session Id",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "Idempotency-Key",
            "required": true,
            "schema": {
              "title": "Idempotency-Key",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/TuneStart"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TuneSession"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "summary": "Start",
        "tags": [
          "Tune"
        ],
        "description": "Preview: not covered by the stability promise; it may change or be removed."
      }
    },
    "/v1/workload-evaluators": {
      "get": {
        "operationId": "list_evaluators_v1_workload_evaluators_get",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/WorkloadEvaluatorPage"
                }
              }
            },
            "description": "Successful Response"
          }
        },
        "summary": "List Evaluators",
        "tags": [
          "Workload Evaluators"
        ],
        "description": "Preview: not covered by the stability promise; it may change or be removed."
      },
      "post": {
        "operationId": "create_evaluator_v1_workload_evaluators_post",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/EvaluatorCreate"
              }
            }
          },
          "required": true
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/EvaluatorSnapshot"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "summary": "Create Evaluator",
        "tags": [
          "Workload Evaluators"
        ],
        "description": "Preview: not covered by the stability promise; it may change or be removed."
      }
    },
    "/v1/workload-evaluators/drafts": {
      "post": {
        "operationId": "create_evaluator_draft_v1_workload_evaluators_drafts_post",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/EvaluatorDraftCreate"
              }
            }
          },
          "required": true
        },
        "responses": {
          "202": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DraftStarted"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "summary": "Create Evaluator Draft",
        "tags": [
          "Workload Evaluators"
        ],
        "description": "Preview: not covered by the stability promise; it may change or be removed."
      }
    },
    "/v1/workload-evaluators/drafts/{draft_id}": {
      "get": {
        "operationId": "get_evaluator_draft_v1_workload_evaluators_drafts__draft_id__get",
        "parameters": [
          {
            "in": "path",
            "name": "draft_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "title": "Draft Id",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/EvaluatorDraftView"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "summary": "Get Evaluator Draft",
        "tags": [
          "Workload Evaluators"
        ],
        "description": "Preview: not covered by the stability promise; it may change or be removed."
      }
    },
    "/v1/workload-evaluators/datasets/{dataset_version_id}/examples": {
      "get": {
        "description": "Preview: not covered by the stability promise; it may change or be removed.\n\nReturn immutable, reviewer-approved examples eligible for calibration.",
        "operationId": "list_calibration_examples_v1_workload_evaluators_datasets__dataset_version_id__examples_get",
        "parameters": [
          {
            "in": "path",
            "name": "dataset_version_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "title": "Dataset Version Id",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CalibrationExamplePage"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "summary": "List Calibration Examples",
        "tags": [
          "Workload Evaluators"
        ]
      }
    },
    "/v1/workload-evaluators/preview": {
      "post": {
        "description": "Preview: not covered by the stability promise; it may change or be removed.\n\nPreview a saved deterministic grader against one pinned approved example.",
        "operationId": "preview_evaluator_v1_workload_evaluators_preview_post",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/EvaluatorPreview"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/EvaluatorPreviewView"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "summary": "Preview Evaluator",
        "tags": [
          "Workload Evaluators"
        ]
      }
    },
    "/v1/workload-evaluators/calibrations": {
      "get": {
        "operationId": "list_calibrations_v1_workload_evaluators_calibrations_get",
        "parameters": [
          {
            "in": "query",
            "name": "dataset_version_id",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "format": "uuid",
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Dataset Version Id"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/WorkloadCalibrationPage"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "summary": "List Calibrations",
        "tags": [
          "Workload Evaluators"
        ],
        "description": "Preview: not covered by the stability promise; it may change or be removed."
      }
    },
    "/v1/workload-evaluators/calibrations/{calibration_id}": {
      "get": {
        "operationId": "get_calibration_v1_workload_evaluators_calibrations__calibration_id__get",
        "parameters": [
          {
            "in": "path",
            "name": "calibration_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "title": "Calibration Id",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CalibrationResolvedView"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "summary": "Get Calibration",
        "tags": [
          "Workload Evaluators"
        ],
        "description": "Preview: not covered by the stability promise; it may change or be removed."
      }
    },
    "/v1/traces/integrations/braintrust/projects": {
      "post": {
        "operationId": "discover_workload_projects_v1_traces_integrations_braintrust_projects_post",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/WorkloadAccessInput"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/WorkloadResources"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "summary": "Discover Workload Projects",
        "tags": [
          "Trace Integrations"
        ],
        "description": "Preview: not covered by the stability promise; it may change or be removed."
      }
    },
    "/v1/traces/integrations/braintrust": {
      "post": {
        "operationId": "create_workload_integration_v1_traces_integrations_braintrust_post",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/WorkloadProjectInput"
              }
            }
          },
          "required": true
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TraceIntegrationView"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "summary": "Create Workload Integration",
        "tags": [
          "Trace Integrations"
        ],
        "description": "Preview: not covered by the stability promise; it may change or be removed."
      }
    },
    "/v1/traces/integrations/langfuse/projects": {
      "post": {
        "operationId": "discover_workload_projects_v1_traces_integrations_langfuse_projects_post",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/WorkloadAccessInput"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/WorkloadResources"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "summary": "Discover Workload Projects",
        "tags": [
          "Trace Integrations"
        ],
        "description": "Preview: not covered by the stability promise; it may change or be removed."
      }
    },
    "/v1/traces/integrations/langfuse": {
      "post": {
        "operationId": "create_workload_integration_v1_traces_integrations_langfuse_post",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/WorkloadProjectInput"
              }
            }
          },
          "required": true
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TraceIntegrationView"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "summary": "Create Workload Integration",
        "tags": [
          "Trace Integrations"
        ],
        "description": "Preview: not covered by the stability promise; it may change or be removed."
      }
    },
    "/v1/traces/integrations/{integration_id}/resources": {
      "get": {
        "operationId": "list_workload_resources_v1_traces_integrations__integration_id__resources_get",
        "parameters": [
          {
            "in": "path",
            "name": "integration_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "title": "Integration Id",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "kind",
            "required": true,
            "schema": {
              "enum": [
                "datasets",
                "experiments"
              ],
              "title": "Kind",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/WorkloadResources"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "summary": "List Workload Resources",
        "tags": [
          "Trace Integrations"
        ],
        "description": "Preview: not covered by the stability promise; it may change or be removed."
      }
    },
    "/v1/datasets/{dataset_id}/sources/workload": {
      "post": {
        "description": "Preview: not covered by the stability promise; it may change or be removed.\n\nImport one page of provider data without executing provider graders.",
        "operationId": "source_workload_v1_datasets__dataset_id__sources_workload_post",
        "parameters": [
          {
            "in": "path",
            "name": "dataset_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "title": "Dataset Id",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/WorkloadSource"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SourceCreated"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "summary": "Source Workload",
        "tags": [
          "Curated datasets"
        ]
      }
    },
    "/v1/traces/integrations": {
      "get": {
        "operationId": "list_trace_integrations_v1_traces_integrations_get",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TraceIntegrationPage"
                }
              }
            },
            "description": "Successful Response"
          }
        },
        "summary": "List Trace Integrations",
        "tags": [
          "Trace Integrations"
        ],
        "description": "Preview: not covered by the stability promise; it may change or be removed."
      }
    },
    "/v1/traces/integrations/langsmith/projects": {
      "post": {
        "operationId": "discover_langsmith_projects_v1_traces_integrations_langsmith_projects_post",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ProjectDiscoveryInput"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/WorkloadResources"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "summary": "Discover Langsmith Projects",
        "tags": [
          "Trace Integrations"
        ],
        "description": "Preview: not covered by the stability promise; it may change or be removed."
      }
    },
    "/v1/traces/integrations/langsmith": {
      "post": {
        "operationId": "create_langsmith_integration_v1_traces_integrations_langsmith_post",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ConnectInput"
              }
            }
          },
          "required": true
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TraceIntegrationView"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "summary": "Create Langsmith Integration",
        "tags": [
          "Trace Integrations"
        ],
        "description": "Preview: not covered by the stability promise; it may change or be removed."
      }
    },
    "/v1/traces/integrations/{integration_id}/pause": {
      "post": {
        "operationId": "pause_trace_integration_v1_traces_integrations__integration_id__pause_post",
        "parameters": [
          {
            "in": "path",
            "name": "integration_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "title": "Integration Id",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TraceIntegrationView"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "summary": "Pause Trace Integration",
        "tags": [
          "Trace Integrations"
        ],
        "description": "Preview: not covered by the stability promise; it may change or be removed."
      }
    },
    "/v1/traces/integrations/{integration_id}/resume": {
      "post": {
        "operationId": "resume_trace_integration_v1_traces_integrations__integration_id__resume_post",
        "parameters": [
          {
            "in": "path",
            "name": "integration_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "title": "Integration Id",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TraceIntegrationView"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "summary": "Resume Trace Integration",
        "tags": [
          "Trace Integrations"
        ],
        "description": "Preview: not covered by the stability promise; it may change or be removed."
      }
    },
    "/v1/traces/integrations/{integration_id}/reconnect": {
      "post": {
        "operationId": "reconnect_trace_integration_v1_traces_integrations__integration_id__reconnect_post",
        "parameters": [
          {
            "in": "path",
            "name": "integration_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "title": "Integration Id",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ReconnectInput"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TraceIntegrationView"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "summary": "Reconnect Trace Integration",
        "tags": [
          "Trace Integrations"
        ],
        "description": "Preview: not covered by the stability promise; it may change or be removed."
      }
    },
    "/v1/traces/integrations/{integration_id}/reconnect-workload": {
      "post": {
        "operationId": "reconnect_workload_integration_v1_traces_integrations__integration_id__reconnect_workload_post",
        "parameters": [
          {
            "in": "path",
            "name": "integration_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "title": "Integration Id",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/WorkloadAccessInput"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TraceIntegrationView"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "summary": "Reconnect Workload Integration",
        "tags": [
          "Trace Integrations"
        ],
        "description": "Preview: not covered by the stability promise; it may change or be removed."
      }
    },
    "/v1/traces/integrations/{integration_id}/backfill": {
      "post": {
        "operationId": "backfill_trace_integration_v1_traces_integrations__integration_id__backfill_post",
        "parameters": [
          {
            "in": "path",
            "name": "integration_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "title": "Integration Id",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/BackfillInput"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TraceIntegrationView"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "summary": "Backfill Trace Integration",
        "tags": [
          "Trace Integrations"
        ],
        "description": "Preview: not covered by the stability promise; it may change or be removed."
      }
    },
    "/v1/traces/integrations/{integration_id}": {
      "delete": {
        "operationId": "disconnect_trace_integration_v1_traces_integrations__integration_id__delete",
        "parameters": [
          {
            "in": "path",
            "name": "integration_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "title": "Integration Id",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/IntegrationDisconnected"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "summary": "Disconnect Trace Integration",
        "tags": [
          "Trace Integrations"
        ],
        "description": "Preview: not covered by the stability promise; it may change or be removed."
      }
    },
    "/v1/tune-sessions/{session_id}/export": {
      "get": {
        "operationId": "export_session_v1_tune_sessions__session_id__export_get",
        "parameters": [
          {
            "in": "path",
            "name": "session_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "title": "Session Id",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TuneExportBundle"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "summary": "Export Session",
        "tags": [
          "Tune"
        ],
        "description": "Preview: not covered by the stability promise; it may change or be removed."
      }
    },
    "/v1/tune-monitors": {
      "post": {
        "operationId": "create_monitor_v1_tune_monitors_post",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateMonitor"
              }
            }
          },
          "required": true
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/MonitorView"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "summary": "Create Monitor",
        "tags": [
          "Tune monitoring"
        ],
        "description": "Preview: not covered by the stability promise; it may change or be removed."
      },
      "get": {
        "operationId": "list_monitors_v1_tune_monitors_get",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/MonitorView"
                  },
                  "title": "Response List Monitors V1 Tune Monitors Get",
                  "type": "array"
                }
              }
            },
            "description": "Successful Response"
          }
        },
        "summary": "List Monitors",
        "tags": [
          "Tune monitoring"
        ],
        "description": "Preview: not covered by the stability promise; it may change or be removed."
      }
    },
    "/v1/tune-monitors/{monitor_id}": {
      "patch": {
        "operationId": "set_monitor_status_v1_tune_monitors__monitor_id__patch",
        "parameters": [
          {
            "in": "path",
            "name": "monitor_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "title": "Monitor Id",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/MonitorStatusPatch"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/MonitorView"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "summary": "Set Monitor Status",
        "tags": [
          "Tune monitoring"
        ],
        "description": "Preview: not covered by the stability promise; it may change or be removed."
      }
    },
    "/v1/tune-monitors/{monitor_id}/occurrences": {
      "get": {
        "operationId": "list_occurrences_v1_tune_monitors__monitor_id__occurrences_get",
        "parameters": [
          {
            "in": "path",
            "name": "monitor_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "title": "Monitor Id",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/OccurrenceView"
                  },
                  "title": "Response List Occurrences V1 Tune Monitors  Monitor Id  Occurrences Get",
                  "type": "array"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "summary": "List Occurrences",
        "tags": [
          "Tune monitoring"
        ],
        "description": "Preview: not covered by the stability promise; it may change or be removed."
      }
    },
    "/v1/tune-monitors/{monitor_id}/events": {
      "post": {
        "operationId": "accept_event_v1_tune_monitors__monitor_id__events_post",
        "parameters": [
          {
            "in": "path",
            "name": "monitor_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "title": "Monitor Id",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/MonitorEvent"
              }
            }
          },
          "required": true
        },
        "responses": {
          "202": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OccurrenceAccepted"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "summary": "Accept Event",
        "tags": [
          "Tune monitoring"
        ],
        "description": "Preview: not covered by the stability promise; it may change or be removed."
      }
    },
    "/v1/tune-monitors/{monitor_id}/workloads": {
      "post": {
        "operationId": "queue_workload_v1_tune_monitors__monitor_id__workloads_post",
        "parameters": [
          {
            "in": "path",
            "name": "monitor_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "title": "Monitor Id",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/QueueWorkload"
              }
            }
          },
          "required": true
        },
        "responses": {
          "202": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OccurrenceAccepted"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "summary": "Queue Workload",
        "tags": [
          "Tune monitoring"
        ],
        "description": "Preview: not covered by the stability promise; it may change or be removed."
      }
    },
    "/v1/remote-scorers": {
      "post": {
        "operationId": "create_remote_scorer_v1_remote_scorers_post",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/RemoteScorerCreate"
              }
            }
          },
          "required": true
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RemoteScorerView"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "summary": "Create Remote Scorer",
        "tags": [
          "Remote Scorers"
        ],
        "description": "Preview: not covered by the stability promise; it may change or be removed."
      },
      "get": {
        "operationId": "list_remote_scorers_v1_remote_scorers_get",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RemoteScorerPage"
                }
              }
            },
            "description": "Successful Response"
          }
        },
        "summary": "List Remote Scorers",
        "tags": [
          "Remote Scorers"
        ],
        "description": "Preview: not covered by the stability promise; it may change or be removed."
      }
    }
  },
  "components": {
    "schemas": {
      "BackfillInput": {
        "additionalProperties": false,
        "properties": {
          "since": {
            "format": "date-time",
            "title": "Since",
            "type": "string"
          }
        },
        "required": [
          "since"
        ],
        "title": "BackfillInput",
        "type": "object"
      },
      "BenchmarkDetail": {
        "additionalProperties": false,
        "properties": {
          "slug": {
            "title": "Slug",
            "type": "string"
          },
          "versions": {
            "items": {
              "$ref": "#/components/schemas/BenchmarkRecord"
            },
            "title": "Versions",
            "type": "array"
          }
        },
        "required": [
          "slug",
          "versions"
        ],
        "title": "BenchmarkDetail",
        "type": "object"
      },
      "BenchmarkRecord": {
        "additionalProperties": false,
        "properties": {
          "category": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Category"
          },
          "code_license": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Code License"
          },
          "data_license": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Data License"
          },
          "description": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Description"
          },
          "display_policy": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Display Policy"
          },
          "fewshot_config": {
            "anyOf": [
              {
                "additionalProperties": {
                  "$ref": "#/components/schemas/JsonValue-Output"
                },
                "type": "object"
              },
              {
                "type": "null"
              }
            ],
            "title": "Fewshot Config"
          },
          "generation_config": {
            "anyOf": [
              {
                "additionalProperties": {
                  "$ref": "#/components/schemas/JsonValue-Output"
                },
                "type": "object"
              },
              {
                "type": "null"
              }
            ],
            "title": "Generation Config"
          },
          "id": {
            "title": "Id",
            "type": "string"
          },
          "license_url": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "License Url"
          },
          "manifest_sha256": {
            "title": "Manifest Sha256",
            "type": "string"
          },
          "metrics": {
            "anyOf": [
              {
                "items": {
                  "type": "string"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "title": "Metrics"
          },
          "model_fit": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/BenchmarkModelFit"
              },
              {
                "type": "null"
              }
            ]
          },
          "name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Name"
          },
          "presentation": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/CatalogPresentation"
              },
              {
                "type": "null"
              }
            ]
          },
          "provenance": {
            "anyOf": [
              {
                "additionalProperties": {
                  "$ref": "#/components/schemas/JsonValue-Output"
                },
                "type": "object"
              },
              {
                "type": "null"
              }
            ],
            "title": "Provenance"
          },
          "quote_availability": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/BenchmarkQuoteAvailability"
              },
              {
                "type": "null"
              }
            ]
          },
          "required_capabilities": {
            "anyOf": [
              {
                "items": {
                  "type": "string"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "title": "Required Capabilities"
          },
          "runner": {
            "title": "Runner",
            "type": "string"
          },
          "sampling_algorithm": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Sampling Algorithm"
          },
          "slug": {
            "title": "Slug",
            "type": "string"
          },
          "source_revision": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Source Revision"
          },
          "source_url": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Source Url"
          },
          "status": {
            "title": "Status",
            "type": "string"
          },
          "task_count": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Task Count"
          },
          "version": {
            "title": "Version",
            "type": "string"
          }
        },
        "required": [
          "id",
          "slug",
          "version",
          "runner",
          "status",
          "manifest_sha256"
        ],
        "title": "BenchmarkRecord",
        "type": "object"
      },
      "BenchmarkModelFit": {
        "additionalProperties": false,
        "description": "Whether the `?model=` route can run this version, decided as a quote would.",
        "properties": {
          "code": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Code"
          },
          "compatible": {
            "title": "Compatible",
            "type": "boolean"
          },
          "message": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Message"
          }
        },
        "required": [
          "compatible"
        ],
        "title": "BenchmarkModelFit",
        "type": "object"
      },
      "BenchmarkQuoteAvailability": {
        "additionalProperties": false,
        "properties": {
          "message": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Message"
          },
          "reason_code": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Reason Code"
          },
          "status": {
            "enum": [
              "ready_for_quote",
              "unavailable"
            ],
            "title": "Status",
            "type": "string"
          }
        },
        "required": [
          "status"
        ],
        "title": "BenchmarkQuoteAvailability",
        "type": "object"
      },
      "CalibrationExamplePage": {
        "additionalProperties": false,
        "properties": {
          "data": {
            "items": {
              "$ref": "#/components/schemas/CalibrationExample"
            },
            "title": "Data",
            "type": "array"
          }
        },
        "required": [
          "data"
        ],
        "title": "CalibrationExamplePage",
        "type": "object"
      },
      "CalibrationExample": {
        "additionalProperties": false,
        "properties": {
          "content_sha256": {
            "title": "Content Sha256",
            "type": "string"
          },
          "generated_draft": {
            "additionalProperties": true,
            "title": "Generated Draft",
            "type": "object"
          },
          "id": {
            "format": "uuid",
            "title": "Id",
            "type": "string"
          },
          "split_role": {
            "enum": [
              "train",
              "validation"
            ],
            "title": "Split Role",
            "type": "string"
          }
        },
        "required": [
          "id",
          "content_sha256",
          "generated_draft",
          "split_role"
        ],
        "title": "CalibrationExample",
        "type": "object"
      },
      "CalibrationResolvedView": {
        "additionalProperties": false,
        "properties": {
          "calibration_sha256": {
            "title": "Calibration Sha256",
            "type": "string"
          },
          "cases": {
            "items": {
              "$ref": "#/components/schemas/CalibrationCaseView"
            },
            "title": "Cases",
            "type": "array"
          },
          "dataset_manifest_sha256": {
            "title": "Dataset Manifest Sha256",
            "type": "string"
          },
          "dataset_version_id": {
            "format": "uuid",
            "title": "Dataset Version Id",
            "type": "string"
          },
          "evaluator": {
            "$ref": "#/components/schemas/EvaluatorSnapshot"
          },
          "evaluator_sha256": {
            "title": "Evaluator Sha256",
            "type": "string"
          },
          "id": {
            "format": "uuid",
            "title": "Id",
            "type": "string"
          },
          "metrics": {
            "additionalProperties": true,
            "title": "Metrics",
            "type": "object"
          },
          "reviewed_at": {
            "format": "date-time",
            "title": "Reviewed At",
            "type": "string"
          },
          "reviewed_by": {
            "format": "uuid",
            "title": "Reviewed By",
            "type": "string"
          }
        },
        "required": [
          "id",
          "dataset_version_id",
          "dataset_manifest_sha256",
          "evaluator",
          "evaluator_sha256",
          "calibration_sha256",
          "cases",
          "metrics",
          "reviewed_by",
          "reviewed_at"
        ],
        "title": "CalibrationResolvedView",
        "type": "object"
      },
      "CalibrationCaseView": {
        "additionalProperties": false,
        "properties": {
          "content_sha256": {
            "title": "Content Sha256",
            "type": "string"
          },
          "example_id": {
            "format": "uuid",
            "title": "Example Id",
            "type": "string"
          },
          "expected_label": {
            "enum": [
              "pass",
              "fail",
              "abstain"
            ],
            "title": "Expected Label",
            "type": "string"
          },
          "split_role": {
            "enum": [
              "train",
              "validation"
            ],
            "title": "Split Role",
            "type": "string"
          }
        },
        "required": [
          "example_id",
          "content_sha256",
          "expected_label",
          "split_role"
        ],
        "title": "CalibrationCaseView",
        "type": "object"
      },
      "CatalogPresentation": {
        "additionalProperties": false,
        "description": "Editorial discovery copy. Not protocol identity or execution approval.",
        "properties": {
          "count_unit": {
            "anyOf": [
              {
                "enum": [
                  "questions",
                  "problems",
                  "examples",
                  "puzzles"
                ],
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Count Unit"
          },
          "description": {
            "title": "Description",
            "type": "string"
          },
          "exemplars": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "Where this version's few-shot examples come from. They are shown to the model before each graded question and are never that question's answer.",
            "title": "Exemplars"
          },
          "maintainer": {
            "$ref": "#/components/schemas/CatalogMaintainer"
          },
          "name": {
            "title": "Name",
            "type": "string"
          },
          "revision": {
            "title": "Revision",
            "type": "string"
          },
          "split": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Split"
          }
        },
        "required": [
          "revision",
          "name",
          "description",
          "maintainer"
        ],
        "title": "CatalogPresentation",
        "type": "object"
      },
      "CatalogMaintainer": {
        "additionalProperties": false,
        "properties": {
          "id": {
            "title": "Id",
            "type": "string"
          },
          "name": {
            "title": "Name",
            "type": "string"
          }
        },
        "required": [
          "id",
          "name"
        ],
        "title": "CatalogMaintainer",
        "type": "object"
      },
      "ConnectInput": {
        "additionalProperties": false,
        "properties": {
          "api_key": {
            "maxLength": 4096,
            "minLength": 1,
            "title": "Api Key",
            "type": "string"
          },
          "connection_id": {
            "anyOf": [
              {
                "format": "uuid",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Connection Id"
          },
          "lookback_hours": {
            "default": 24,
            "maximum": 8760.0,
            "minimum": 1.0,
            "title": "Lookback Hours",
            "type": "integer"
          },
          "name": {
            "maxLength": 120,
            "minLength": 1,
            "title": "Name",
            "type": "string"
          },
          "project_id": {
            "maxLength": 128,
            "minLength": 1,
            "title": "Project Id",
            "type": "string"
          },
          "project_name": {
            "maxLength": 200,
            "minLength": 1,
            "title": "Project Name",
            "type": "string"
          },
          "region": {
            "default": "us",
            "enum": [
              "us",
              "eu"
            ],
            "title": "Region",
            "type": "string"
          },
          "since": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Since"
          }
        },
        "required": [
          "api_key",
          "name",
          "project_id",
          "project_name"
        ],
        "title": "ConnectInput",
        "type": "object"
      },
      "ConnectionRecord": {
        "additionalProperties": false,
        "properties": {
          "account_id": {
            "anyOf": [
              {
                "format": "uuid",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Account Id"
          },
          "base_url": {
            "title": "Base Url",
            "type": "string"
          },
          "capabilities": {
            "items": {
              "type": "string"
            },
            "title": "Capabilities",
            "type": "array"
          },
          "check_result": {
            "additionalProperties": {
              "$ref": "#/components/schemas/JsonValue-Output"
            },
            "title": "Check Result",
            "type": "object"
          },
          "checked_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Checked At"
          },
          "config": {
            "additionalProperties": {
              "$ref": "#/components/schemas/JsonValue-Output"
            },
            "title": "Config",
            "type": "object"
          },
          "created_at": {
            "format": "date-time",
            "title": "Created At",
            "type": "string"
          },
          "disabled_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Disabled At"
          },
          "id": {
            "format": "uuid",
            "title": "Id",
            "type": "string"
          },
          "model_id": {
            "title": "Model Id",
            "type": "string"
          },
          "name": {
            "title": "Name",
            "type": "string"
          },
          "protocol": {
            "enum": [
              "openai_chat",
              "openai_completions",
              "a2a"
            ],
            "title": "Protocol",
            "type": "string"
          },
          "revision": {
            "title": "Revision",
            "type": "integer"
          }
        },
        "required": [
          "id",
          "name",
          "model_id",
          "base_url",
          "protocol",
          "revision",
          "config",
          "capabilities",
          "checked_at",
          "check_result",
          "disabled_at",
          "created_at"
        ],
        "title": "ConnectionRecord",
        "type": "object"
      },
      "CreateMonitor": {
        "additionalProperties": false,
        "properties": {
          "per_run_cap_microusd": {
            "pattern": "^[1-9][0-9]{0,8}$",
            "title": "Per Run Cap Microusd",
            "type": "string"
          },
          "total_cap_microusd": {
            "pattern": "^[1-9][0-9]{0,11}$",
            "title": "Total Cap Microusd",
            "type": "string"
          },
          "trigger": {
            "$ref": "#/components/schemas/MonitorTrigger"
          },
          "tune_session_id": {
            "format": "uuid",
            "title": "Tune Session Id",
            "type": "string"
          }
        },
        "required": [
          "tune_session_id",
          "trigger",
          "per_run_cap_microusd",
          "total_cap_microusd"
        ],
        "title": "CreateMonitor",
        "type": "object"
      },
      "DraftStarted": {
        "additionalProperties": false,
        "properties": {
          "dataset_manifest_sha256": {
            "title": "Dataset Manifest Sha256",
            "type": "string"
          },
          "dataset_version_id": {
            "format": "uuid",
            "title": "Dataset Version Id",
            "type": "string"
          },
          "id": {
            "format": "uuid",
            "title": "Id",
            "type": "string"
          },
          "max_draft_microusd": {
            "title": "Max Draft Microusd",
            "type": "string"
          },
          "status": {
            "const": "queued",
            "title": "Status",
            "type": "string"
          }
        },
        "required": [
          "id",
          "status",
          "dataset_version_id",
          "dataset_manifest_sha256",
          "max_draft_microusd"
        ],
        "title": "DraftStarted",
        "type": "object"
      },
      "EnvironmentFamily": {
        "additionalProperties": false,
        "properties": {
          "family": {
            "title": "Family",
            "type": "string"
          },
          "versions": {
            "items": {
              "$ref": "#/components/schemas/EnvironmentRecord"
            },
            "title": "Versions",
            "type": "array"
          }
        },
        "required": [
          "family",
          "versions"
        ],
        "title": "EnvironmentFamily",
        "type": "object"
      },
      "EnvironmentRecord": {
        "additionalProperties": false,
        "properties": {
          "adapter": {
            "title": "Adapter",
            "type": "string"
          },
          "commission_basis_points": {
            "type": "integer"
          },
          "created_at": {
            "format": "date-time",
            "title": "Created At",
            "type": "string"
          },
          "description": {
            "title": "Description",
            "type": "string"
          },
          "id": {
            "format": "uuid",
            "title": "Id",
            "type": "string"
          },
          "limitations": {
            "items": {
              "type": "string"
            },
            "title": "Limitations",
            "type": "array"
          },
          "limits": {
            "$ref": "#/components/schemas/EnvironmentLimits"
          },
          "manifest_sha256": {
            "title": "Manifest Sha256",
            "type": "string"
          },
          "name": {
            "title": "Name",
            "type": "string"
          },
          "package_sha256": {
            "title": "Package Sha256",
            "type": "string"
          },
          "presentation": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/CatalogPresentation"
              },
              {
                "type": "null"
              }
            ]
          },
          "price_version": {
            "title": "Price Version",
            "type": "string"
          },
          "quote_availability": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/BenchmarkQuoteAvailability"
              },
              {
                "type": "null"
              }
            ]
          },
          "ref": {
            "title": "Ref",
            "type": "string"
          },
          "required_capabilities": {
            "items": {
              "type": "string"
            },
            "title": "Required Capabilities",
            "type": "array"
          },
          "rights": {
            "$ref": "#/components/schemas/EnvironmentRights"
          },
          "source_released": {
            "default": false,
            "title": "Source Released",
            "type": "boolean"
          },
          "status": {
            "title": "Status",
            "type": "string"
          },
          "supplier_fee_microusd": {
            "pattern": "^[0-9]+$",
            "title": "Supplier Fee Microusd",
            "type": "string"
          },
          "task_counts": {
            "additionalProperties": {
              "type": "integer"
            },
            "title": "Task Counts",
            "type": "object"
          },
          "validation": {
            "additionalProperties": {
              "$ref": "#/components/schemas/JsonValue-Output"
            },
            "title": "Validation",
            "type": "object"
          },
          "visibility": {
            "title": "Visibility",
            "type": "string"
          }
        },
        "required": [
          "id",
          "ref",
          "name",
          "description",
          "adapter",
          "status",
          "visibility",
          "manifest_sha256",
          "package_sha256",
          "task_counts",
          "rights",
          "limits",
          "required_capabilities",
          "supplier_fee_microusd",
          "price_version",
          "limitations",
          "validation",
          "created_at"
        ],
        "title": "EnvironmentRecord",
        "type": "object"
      },
      "EnvironmentLimits": {
        "additionalProperties": false,
        "properties": {
          "cpu_millis": {
            "default": 1000,
            "maximum": 16000.0,
            "minimum": 125.0,
            "title": "Cpu Millis",
            "type": "integer"
          },
          "duration_seconds": {
            "default": 300,
            "maximum": 86400.0,
            "minimum": 1.0,
            "title": "Duration Seconds",
            "type": "integer"
          },
          "max_observation_bytes": {
            "default": 65536,
            "maximum": 262144.0,
            "minimum": 1024.0,
            "title": "Max Observation Bytes",
            "type": "integer"
          },
          "max_output_tokens": {
            "default": 1024,
            "maximum": 32768.0,
            "minimum": 1.0,
            "title": "Max Output Tokens",
            "type": "integer"
          },
          "max_steps": {
            "default": 20,
            "maximum": 2000.0,
            "minimum": 1.0,
            "title": "Max Steps",
            "type": "integer"
          },
          "memory_mib": {
            "default": 512,
            "maximum": 32768.0,
            "minimum": 128.0,
            "title": "Memory Mib",
            "type": "integer"
          },
          "network": {
            "const": "blocked",
            "default": "blocked",
            "title": "Network",
            "type": "string"
          }
        },
        "title": "EnvironmentLimits",
        "type": "object"
      },
      "EnvironmentRights": {
        "additionalProperties": false,
        "properties": {
          "attribution": {
            "maxLength": 2000,
            "minLength": 1,
            "title": "Attribution",
            "type": "string"
          },
          "commercial_execution": {
            "title": "Commercial Execution",
            "type": "boolean"
          },
          "display": {
            "title": "Display",
            "type": "boolean"
          },
          "export": {
            "title": "Export",
            "type": "boolean"
          },
          "license": {
            "maxLength": 120,
            "minLength": 1,
            "title": "License",
            "type": "string"
          },
          "source_url": {
            "maxLength": 2000,
            "pattern": "^https://",
            "title": "Source Url",
            "type": "string"
          },
          "training": {
            "title": "Training",
            "type": "boolean"
          },
          "underlying_licenses": {
            "items": {
              "type": "string"
            },
            "maxItems": 100,
            "title": "Underlying Licenses",
            "type": "array"
          }
        },
        "required": [
          "commercial_execution",
          "training",
          "display",
          "export",
          "license",
          "attribution",
          "source_url"
        ],
        "title": "EnvironmentRights",
        "type": "object"
      },
      "EvalRecord": {
        "additionalProperties": false,
        "properties": {
          "access": {
            "default": "public",
            "enum": [
              "public",
              "private",
              "granted"
            ],
            "title": "Access",
            "type": "string"
          },
          "availability": {
            "default": "unavailable",
            "title": "Availability",
            "type": "string"
          },
          "availability_reason": {
            "default": "Availability is checked when quoting.",
            "title": "Availability Reason",
            "type": "string"
          },
          "behaviors": {
            "items": {
              "type": "string"
            },
            "title": "Behaviors",
            "type": "array"
          },
          "category": {
            "default": "",
            "title": "Category",
            "type": "string"
          },
          "created_at": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Created At"
          },
          "created_by": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Created By"
          },
          "description": {
            "title": "Description",
            "type": "string"
          },
          "detail_href": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Detail Href"
          },
          "display_name": {
            "title": "Display Name",
            "type": "string"
          },
          "execution_mode": {
            "enum": [
              "router",
              "provider"
            ],
            "title": "Execution Mode",
            "type": "string"
          },
          "family": {
            "default": "",
            "title": "Family",
            "type": "string"
          },
          "kind": {
            "enum": [
              "benchmark",
              "environment",
              "remote"
            ],
            "title": "Kind",
            "type": "string"
          },
          "name": {
            "title": "Name",
            "type": "string"
          },
          "presentation": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/CatalogPresentation"
              },
              {
                "type": "null"
              }
            ]
          },
          "pricing": {
            "$ref": "#/components/schemas/EvalPricing"
          },
          "profile_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Profile Id"
          },
          "protocol": {
            "enum": [
              "batch",
              "interactive",
              "agentic"
            ],
            "title": "Protocol",
            "type": "string"
          },
          "provider": {
            "title": "Provider",
            "type": "string"
          },
          "publisher": {
            "default": "",
            "title": "Publisher",
            "type": "string"
          },
          "ref": {
            "title": "Ref",
            "type": "string"
          },
          "required_capabilities": {
            "items": {
              "type": "string"
            },
            "title": "Required Capabilities",
            "type": "array"
          },
          "runner": {
            "title": "Runner",
            "type": "string"
          },
          "source": {
            "default": "catalog",
            "title": "Source",
            "type": "string"
          },
          "status": {
            "title": "Status",
            "type": "string"
          },
          "task_count": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Task Count"
          },
          "version": {
            "title": "Version",
            "type": "string"
          },
          "visibility": {
            "default": "public",
            "enum": [
              "public",
              "private"
            ],
            "title": "Visibility",
            "type": "string"
          }
        },
        "required": [
          "ref",
          "provider",
          "kind",
          "protocol",
          "name",
          "version",
          "display_name",
          "description",
          "status",
          "runner",
          "execution_mode",
          "task_count",
          "required_capabilities",
          "pricing",
          "profile_id"
        ],
        "title": "EvalRecord",
        "type": "object"
      },
      "EvalPricing": {
        "additionalProperties": false,
        "properties": {
          "execution_fee_microusd": {
            "anyOf": [
              {
                "pattern": "^[0-9]+$",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Execution Fee Microusd"
          },
          "price_version": {
            "title": "Price Version",
            "type": "string"
          },
          "task_fee_microusd": {
            "anyOf": [
              {
                "pattern": "^[0-9]+$",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Task Fee Microusd"
          }
        },
        "required": [
          "price_version"
        ],
        "title": "EvalPricing",
        "type": "object"
      },
      "EvaluatorCreate": {
        "additionalProperties": false,
        "properties": {
          "config": {
            "additionalProperties": true,
            "title": "Config",
            "type": "object"
          },
          "evaluator_key": {
            "maxLength": 120,
            "minLength": 1,
            "pattern": "^[A-Za-z0-9][A-Za-z0-9._-]*$",
            "title": "Evaluator Key",
            "type": "string"
          },
          "kind": {
            "enum": [
              "deterministic",
              "rubric",
              "remote"
            ],
            "title": "Kind",
            "type": "string"
          },
          "name": {
            "maxLength": 120,
            "minLength": 1,
            "title": "Name",
            "type": "string"
          }
        },
        "required": [
          "evaluator_key",
          "name",
          "kind",
          "config"
        ],
        "title": "EvaluatorCreate",
        "type": "object"
      },
      "EvaluatorDraftCreate": {
        "additionalProperties": false,
        "properties": {
          "dataset_version_id": {
            "format": "uuid",
            "title": "Dataset Version Id",
            "type": "string"
          },
          "max_draft_microusd": {
            "maximum": 5000000.0,
            "minimum": 100000.0,
            "title": "Max Draft Microusd",
            "type": "integer"
          }
        },
        "required": [
          "dataset_version_id",
          "max_draft_microusd"
        ],
        "title": "EvaluatorDraftCreate",
        "type": "object"
      },
      "EvaluatorDraftView": {
        "additionalProperties": false,
        "properties": {
          "created_at": {
            "format": "date-time",
            "title": "Created At",
            "type": "string"
          },
          "dataset_manifest_sha256": {
            "title": "Dataset Manifest Sha256",
            "type": "string"
          },
          "dataset_version_id": {
            "format": "uuid",
            "title": "Dataset Version Id",
            "type": "string"
          },
          "draft": {
            "anyOf": [
              {
                "additionalProperties": true,
                "type": "object"
              },
              {
                "type": "null"
              }
            ],
            "title": "Draft"
          },
          "draft_cap_microusd": {
            "title": "Draft Cap Microusd",
            "type": "integer"
          },
          "error_code": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Error Code"
          },
          "error_message": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Error Message"
          },
          "id": {
            "format": "uuid",
            "title": "Id",
            "type": "string"
          },
          "price_version": {
            "title": "Price Version",
            "type": "string"
          },
          "route_id": {
            "title": "Route Id",
            "type": "string"
          },
          "status": {
            "enum": [
              "queued",
              "drafting",
              "review",
              "failed",
              "cancelled"
            ],
            "title": "Status",
            "type": "string"
          },
          "updated_at": {
            "format": "date-time",
            "title": "Updated At",
            "type": "string"
          }
        },
        "required": [
          "id",
          "status",
          "dataset_version_id",
          "dataset_manifest_sha256",
          "draft",
          "draft_cap_microusd",
          "route_id",
          "price_version",
          "error_code",
          "error_message",
          "created_at",
          "updated_at"
        ],
        "title": "EvaluatorDraftView",
        "type": "object"
      },
      "EvaluatorPreview": {
        "additionalProperties": false,
        "properties": {
          "dataset_version_id": {
            "format": "uuid",
            "title": "Dataset Version Id",
            "type": "string"
          },
          "evaluator_id": {
            "format": "uuid",
            "title": "Evaluator Id",
            "type": "string"
          },
          "example_id": {
            "format": "uuid",
            "title": "Example Id",
            "type": "string"
          },
          "output": {
            "maxLength": 100000,
            "title": "Output",
            "type": "string"
          }
        },
        "required": [
          "dataset_version_id",
          "evaluator_id",
          "example_id",
          "output"
        ],
        "title": "EvaluatorPreview",
        "type": "object"
      },
      "EvaluatorPreviewView": {
        "additionalProperties": false,
        "properties": {
          "content_sha256": {
            "title": "Content Sha256",
            "type": "string"
          },
          "dataset_manifest_sha256": {
            "title": "Dataset Manifest Sha256",
            "type": "string"
          },
          "details": {
            "additionalProperties": true,
            "title": "Details",
            "type": "object"
          },
          "example_id": {
            "format": "uuid",
            "title": "Example Id",
            "type": "string"
          },
          "external_cost_microusd": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "External Cost Microusd"
          },
          "historical_scores_used_as_labels": {
            "const": false,
            "title": "Historical Scores Used As Labels",
            "type": "boolean"
          },
          "label": {
            "enum": [
              "pass",
              "fail",
              "abstain"
            ],
            "title": "Label",
            "type": "string"
          },
          "provider": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Provider"
          },
          "score": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Score"
          },
          "scorer_id": {
            "anyOf": [
              {
                "format": "uuid",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Scorer Id"
          },
          "scorer_sha256": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Scorer Sha256"
          }
        },
        "required": [
          "example_id",
          "content_sha256",
          "dataset_manifest_sha256",
          "label",
          "score",
          "details",
          "historical_scores_used_as_labels"
        ],
        "title": "EvaluatorPreviewView",
        "type": "object"
      },
      "EvaluatorSnapshot": {
        "additionalProperties": false,
        "properties": {
          "config": {
            "additionalProperties": true,
            "title": "Config",
            "type": "object"
          },
          "config_sha256": {
            "title": "Config Sha256",
            "type": "string"
          },
          "evaluator_key": {
            "title": "Evaluator Key",
            "type": "string"
          },
          "evaluator_version": {
            "title": "Evaluator Version",
            "type": "integer"
          },
          "id": {
            "format": "uuid",
            "title": "Id",
            "type": "string"
          },
          "kind": {
            "enum": [
              "deterministic",
              "rubric",
              "remote"
            ],
            "title": "Kind",
            "type": "string"
          }
        },
        "required": [
          "id",
          "evaluator_key",
          "evaluator_version",
          "kind",
          "config",
          "config_sha256"
        ],
        "title": "EvaluatorSnapshot",
        "type": "object"
      },
      "EventPage": {
        "additionalProperties": false,
        "properties": {
          "data": {
            "items": {
              "$ref": "#/components/schemas/RunEvent"
            },
            "title": "Data",
            "type": "array"
          },
          "has_more": {
            "title": "Has More",
            "type": "boolean"
          },
          "next_sequence": {
            "title": "Next Sequence",
            "type": "integer"
          },
          "run_status": {
            "anyOf": [
              {
                "enum": [
                  "queued",
                  "running",
                  "cancelling",
                  "finalizing",
                  "completed",
                  "partial",
                  "failed",
                  "cancelled"
                ],
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "The run's status, read before the events: a terminal status with has_more false means the log is complete.",
            "title": "Run Status"
          }
        },
        "required": [
          "data",
          "next_sequence",
          "has_more"
        ],
        "title": "EventPage",
        "type": "object"
      },
      "ExecutionOptions": {
        "additionalProperties": false,
        "properties": {
          "chat_enabled": {
            "default": false,
            "title": "Chat Enabled",
            "type": "boolean"
          },
          "creator_profiles_enabled": {
            "default": false,
            "title": "Creator Profiles Enabled",
            "type": "boolean"
          },
          "max_models_per_run": {
            "title": "Max Models Per Run",
            "type": "integer"
          },
          "max_run_cap_microusd": {
            "anyOf": [
              {
                "pattern": "^[0-9]+$",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "Configured per-run maximum for quoted and non-native workflows, not a wallet reservation.",
            "title": "Max Run Cap Microusd"
          }
        },
        "required": [
          "max_models_per_run"
        ],
        "title": "ExecutionOptions",
        "type": "object"
      },
      "HTTPValidationError": {
        "properties": {
          "detail": {
            "items": {
              "$ref": "#/components/schemas/ValidationError"
            },
            "title": "Detail",
            "type": "array"
          }
        },
        "title": "HTTPValidationError",
        "type": "object"
      },
      "IntegrationDisconnected": {
        "additionalProperties": false,
        "properties": {
          "ok": {
            "title": "Ok",
            "type": "boolean"
          }
        },
        "required": [
          "ok"
        ],
        "title": "IntegrationDisconnected",
        "type": "object"
      },
      "JsonValue-Output": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "integer"
          },
          {
            "type": "number"
          },
          {
            "type": "boolean"
          },
          {
            "items": {
              "$ref": "#/components/schemas/JsonValue-Output"
            },
            "type": "array"
          },
          {
            "additionalProperties": {
              "$ref": "#/components/schemas/JsonValue-Output"
            },
            "type": "object"
          },
          {
            "type": "null"
          }
        ]
      },
      "MonitorEvent": {
        "additionalProperties": false,
        "properties": {
          "calibration_version_id": {
            "anyOf": [
              {
                "format": "uuid",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Calibration Version Id"
          },
          "dataset_version_id": {
            "anyOf": [
              {
                "format": "uuid",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Dataset Version Id"
          },
          "external_event_id": {
            "maxLength": 200,
            "minLength": 1,
            "title": "External Event Id",
            "type": "string"
          },
          "integration": {
            "maxLength": 120,
            "minLength": 1,
            "title": "Integration",
            "type": "string"
          }
        },
        "required": [
          "integration",
          "external_event_id"
        ],
        "title": "MonitorEvent",
        "type": "object"
      },
      "MonitorStatusPatch": {
        "additionalProperties": false,
        "properties": {
          "status": {
            "enum": [
              "active",
              "paused"
            ],
            "title": "Status",
            "type": "string"
          }
        },
        "required": [
          "status"
        ],
        "title": "MonitorStatusPatch",
        "type": "object"
      },
      "MonitorTrigger": {
        "additionalProperties": false,
        "properties": {
          "interval_seconds": {
            "anyOf": [
              {
                "maximum": 2592000.0,
                "minimum": 3600.0,
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Interval Seconds"
          },
          "kind": {
            "enum": [
              "event",
              "interval"
            ],
            "title": "Kind",
            "type": "string"
          }
        },
        "required": [
          "kind"
        ],
        "title": "MonitorTrigger",
        "type": "object"
      },
      "MonitorView": {
        "additionalProperties": false,
        "properties": {
          "config_sha256": {
            "title": "Config Sha256",
            "type": "string"
          },
          "held_microusd": {
            "title": "Held Microusd",
            "type": "string"
          },
          "id": {
            "format": "uuid",
            "title": "Id",
            "type": "string"
          },
          "mode": {
            "enum": [
              "agent",
              "acp"
            ],
            "title": "Mode",
            "type": "string"
          },
          "next_run_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Next Run At"
          },
          "pause_label": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "The pause reason's label for people, from EvalRouter's one list.",
            "title": "Pause Label"
          },
          "pause_reason": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "Why it paused, as a stable code (an open set; `outcomes.json` lists the known ones). Show `pause_label`.",
            "title": "Pause Reason"
          },
          "per_run_cap_microusd": {
            "title": "Per Run Cap Microusd",
            "type": "string"
          },
          "spent_microusd": {
            "title": "Spent Microusd",
            "type": "string"
          },
          "status": {
            "title": "Status",
            "type": "string"
          },
          "total_cap_microusd": {
            "title": "Total Cap Microusd",
            "type": "string"
          },
          "trigger": {
            "additionalProperties": true,
            "title": "Trigger",
            "type": "object"
          },
          "tune_session_id": {
            "format": "uuid",
            "title": "Tune Session Id",
            "type": "string"
          },
          "workspace_id": {
            "format": "uuid",
            "title": "Workspace Id",
            "type": "string"
          }
        },
        "required": [
          "id",
          "workspace_id",
          "tune_session_id",
          "mode",
          "status",
          "trigger",
          "config_sha256",
          "per_run_cap_microusd",
          "total_cap_microusd",
          "spent_microusd",
          "held_microusd",
          "next_run_at",
          "pause_reason"
        ],
        "title": "MonitorView",
        "type": "object"
      },
      "NewA2AConnection": {
        "additionalProperties": false,
        "description": "A remote agent (Adrian, 2026-10-09): its A2A endpoint and auth. A quote names it with\n`agent: {kind: remote, connection_id}`. Never a model.",
        "properties": {
          "auth": {
            "discriminator": {
              "mapping": {
                "headers": "#/components/schemas/HeadersAuth",
                "oauth2_client_credentials": "#/components/schemas/OAuth2ClientCredentials"
              },
              "propertyName": "kind"
            },
            "oneOf": [
              {
                "$ref": "#/components/schemas/HeadersAuth"
              },
              {
                "$ref": "#/components/schemas/OAuth2ClientCredentials"
              }
            ],
            "title": "Auth"
          },
          "base_url": {
            "maxLength": 2048,
            "minLength": 8,
            "title": "Base Url",
            "type": "string"
          },
          "card_path": {
            "anyOf": [
              {
                "maxLength": 500,
                "pattern": "^/[^\\s?#]*$",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Card Path"
          },
          "name": {
            "maxLength": 120,
            "minLength": 1,
            "title": "Name",
            "type": "string"
          },
          "protocol": {
            "const": "a2a",
            "title": "Protocol",
            "type": "string"
          }
        },
        "required": [
          "protocol",
          "name",
          "base_url",
          "auth"
        ],
        "title": "NewA2AConnection",
        "type": "object"
      },
      "HeadersAuth": {
        "additionalProperties": false,
        "description": "1–4 secret request headers (a bearer token is `Authorization: Bearer …`).",
        "properties": {
          "headers": {
            "items": {
              "$ref": "#/components/schemas/SecretHeader"
            },
            "maxItems": 4,
            "minItems": 1,
            "title": "Headers",
            "type": "array"
          },
          "kind": {
            "const": "headers",
            "title": "Kind",
            "type": "string"
          }
        },
        "required": [
          "kind",
          "headers"
        ],
        "title": "HeadersAuth",
        "type": "object"
      },
      "NewAccountConnection": {
        "additionalProperties": false,
        "description": "A model on a provider account: the account supplies the endpoint and key.",
        "properties": {
          "account_id": {
            "format": "uuid",
            "title": "Account Id",
            "type": "string"
          },
          "context_window": {
            "default": 32768,
            "maximum": 2000000.0,
            "minimum": 512.0,
            "title": "Context Window",
            "type": "integer"
          },
          "max_output_tokens": {
            "default": 4096,
            "maximum": 32768.0,
            "minimum": 16.0,
            "title": "Max Output Tokens",
            "type": "integer"
          },
          "model_id": {
            "maxLength": 200,
            "minLength": 1,
            "title": "Model Id",
            "type": "string"
          },
          "name": {
            "maxLength": 120,
            "minLength": 1,
            "title": "Name",
            "type": "string"
          },
          "output_modes": {
            "anyOf": [
              {
                "items": {
                  "enum": [
                    "json_object",
                    "json_schema"
                  ],
                  "type": "string"
                },
                "maxItems": 2,
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "title": "Output Modes"
          },
          "protocol": {
            "default": "openai_chat",
            "enum": [
              "openai_chat",
              "openai_completions"
            ],
            "title": "Protocol",
            "type": "string"
          }
        },
        "required": [
          "name",
          "account_id",
          "model_id"
        ],
        "title": "NewAccountConnection",
        "type": "object"
      },
      "NewConnection": {
        "additionalProperties": false,
        "properties": {
          "api_key": {
            "format": "password",
            "title": "Api Key",
            "type": "string",
            "writeOnly": true
          },
          "base_url": {
            "maxLength": 2048,
            "minLength": 8,
            "title": "Base Url",
            "type": "string"
          },
          "context_window": {
            "default": 32768,
            "maximum": 2000000.0,
            "minimum": 512.0,
            "title": "Context Window",
            "type": "integer"
          },
          "max_output_tokens": {
            "default": 4096,
            "maximum": 32768.0,
            "minimum": 16.0,
            "title": "Max Output Tokens",
            "type": "integer"
          },
          "model_id": {
            "maxLength": 200,
            "minLength": 1,
            "title": "Model Id",
            "type": "string"
          },
          "name": {
            "maxLength": 120,
            "minLength": 1,
            "title": "Name",
            "type": "string"
          },
          "output_modes": {
            "anyOf": [
              {
                "items": {
                  "enum": [
                    "json_object",
                    "json_schema"
                  ],
                  "type": "string"
                },
                "maxItems": 2,
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "title": "Output Modes"
          },
          "protocol": {
            "default": "openai_chat",
            "enum": [
              "openai_chat",
              "openai_completions"
            ],
            "title": "Protocol",
            "type": "string"
          }
        },
        "required": [
          "name",
          "base_url",
          "model_id",
          "api_key"
        ],
        "title": "NewConnection",
        "type": "object"
      },
      "NewQuote": {
        "additionalProperties": false,
        "properties": {
          "agent": {
            "anyOf": [
              {
                "discriminator": {
                  "mapping": {
                    "hosted": "#/components/schemas/HostedAgent",
                    "local": "#/components/schemas/LocalAgent",
                    "registry": "#/components/schemas/RegistryAgent",
                    "remote": "#/components/schemas/RemoteAgent"
                  },
                  "propertyName": "kind"
                },
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/RegistryAgent"
                  },
                  {
                    "$ref": "#/components/schemas/LocalAgent"
                  },
                  {
                    "$ref": "#/components/schemas/HostedAgent"
                  },
                  {
                    "$ref": "#/components/schemas/RemoteAgent"
                  }
                ]
              },
              {
                "pattern": "^[a-z0-9][a-z0-9_./-]{0,119}@[a-zA-Z0-9_.-]{1,80}$",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Agent"
          },
          "batch_id": {
            "anyOf": [
              {
                "format": "uuid",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Batch Id"
          },
          "concurrency": {
            "anyOf": [
              {
                "enum": [
                  "auto",
                  "max"
                ],
                "type": "string"
              },
              {
                "maximum": 100.0,
                "minimum": 1.0,
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Concurrency"
          },
          "continuation": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/ContinuationOptions"
              },
              {
                "type": "null"
              }
            ]
          },
          "coverage": {
            "anyOf": [
              {
                "discriminator": {
                  "mapping": {
                    "full": "#/components/schemas/FullCoverage",
                    "sample": "#/components/schemas/SampleCoverage",
                    "tasks": "#/components/schemas/TaskCoverage"
                  },
                  "propertyName": "mode"
                },
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/SampleCoverage"
                  },
                  {
                    "$ref": "#/components/schemas/FullCoverage"
                  },
                  {
                    "$ref": "#/components/schemas/TaskCoverage"
                  }
                ]
              },
              {
                "type": "null"
              }
            ],
            "title": "Coverage"
          },
          "evidence": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/TraceEvidence"
              },
              {
                "type": "null"
              }
            ],
            "description": "What a `grade` quote grades: completed traces of this workspace."
          },
          "from_run": {
            "anyOf": [
              {
                "format": "uuid",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "The run a `continuation` quote continues.",
            "title": "From Run"
          },
          "grader": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/TraceEvaluatorGrader"
              },
              {
                "type": "null"
              }
            ],
            "description": "What grades a `grade` quote's evidence: a model-judge trace evaluator version."
          },
          "guardrails": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/ClientRunGuardrails"
              },
              {
                "type": "null"
              }
            ]
          },
          "kind": {
            "default": "run",
            "enum": [
              "run",
              "continuation",
              "grade"
            ],
            "title": "Kind",
            "type": "string"
          },
          "limits": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/ClientRunLimits"
              },
              {
                "type": "null"
              }
            ]
          },
          "max_charge_microusd": {
            "anyOf": [
              {
                "pattern": "^[1-9][0-9]{0,15}$",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Max Charge Microusd"
          },
          "model": {
            "anyOf": [
              {
                "discriminator": {
                  "mapping": {
                    "connection": "#/components/schemas/ConnectedModel",
                    "managed": "#/components/schemas/ManagedModel",
                    "training_artifact": "#/components/schemas/TrainingArtifactModel"
                  },
                  "propertyName": "kind"
                },
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/ManagedModel"
                  },
                  {
                    "$ref": "#/components/schemas/ConnectedModel"
                  },
                  {
                    "$ref": "#/components/schemas/TrainingArtifactModel"
                  }
                ]
              },
              {
                "type": "null"
              }
            ],
            "title": "Model"
          },
          "model_budget_microusd": {
            "anyOf": [
              {
                "pattern": "^[1-9][0-9]{0,15}$",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "Aggregate managed-model spending ceiling for a remote provider run. The overall quote cap separately covers provider and service charges.",
            "title": "Model Budget Microusd"
          },
          "output_format": {
            "anyOf": [
              {
                "enum": [
                  "default",
                  "leaderboard",
                  "prompt_json",
                  "native_json",
                  "json_schema"
                ],
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Output Format"
          },
          "reasoning_budget_tokens": {
            "anyOf": [
              {
                "maximum": 1000000.0,
                "minimum": 1.0,
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "description": "Thinking budget in tokens for a route whose reasoning control is a budget. Omit for the route's default. Must be within the route's bounds and below each benchmark's output allowance. Cannot be combined with reasoning_effort.",
            "title": "Reasoning Budget Tokens"
          },
          "reasoning_effort": {
            "anyOf": [
              {
                "enum": [
                  "none",
                  "low",
                  "medium",
                  "high",
                  "xhigh",
                  "max"
                ],
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "Reasoning effort for this quote. Omit for the model route's default. Refused before any charge when the route cannot run it. The frozen plan and every result record the choice.",
            "title": "Reasoning Effort"
          },
          "selection": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Profiles"
              },
              {
                "$ref": "#/components/schemas/Suite"
              },
              {
                "$ref": "#/components/schemas/EnvironmentSelection"
              },
              {
                "$ref": "#/components/schemas/EvalReference"
              },
              {
                "type": "null"
              }
            ],
            "description": "What to run. Required unless `kind` is `continuation`.",
            "title": "Selection"
          },
          "standard": {
            "anyOf": [
              {
                "pattern": "^[a-z0-9][a-z0-9-]{0,62}$",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Standard"
          },
          "subjects": {
            "anyOf": [
              {
                "items": {
                  "$ref": "#/components/schemas/Subject"
                },
                "maxItems": 8,
                "minItems": 2,
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "description": "Two to eight distinct models run on the same tasks in one run, under one spending cap (or the wallet). Use instead of `model`. The quote's reasoning settings apply to every subject that names no `reasoning_effort` of its own. No subject is a reference: `GET /v1/runs/{run_id}/comparison` ranks them.",
            "title": "Subjects"
          },
          "trace": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/ClientTracePolicy"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "title": "NewQuote",
        "type": "object"
      },
      "ClientRunGuardrails": {
        "additionalProperties": false,
        "description": "Opt-in spend guardrails (`client_run_guardrails`).\n\nEach is enforced by the platform at attempt claim, from the frozen plan.\nStopping uses the run's normal cancellation: only work that ran is charged.",
        "properties": {
          "early_stop": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/EarlyStop"
              },
              {
                "type": "null"
              }
            ]
          },
          "max_consecutive_agent_failures": {
            "anyOf": [
              {
                "maximum": 1000.0,
                "minimum": 1.0,
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Max Consecutive Agent Failures"
          }
        },
        "title": "ClientRunGuardrails",
        "type": "object"
      },
      "ClientRunLimits": {
        "additionalProperties": false,
        "description": "Per-attempt limits frozen in the quote. They set the quote's upper estimate.\n\nA limit left out takes the benchmark's standard configuration\n(`benchmark_standards`). One set to anything else makes the run custom,\nand the quote says so. The defaults here apply only where no standard\nstates the limit.",
        "properties": {
          "attempt_seconds": {
            "default": 1800,
            "maximum": 43200.0,
            "minimum": 60.0,
            "title": "Attempt Seconds",
            "type": "integer"
          },
          "idle_seconds": {
            "anyOf": [
              {
                "maximum": 43200.0,
                "minimum": 60.0,
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Idle Seconds"
          },
          "max_calls": {
            "default": 64,
            "maximum": 4096.0,
            "minimum": 1.0,
            "title": "Max Calls",
            "type": "integer"
          },
          "max_cost_microusd": {
            "anyOf": [
              {
                "maximum": 1000000000000.0,
                "minimum": 1.0,
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Max Cost Microusd"
          },
          "max_input_bytes": {
            "default": 240000,
            "maximum": 240000.0,
            "minimum": 1.0,
            "title": "Max Input Bytes",
            "type": "integer"
          },
          "max_output_tokens": {
            "default": 8192,
            "maximum": 32768.0,
            "minimum": 1.0,
            "title": "Max Output Tokens",
            "type": "integer"
          },
          "request_seconds": {
            "default": 120,
            "maximum": 1800.0,
            "minimum": 1.0,
            "title": "Request Seconds",
            "type": "integer"
          }
        },
        "title": "ClientRunLimits",
        "type": "object"
      },
      "ClientTracePolicy": {
        "additionalProperties": false,
        "description": "`NewQuote.trace` (agent quotes): what the run's client trace records.\n\n`level`: `off` (no client-reported steps), `metadata` (the agent span with\nits counts, checkpoints, test and command results), `spans` (the default:\nthe agent -> model turn -> tool call tree, metadata only) or `content`\n(spans plus redacted, bounded content. Also needs the platform setting).\n`include` narrows the kinds recorded: `model_turns` and `tool_calls` are\nspans, `command_output` is command results (and execute-tool output with\ncontent), `file_diffs` and `agent_messages` are content only. The platform\nmaximum is `spans` unless content capture is enabled. A higher level is\nrefused at quote (422 `client_trace_level_unavailable`). Custom redaction\npatterns never leave the customer's machine, so they are not part of it.",
        "properties": {
          "include": {
            "items": {
              "enum": [
                "model_turns",
                "tool_calls",
                "command_output",
                "file_diffs",
                "agent_messages"
              ],
              "type": "string"
            },
            "maxItems": 5,
            "title": "Include",
            "type": "array"
          },
          "level": {
            "default": "spans",
            "enum": [
              "off",
              "metadata",
              "spans",
              "content"
            ],
            "title": "Level",
            "type": "string"
          }
        },
        "title": "ClientTracePolicy",
        "type": "object"
      },
      "ConnectedModel": {
        "additionalProperties": false,
        "properties": {
          "connection_id": {
            "format": "uuid",
            "title": "Connection Id",
            "type": "string"
          },
          "kind": {
            "const": "connection",
            "title": "Kind",
            "type": "string"
          }
        },
        "required": [
          "kind",
          "connection_id"
        ],
        "title": "ConnectedModel",
        "type": "object"
      },
      "ContinuationOptions": {
        "additionalProperties": false,
        "description": "`NewQuote.continuation`: the rarely needed choices of a continuation quote.",
        "properties": {
          "include_owner_stops": {
            "default": false,
            "description": "Also rerun cells stopped by cancellation or the run time limit.",
            "title": "Include Owner Stops",
            "type": "boolean"
          },
          "unknown_retry": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/UnknownRetryConsent"
              },
              {
                "type": "null"
              }
            ],
            "description": "Consent to new paid attempts of eligible unknown-outcome tasks, restricted to unknown_retry_origins when supplied. Omitted: such tasks are never attempted."
          },
          "unknown_retry_origins": {
            "anyOf": [
              {
                "items": {
                  "$ref": "#/components/schemas/UnknownRetryOrigin"
                },
                "maxItems": 5324,
                "minItems": 1,
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "description": "Optional exact origins to include in unknown_retry. Requires unknown_retry. Every selected origin must be eligible in this run's current lineage. Other eligible unknown cells stay deferred. Other cells retain ordinary handling. Omitted: all eligible unknown cells are included, within max_cells. Does not filter ordinary safe reruns or saved-response grading.",
            "title": "Unknown Retry Origins"
          }
        },
        "title": "ContinuationOptions",
        "type": "object"
      },
      "EarlyStop": {
        "additionalProperties": false,
        "description": "Stop once the paired comparison with this finalized result is conclusive.",
        "properties": {
          "baseline_result_id": {
            "format": "uuid",
            "title": "Baseline Result Id",
            "type": "string"
          }
        },
        "required": [
          "baseline_result_id"
        ],
        "title": "EarlyStop",
        "type": "object"
      },
      "EnvironmentSelection": {
        "additionalProperties": false,
        "properties": {
          "environment": {
            "pattern": "^[a-z0-9][a-z0-9_./-]{0,119}@[a-zA-Z0-9_.-]{1,80}$",
            "title": "Environment",
            "type": "string"
          },
          "split": {
            "default": "test",
            "enum": [
              "canonical",
              "train",
              "development",
              "test"
            ],
            "title": "Split",
            "type": "string"
          }
        },
        "required": [
          "environment"
        ],
        "title": "EnvironmentSelection",
        "type": "object"
      },
      "EvalReference": {
        "additionalProperties": false,
        "description": "Select by universal reference. The router decides which provider executes it.",
        "properties": {
          "eval": {
            "maxLength": 300,
            "minLength": 3,
            "title": "Eval",
            "type": "string"
          },
          "provider": {
            "anyOf": [
              {
                "pattern": "^[a-z0-9][a-z0-9-]{0,39}$",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Provider"
          },
          "split": {
            "anyOf": [
              {
                "enum": [
                  "canonical",
                  "train",
                  "development",
                  "test"
                ],
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Split"
          }
        },
        "required": [
          "eval"
        ],
        "title": "EvalReference",
        "type": "object"
      },
      "FullCoverage": {
        "additionalProperties": false,
        "properties": {
          "mode": {
            "const": "full",
            "title": "Mode",
            "type": "string"
          }
        },
        "required": [
          "mode"
        ],
        "title": "FullCoverage",
        "type": "object"
      },
      "HostedAgent": {
        "additionalProperties": false,
        "description": "A registry agent EvalRouter builds and runs (`hosted@2`).\n\nThe artifact is EvalRouter's own build of the pinned entry, resolved server-side\nfrom the stored snapshot, so the customer sends no artifact hash.",
        "properties": {
          "id": {
            "pattern": "^[a-z0-9][a-z0-9._-]{0,99}$",
            "title": "Id",
            "type": "string"
          },
          "kind": {
            "const": "hosted",
            "title": "Kind",
            "type": "string"
          },
          "snapshot_sha256": {
            "pattern": "^[a-f0-9]{64}$",
            "title": "Snapshot Sha256",
            "type": "string"
          },
          "version": {
            "pattern": "^[A-Za-z0-9][A-Za-z0-9.+_-]{0,63}$",
            "title": "Version",
            "type": "string"
          }
        },
        "required": [
          "kind",
          "id",
          "version",
          "snapshot_sha256"
        ],
        "title": "HostedAgent",
        "type": "object"
      },
      "LocalAgent": {
        "additionalProperties": false,
        "description": "A customer ACP command. EvalRouter records, never verifies or executes, it.\n\n`command_digest` is `local_command_digest(argv, executable_sha256)`. Argv and\nenvironment never leave the customer's machine.",
        "properties": {
          "command_digest": {
            "pattern": "^[a-f0-9]{64}$",
            "title": "Command Digest",
            "type": "string"
          },
          "declared_name": {
            "pattern": "^[A-Za-z0-9][A-Za-z0-9 ._@/+-]{0,79}$",
            "title": "Declared Name",
            "type": "string"
          },
          "kind": {
            "const": "local",
            "title": "Kind",
            "type": "string"
          }
        },
        "required": [
          "kind",
          "command_digest",
          "declared_name"
        ],
        "title": "LocalAgent",
        "type": "object"
      },
      "ManagedModel": {
        "additionalProperties": false,
        "properties": {
          "kind": {
            "const": "managed",
            "title": "Kind",
            "type": "string"
          },
          "route_id": {
            "maxLength": 200,
            "minLength": 1,
            "title": "Route Id",
            "type": "string"
          }
        },
        "required": [
          "kind",
          "route_id"
        ],
        "title": "ManagedModel",
        "type": "object"
      },
      "NewRun": {
        "additionalProperties": false,
        "properties": {
          "max_charge_microusd": {
            "anyOf": [
              {
                "pattern": "^[1-9][0-9]{0,15}$",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Max Charge Microusd"
          },
          "metadata": {
            "additionalProperties": {
              "type": "string"
            },
            "maxProperties": 20,
            "title": "Metadata",
            "type": "object"
          },
          "name": {
            "default": "Evaluation",
            "maxLength": 120,
            "minLength": 1,
            "title": "Name",
            "type": "string"
          },
          "quote_id": {
            "format": "uuid",
            "title": "Quote Id",
            "type": "string"
          },
          "unknown_retry_consent_sha256": {
            "anyOf": [
              {
                "pattern": "^[0-9a-f]{64}$",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "Required when a continuation quote attempts unknown-outcome tasks: its `continuation.unknown_retry.consent_sha256`.",
            "title": "Unknown Retry Consent Sha256"
          }
        },
        "required": [
          "quote_id"
        ],
        "title": "NewRun",
        "type": "object"
      },
      "NewTuneSession": {
        "additionalProperties": false,
        "properties": {
          "agent": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/TuneAgent"
              },
              {
                "type": "null"
              }
            ]
          },
          "call_site": {
            "anyOf": [
              {
                "pattern": "^[^:\\n]{1,500}:[1-9][0-9]{0,6}$",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Call Site"
          },
          "max_draft_microusd": {
            "anyOf": [
              {
                "pattern": "^[1-9][0-9]{0,8}$",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Max Draft Microusd"
          },
          "mode": {
            "default": "model",
            "enum": [
              "model",
              "agent"
            ],
            "title": "Mode",
            "type": "string"
          },
          "nomination_only": {
            "default": false,
            "title": "Nomination Only",
            "type": "boolean"
          },
          "objective": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/TuneObjective"
              },
              {
                "type": "null"
              }
            ]
          },
          "release_binding": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/TuneReleaseBinding"
              },
              {
                "type": "null"
              }
            ]
          },
          "rights": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/TuneRights"
              },
              {
                "type": "null"
              }
            ]
          },
          "search": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/TuneSearch"
              },
              {
                "type": "null"
              }
            ]
          },
          "source": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/ImprovementSourceSelection"
              },
              {
                "type": "null"
              }
            ]
          },
          "workload": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/TuneWorkload"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "title": "NewTuneSession",
        "type": "object"
      },
      "ImprovementSourceSelection": {
        "additionalProperties": false,
        "properties": {
          "github_connection_id": {
            "format": "uuid",
            "title": "Github Connection Id",
            "type": "string"
          },
          "github_repository_id": {
            "exclusiveMaximum": 9.223372036854776e+18,
            "exclusiveMinimum": 0.0,
            "title": "Github Repository Id",
            "type": "integer"
          },
          "ref": {
            "anyOf": [
              {
                "maxLength": 200,
                "minLength": 1,
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Ref"
          },
          "repository_url": {
            "maxLength": 300,
            "pattern": "^https://github\\.com/[A-Za-z0-9_.-]+/[A-Za-z0-9_.-]+$",
            "title": "Repository Url",
            "type": "string"
          }
        },
        "required": [
          "github_connection_id",
          "github_repository_id",
          "repository_url"
        ],
        "title": "ImprovementSourceSelection",
        "type": "object"
      },
      "OAuth2ClientCredentials": {
        "additionalProperties": false,
        "description": "OAuth 2.0 client credentials (RFC 6749 §4.4): EvalRouter fetches a token at\n`token_url` with HTTP basic client authentication and sends it as a bearer token.",
        "properties": {
          "audience": {
            "anyOf": [
              {
                "maxLength": 1000,
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Audience"
          },
          "client_id": {
            "maxLength": 500,
            "minLength": 1,
            "title": "Client Id",
            "type": "string"
          },
          "client_secret": {
            "format": "password",
            "title": "Client Secret",
            "type": "string",
            "writeOnly": true
          },
          "kind": {
            "const": "oauth2_client_credentials",
            "title": "Kind",
            "type": "string"
          },
          "scope": {
            "anyOf": [
              {
                "maxLength": 1000,
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Scope"
          },
          "token_url": {
            "maxLength": 2000,
            "pattern": "^https?://[^\\s@#\\\\]+$",
            "title": "Token Url",
            "type": "string"
          }
        },
        "required": [
          "kind",
          "token_url",
          "client_id",
          "client_secret"
        ],
        "title": "OAuth2ClientCredentials",
        "type": "object"
      },
      "OKResponse": {
        "additionalProperties": false,
        "properties": {
          "ok": {
            "title": "Ok",
            "type": "boolean"
          }
        },
        "required": [
          "ok"
        ],
        "title": "OKResponse",
        "type": "object"
      },
      "OccurrenceAccepted": {
        "additionalProperties": false,
        "properties": {
          "id": {
            "format": "uuid",
            "title": "Id",
            "type": "string"
          },
          "status": {
            "title": "Status",
            "type": "string"
          }
        },
        "required": [
          "id",
          "status"
        ],
        "title": "OccurrenceAccepted",
        "type": "object"
      },
      "OccurrenceView": {
        "additionalProperties": false,
        "properties": {
          "calibration_sha256": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Calibration Sha256"
          },
          "calibration_version_id": {
            "anyOf": [
              {
                "format": "uuid",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Calibration Version Id"
          },
          "completed_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Completed At"
          },
          "created_at": {
            "format": "date-time",
            "title": "Created At",
            "type": "string"
          },
          "dataset_manifest_sha256": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Dataset Manifest Sha256"
          },
          "dataset_version_id": {
            "anyOf": [
              {
                "format": "uuid",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Dataset Version Id"
          },
          "environment_id": {
            "anyOf": [
              {
                "format": "uuid",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Environment Id"
          },
          "environment_manifest_sha256": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Environment Manifest Sha256"
          },
          "environment_ref": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Environment Ref"
          },
          "environment_split": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Environment Split"
          },
          "external_event_id": {
            "title": "External Event Id",
            "type": "string"
          },
          "id": {
            "format": "uuid",
            "title": "Id",
            "type": "string"
          },
          "integration": {
            "title": "Integration",
            "type": "string"
          },
          "job_id": {
            "anyOf": [
              {
                "format": "uuid",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Job Id"
          },
          "monitor_id": {
            "format": "uuid",
            "title": "Monitor Id",
            "type": "string"
          },
          "native_runs": {
            "anyOf": [
              {
                "items": {
                  "additionalProperties": true,
                  "type": "object"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "title": "Native Runs"
          },
          "reason": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Reason"
          },
          "reserved_microusd": {
            "title": "Reserved Microusd",
            "type": "string"
          },
          "result": {
            "anyOf": [
              {
                "additionalProperties": true,
                "type": "object"
              },
              {
                "type": "null"
              }
            ],
            "title": "Result"
          },
          "spent_microusd": {
            "title": "Spent Microusd",
            "type": "string"
          },
          "status": {
            "title": "Status",
            "type": "string"
          },
          "trigger_kind": {
            "title": "Trigger Kind",
            "type": "string"
          }
        },
        "required": [
          "id",
          "monitor_id",
          "trigger_kind",
          "integration",
          "external_event_id",
          "dataset_version_id",
          "dataset_manifest_sha256",
          "calibration_version_id",
          "calibration_sha256",
          "environment_ref",
          "environment_manifest_sha256",
          "environment_id",
          "environment_split",
          "native_runs",
          "status",
          "reason",
          "job_id",
          "reserved_microusd",
          "spent_microusd",
          "result",
          "created_at",
          "completed_at"
        ],
        "title": "OccurrenceView",
        "type": "object"
      },
      "Page_BenchmarkRecord_": {
        "additionalProperties": false,
        "properties": {
          "data": {
            "items": {
              "$ref": "#/components/schemas/BenchmarkRecord"
            },
            "title": "Data",
            "type": "array"
          },
          "next_cursor": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Next Cursor"
          }
        },
        "required": [
          "data",
          "next_cursor"
        ],
        "title": "Page[BenchmarkRecord]",
        "type": "object"
      },
      "Page_ConnectionRecord_": {
        "additionalProperties": false,
        "properties": {
          "data": {
            "items": {
              "$ref": "#/components/schemas/ConnectionRecord"
            },
            "title": "Data",
            "type": "array"
          },
          "next_cursor": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Next Cursor"
          }
        },
        "required": [
          "data",
          "next_cursor"
        ],
        "title": "Page[ConnectionRecord]",
        "type": "object"
      },
      "Page_EnvironmentRecord_": {
        "additionalProperties": false,
        "properties": {
          "data": {
            "items": {
              "$ref": "#/components/schemas/EnvironmentRecord"
            },
            "title": "Data",
            "type": "array"
          },
          "next_cursor": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Next Cursor"
          }
        },
        "required": [
          "data",
          "next_cursor"
        ],
        "title": "Page[EnvironmentRecord]",
        "type": "object"
      },
      "Page_EvalRecord_": {
        "additionalProperties": false,
        "properties": {
          "data": {
            "items": {
              "$ref": "#/components/schemas/EvalRecord"
            },
            "title": "Data",
            "type": "array"
          },
          "next_cursor": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Next Cursor"
          }
        },
        "required": [
          "data",
          "next_cursor"
        ],
        "title": "Page[EvalRecord]",
        "type": "object"
      },
      "Page_ManagedRoute_": {
        "additionalProperties": false,
        "properties": {
          "data": {
            "items": {
              "$ref": "#/components/schemas/ManagedRoute"
            },
            "title": "Data",
            "type": "array"
          },
          "next_cursor": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Next Cursor"
          }
        },
        "required": [
          "data",
          "next_cursor"
        ],
        "title": "Page[ManagedRoute]",
        "type": "object"
      },
      "ManagedRoute": {
        "additionalProperties": false,
        "properties": {
          "capabilities": {
            "items": {
              "type": "string"
            },
            "title": "Capabilities",
            "type": "array"
          },
          "display_name": {
            "title": "Display Name",
            "type": "string"
          },
          "generation": {
            "anyOf": [
              {
                "additionalProperties": {
                  "$ref": "#/components/schemas/JsonValue-Output"
                },
                "type": "object"
              },
              {
                "type": "null"
              }
            ],
            "title": "Generation"
          },
          "hosting_provider": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Hosting Provider"
          },
          "id": {
            "title": "Id",
            "type": "string"
          },
          "limits": {
            "anyOf": [
              {
                "additionalProperties": {
                  "$ref": "#/components/schemas/JsonValue-Output"
                },
                "type": "object"
              },
              {
                "type": "null"
              }
            ],
            "title": "Limits"
          },
          "model_id": {
            "title": "Model Id",
            "type": "string"
          },
          "price_version": {
            "title": "Price Version",
            "type": "string"
          },
          "pricing": {
            "additionalProperties": {
              "$ref": "#/components/schemas/JsonValue-Output"
            },
            "description": "Your price for this model route, in micro-USD per million tokens (and per request where one applies), with any EvalRouter margin already included. Route margins, provider cost and provider price sources are internal and never returned.",
            "title": "Pricing",
            "type": "object"
          },
          "provider": {
            "title": "Provider",
            "type": "string"
          },
          "reasoning_options": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/RouteReasoningOptions"
              },
              {
                "type": "null"
              }
            ],
            "description": "The route's reasoning capability, from reviewed metadata only. Always present in catalog listings. Independent of quotes, credits and billing."
          },
          "revision": {
            "title": "Revision",
            "type": "integer"
          },
          "status": {
            "title": "Status",
            "type": "string"
          }
        },
        "required": [
          "id",
          "provider",
          "model_id",
          "display_name",
          "revision",
          "capabilities",
          "price_version",
          "pricing",
          "status"
        ],
        "title": "ManagedRoute",
        "type": "object"
      },
      "Page_RunRecord_": {
        "additionalProperties": false,
        "properties": {
          "data": {
            "items": {
              "$ref": "#/components/schemas/RunRecord"
            },
            "title": "Data",
            "type": "array"
          },
          "next_cursor": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Next Cursor"
          }
        },
        "required": [
          "data",
          "next_cursor"
        ],
        "title": "Page[RunRecord]",
        "type": "object"
      },
      "Profiles": {
        "additionalProperties": false,
        "properties": {
          "profile_ids": {
            "items": {
              "type": "string"
            },
            "maxItems": 50,
            "minItems": 1,
            "title": "Profile Ids",
            "type": "array"
          }
        },
        "required": [
          "profile_ids"
        ],
        "title": "Profiles",
        "type": "object"
      },
      "ProjectDiscoveryInput": {
        "additionalProperties": false,
        "properties": {
          "api_key": {
            "maxLength": 4096,
            "minLength": 1,
            "title": "Api Key",
            "type": "string"
          },
          "project_name": {
            "anyOf": [
              {
                "maxLength": 200,
                "minLength": 1,
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Project Name"
          },
          "region": {
            "default": "us",
            "enum": [
              "us",
              "eu"
            ],
            "title": "Region",
            "type": "string"
          }
        },
        "required": [
          "api_key"
        ],
        "title": "ProjectDiscoveryInput",
        "type": "object"
      },
      "QueueWorkload": {
        "additionalProperties": false,
        "properties": {
          "calibration_version_id": {
            "anyOf": [
              {
                "format": "uuid",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Calibration Version Id"
          },
          "dataset_version_id": {
            "anyOf": [
              {
                "format": "uuid",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Dataset Version Id"
          }
        },
        "title": "QueueWorkload",
        "type": "object"
      },
      "QuoteRecord": {
        "additionalProperties": false,
        "properties": {
          "continuation": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/ContinuationSummary"
              },
              {
                "type": "null"
              }
            ],
            "description": "A continuation quote's cells: what is reused, rerun or left out. Its estimate and cap cover only the rerun cells."
          },
          "cost_estimate": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/EvaluationCostEstimate"
              },
              {
                "type": "null"
              }
            ],
            "description": "EvalRouter cost estimate with its source and limitations. This is not a spending limit or guarantee."
          },
          "created_at": {
            "format": "date-time",
            "title": "Created At",
            "type": "string"
          },
          "estimated_charge_microusd": {
            "description": "Deprecated name of worst_case_charge_microusd, kept for compatibility: the conservative upper estimate for the selected workload with every call at its maximum allowed usage. This is not expected spend, and it is an estimate, not a bound: calls already running when a limit is reached are charged. Omitted while the service does not publish cost forecasts (the default).",
            "pattern": "^[0-9]+$",
            "title": "Estimated Charge Microusd",
            "type": "string"
          },
          "expected_charge_microusd": {
            "anyOf": [
              {
                "pattern": "^[0-9]+$",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "Legacy estimate formed from per-call mean usage and fixed fees. It may differ materially from the final charge. Omitted while the service does not publish legacy cost forecasts (the default).",
            "title": "Expected Charge Microusd"
          },
          "expected_range": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/ExpectedRange"
              },
              {
                "type": "null"
              }
            ],
            "description": "Legacy per-call percentile scenarios, not a final-bill confidence range. Omitted while the service does not publish legacy cost forecasts (the default)."
          },
          "expires_at": {
            "format": "date-time",
            "title": "Expires At",
            "type": "string"
          },
          "id": {
            "format": "uuid",
            "title": "Id",
            "type": "string"
          },
          "max_charge_microusd": {
            "anyOf": [
              {
                "pattern": "^[0-9]+$",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "The spending cap: new work stops when the cap or the workspace balance cannot fund the next call; calls already running finish and are charged. Omitted for a wallet-funded quote.",
            "title": "Max Charge Microusd"
          },
          "plan": {
            "$ref": "#/components/schemas/QuotePlan"
          },
          "price_version": {
            "title": "Price Version",
            "type": "string"
          },
          "reasoning_budget_options": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/ReasoningBudgetOptions"
              },
              {
                "type": "null"
              }
            ],
            "description": "Thinking budgets a new quote on this model route may request with reasoning_budget_tokens, and the one this plan runs. Present only for routes with a manual thinking budget."
          },
          "reasoning_options": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/ReasoningOptions"
              },
              {
                "type": "null"
              }
            ],
            "description": "Reasoning efforts a new quote on this model route may request with reasoning_effort, and the one this plan runs. Absent for models without a selectable reasoning setting."
          },
          "retention": {
            "$ref": "#/components/schemas/RetentionPolicy"
          },
          "worst_case_charge_microusd": {
            "anyOf": [
              {
                "pattern": "^[0-9]+$",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "Conservative upper estimate with every call at its maximum allowed usage (the same amount as estimated_charge_microusd): an estimate, not a bound, since calls already running when a limit is reached are charged. Omitted while the service does not publish cost forecasts (the default).",
            "title": "Worst Case Charge Microusd"
          }
        },
        "required": [
          "id",
          "created_at",
          "expires_at",
          "plan",
          "price_version",
          "retention"
        ],
        "title": "QuoteRecord",
        "type": "object"
      },
      "ContinuationSummary": {
        "additionalProperties": false,
        "properties": {
          "deferred_cells": {
            "default": 0,
            "description": "Unresolved cells left uncalled now, preserving their origin for later safe recovery. A charge waiver alone never permits a retry.",
            "minimum": 0.0,
            "title": "Deferred Cells",
            "type": "integer"
          },
          "not_included": {
            "$ref": "#/components/schemas/ContinuationNotIncluded"
          },
          "reasons": {
            "additionalProperties": {
              "type": "integer"
            },
            "description": "Cell counts by `disposition:reason`.",
            "title": "Reasons",
            "type": "object"
          },
          "rerun_cells": {
            "description": "Cells priced and charged normally from available wallet credit. Zero only when the quote grades saved responses alone.",
            "minimum": 0.0,
            "title": "Rerun Cells",
            "type": "integer"
          },
          "reuse_expires_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "When your workspace's evidence retention rule deletes the earliest evidence this continuation reuses. Omitted when no rule applies: reuse lasts until that evidence is deleted.",
            "title": "Reuse Expires At"
          },
          "reused_cells": {
            "description": "Graded source cells imported with no inference, fee or charge.",
            "minimum": 0.0,
            "title": "Reused Cells",
            "type": "integer"
          },
          "saved_response_cells": {
            "default": 0,
            "description": "Failed cells whose stored original answer is graded at no charge, with no new request.",
            "minimum": 0.0,
            "title": "Saved Response Cells",
            "type": "integer"
          },
          "source_run_id": {
            "format": "uuid",
            "title": "Source Run Id",
            "type": "string"
          },
          "unknown_retry": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/UnknownRetrySummary"
              },
              {
                "type": "null"
              }
            ],
            "description": "Tasks whose earlier provider outcome is unknown. Omitted when there are none."
          },
          "unknown_retry_origins": {
            "anyOf": [
              {
                "items": {
                  "$ref": "#/components/schemas/UnknownRetryOrigin"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "description": "Exact selected origins frozen by a single-run quote, when requested. The consent digest binds exactly these new attempts. Other eligible unknown cells remain deferred. Does not filter ordinary safe reruns or saved-response grading.",
            "title": "Unknown Retry Origins"
          },
          "version": {
            "const": 1,
            "title": "Version",
            "type": "integer"
          }
        },
        "required": [
          "version",
          "source_run_id",
          "reused_cells",
          "rerun_cells",
          "not_included",
          "reasons"
        ],
        "title": "ContinuationSummary",
        "type": "object"
      },
      "ContinuationNotIncluded": {
        "additionalProperties": false,
        "description": "Cells not executed by this quote. Only the explicit deferred_cells subset\nretains origin provenance for a future, newly quoted safe recovery.",
        "properties": {
          "refused": {
            "description": "Cells that can be neither reused nor rerun, left out permanently.",
            "minimum": 0.0,
            "title": "Refused",
            "type": "integer"
          },
          "waiting_reconciliation": {
            "description": "Unresolved cells not executed now. The summary's deferred_cells subset preserves origin provenance. Legacy quotes without it exclude these permanently.",
            "minimum": 0.0,
            "title": "Waiting Reconciliation",
            "type": "integer"
          }
        },
        "required": [
          "waiting_reconciliation",
          "refused"
        ],
        "title": "ContinuationNotIncluded",
        "type": "object"
      },
      "EvaluationCostEstimate": {
        "additionalProperties": false,
        "description": "Customer estimate with its source and limitations.",
        "properties": {
          "amount_microusd": {
            "anyOf": [
              {
                "pattern": "^[0-9]+$",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Amount Microusd"
          },
          "exclusions": {
            "items": {
              "type": "string"
            },
            "title": "Exclusions",
            "type": "array"
          },
          "note": {
            "title": "Note",
            "type": "string"
          },
          "observed_calls": {
            "minimum": 0.0,
            "title": "Observed Calls",
            "type": "integer"
          },
          "scope": {
            "anyOf": [
              {
                "enum": [
                  "route",
                  "model"
                ],
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Scope"
          },
          "source": {
            "enum": [
              "measured",
              "planned",
              "exact",
              "unavailable",
              "mixed"
            ],
            "title": "Source",
            "type": "string"
          }
        },
        "required": [
          "source",
          "observed_calls",
          "note"
        ],
        "title": "EvaluationCostEstimate",
        "type": "object"
      },
      "ExpectedRange": {
        "additionalProperties": false,
        "properties": {
          "basis": {
            "description": "Legacy estimate basis. Sources may be measured, planned, heuristic, worst_case, exact or mixed. These labels describe input assumptions, not accuracy or confidence.",
            "enum": [
              "measured",
              "planned",
              "heuristic",
              "worst_case",
              "exact",
              "mixed"
            ],
            "title": "Basis",
            "type": "string"
          },
          "p50_microusd": {
            "description": "Legacy scenario total formed by pricing every call at its per-call median usage. This is not a run-level percentile or confidence interval.",
            "pattern": "^[0-9]+$",
            "title": "P50 Microusd",
            "type": "string"
          },
          "p90_microusd": {
            "description": "Legacy scenario total formed by pricing every call at its per-call 90th-percentile usage. This is not a run-level percentile or confidence interval.",
            "pattern": "^[0-9]+$",
            "title": "P90 Microusd",
            "type": "string"
          }
        },
        "required": [
          "p50_microusd",
          "p90_microusd",
          "basis"
        ],
        "title": "ExpectedRange",
        "type": "object"
      },
      "QuotePlan": {
        "additionalProperties": false,
        "properties": {
          "agent": {
            "anyOf": [
              {
                "additionalProperties": {
                  "$ref": "#/components/schemas/JsonValue-Output"
                },
                "type": "object"
              },
              {
                "type": "null"
              }
            ],
            "title": "Agent"
          },
          "agents": {
            "anyOf": [
              {
                "items": {
                  "additionalProperties": {
                    "$ref": "#/components/schemas/JsonValue-Output"
                  },
                  "type": "object"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "title": "Agents"
          },
          "client_run": {
            "anyOf": [
              {
                "additionalProperties": {
                  "$ref": "#/components/schemas/JsonValue-Output"
                },
                "type": "object"
              },
              {
                "type": "null"
              }
            ],
            "title": "Client Run"
          },
          "concurrency": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/ConcurrencyPlan"
              },
              {
                "type": "null"
              }
            ]
          },
          "configuration": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/RunConfiguration"
              },
              {
                "type": "null"
              }
            ]
          },
          "coverage": {
            "$ref": "#/components/schemas/CoverageRecord"
          },
          "execution_mode": {
            "anyOf": [
              {
                "const": "client_run",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Execution Mode"
          },
          "funding_policy": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/RunFundingPolicy"
              },
              {
                "type": "null"
              }
            ]
          },
          "kind": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "`grade` for a plan that grades evidence produced outside EvalRouter; absent for a run plan.",
            "title": "Kind"
          },
          "model": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/SelectedModel"
              },
              {
                "$ref": "#/components/schemas/ComparisonModel"
              }
            ],
            "title": "Model"
          },
          "pricing": {
            "additionalProperties": {
              "$ref": "#/components/schemas/JsonValue-Output"
            },
            "description": "The plan's frozen prices and terms. `hold_policy` is `per_turn_lease_v1` on new quotes: nothing is held per call, and each running task sets aside a little credit (`lease_microusd`) and is charged its actual usage. `minimum_cap_microusd` is the smallest cap that starts one task: any frozen fee floor, one sample's fixed fees and the first credit set aside. `hold_call_microusd` is deprecated and always `0`; per-call bounds such as `gateway_call_bound_microusd` are information, not set aside.",
            "title": "Pricing",
            "type": "object"
          },
          "profiles": {
            "items": {
              "$ref": "#/components/schemas/ProfileSelection"
            },
            "title": "Profiles",
            "type": "array"
          },
          "recommendation": {
            "anyOf": [
              {
                "additionalProperties": {
                  "$ref": "#/components/schemas/JsonValue-Output"
                },
                "type": "object"
              },
              {
                "type": "null"
              }
            ],
            "title": "Recommendation"
          },
          "route": {
            "anyOf": [
              {
                "additionalProperties": {
                  "$ref": "#/components/schemas/JsonValue-Output"
                },
                "type": "object"
              },
              {
                "type": "null"
              }
            ],
            "title": "Route"
          },
          "schema_version": {
            "enum": [
              1,
              2,
              3,
              4
            ],
            "title": "Schema Version",
            "type": "integer"
          },
          "selection_source": {
            "additionalProperties": {
              "$ref": "#/components/schemas/JsonValue-Output"
            },
            "title": "Selection Source",
            "type": "object"
          },
          "task_protocol": {
            "anyOf": [
              {
                "additionalProperties": {
                  "$ref": "#/components/schemas/JsonValue-Output"
                },
                "type": "object"
              },
              {
                "type": "null"
              }
            ],
            "description": "The frozen task protocol receipt's public projection (`PublicReceipt` in contracts/task-protocol.schema.json): `public`, `public_sha256` and `receipt_sha256`, never its hidden partition. Present on task protocol v2 runs and quotes.",
            "title": "Task Protocol"
          },
          "total_tasks": {
            "title": "Total Tasks",
            "type": "integer"
          },
          "warnings": {
            "items": {
              "type": "string"
            },
            "title": "Warnings",
            "type": "array"
          }
        },
        "required": [
          "schema_version",
          "selection_source",
          "model",
          "profiles",
          "coverage",
          "total_tasks",
          "pricing",
          "warnings"
        ],
        "title": "QuotePlan",
        "type": "object"
      },
      "ComparisonModel": {
        "additionalProperties": false,
        "properties": {
          "kind": {
            "const": "comparison",
            "title": "Kind",
            "type": "string"
          },
          "model_id": {
            "title": "Model Id",
            "type": "string"
          },
          "models": {
            "items": {
              "$ref": "#/components/schemas/SelectedModel"
            },
            "title": "Models",
            "type": "array"
          }
        },
        "required": [
          "kind",
          "model_id",
          "models"
        ],
        "title": "ComparisonModel",
        "type": "object"
      },
      "ConcurrencyPlan": {
        "additionalProperties": false,
        "properties": {
          "admitted_ceiling": {
            "maximum": 100.0,
            "minimum": 1.0,
            "title": "Admitted Ceiling",
            "type": "integer"
          },
          "profiles": {
            "items": {
              "$ref": "#/components/schemas/ProfileConcurrency"
            },
            "title": "Profiles",
            "type": "array"
          },
          "requested": {
            "anyOf": [
              {
                "enum": [
                  "auto",
                  "max"
                ],
                "type": "string"
              },
              {
                "maximum": 100.0,
                "minimum": 1.0,
                "type": "integer"
              }
            ],
            "title": "Requested"
          },
          "scope": {
            "const": "run_inference",
            "title": "Scope",
            "type": "string"
          }
        },
        "required": [
          "requested",
          "scope",
          "admitted_ceiling",
          "profiles"
        ],
        "title": "ConcurrencyPlan",
        "type": "object"
      },
      "CoverageRecord": {
        "additionalProperties": false,
        "properties": {
          "mode": {
            "enum": [
              "sample",
              "full",
              "tasks"
            ],
            "title": "Mode",
            "type": "string"
          },
          "sample_count": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Sample Count"
          },
          "seed": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Seed"
          },
          "task_ids": {
            "anyOf": [
              {
                "items": {
                  "type": "string"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "title": "Task Ids"
          }
        },
        "required": [
          "mode"
        ],
        "title": "CoverageRecord",
        "type": "object"
      },
      "ProfileConcurrency": {
        "additionalProperties": false,
        "properties": {
          "adapter_ceiling": {
            "maximum": 100.0,
            "minimum": 1.0,
            "title": "Adapter Ceiling",
            "type": "integer"
          },
          "admitted_ceiling": {
            "maximum": 100.0,
            "minimum": 1.0,
            "title": "Admitted Ceiling",
            "type": "integer"
          },
          "profile_id": {
            "title": "Profile Id",
            "type": "string"
          },
          "reasons": {
            "items": {
              "enum": [
                "auto_heuristic",
                "auto_throughput",
                "adapter_limit",
                "gateway_limit",
                "task_count",
                "budget_limit"
              ],
              "type": "string"
            },
            "title": "Reasons",
            "type": "array"
          }
        },
        "required": [
          "profile_id",
          "admitted_ceiling",
          "adapter_ceiling",
          "reasons"
        ],
        "title": "ProfileConcurrency",
        "type": "object"
      },
      "ProfileSelection": {
        "additionalProperties": false,
        "properties": {
          "admission": {
            "anyOf": [
              {
                "additionalProperties": {
                  "$ref": "#/components/schemas/JsonValue-Output"
                },
                "type": "object"
              },
              {
                "type": "null"
              }
            ],
            "title": "Admission"
          },
          "attempts_per_task": {
            "default": 1,
            "maximum": 100.0,
            "minimum": 1.0,
            "title": "Attempts Per Task",
            "type": "integer"
          },
          "dataset_assets_sha256": {
            "title": "Dataset Assets Sha256",
            "type": "string"
          },
          "environment": {
            "anyOf": [
              {
                "additionalProperties": {
                  "$ref": "#/components/schemas/JsonValue-Output"
                },
                "type": "object"
              },
              {
                "type": "null"
              }
            ],
            "title": "Environment"
          },
          "generation_config": {
            "anyOf": [
              {
                "additionalProperties": {
                  "$ref": "#/components/schemas/JsonValue-Output"
                },
                "type": "object"
              },
              {
                "type": "null"
              }
            ],
            "title": "Generation Config"
          },
          "grade": {
            "anyOf": [
              {
                "additionalProperties": {
                  "$ref": "#/components/schemas/JsonValue-Output"
                },
                "type": "object"
              },
              {
                "type": "null"
              }
            ],
            "title": "Grade"
          },
          "granted": {
            "anyOf": [
              {
                "additionalProperties": {
                  "$ref": "#/components/schemas/JsonValue-Output"
                },
                "type": "object"
              },
              {
                "type": "null"
              }
            ],
            "title": "Granted"
          },
          "id": {
            "title": "Id",
            "type": "string"
          },
          "judge": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/JudgeSelection"
              },
              {
                "type": "null"
              }
            ]
          },
          "manifest_sha256": {
            "title": "Manifest Sha256",
            "type": "string"
          },
          "max_output_tokens": {
            "default": 4096,
            "maximum": 32768.0,
            "minimum": 1.0,
            "title": "Max Output Tokens",
            "type": "integer"
          },
          "output_format": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/OutputFormatSelection"
              },
              {
                "type": "null"
              }
            ]
          },
          "population_count": {
            "title": "Population Count",
            "type": "integer"
          },
          "private_test": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ],
            "title": "Private Test"
          },
          "reasoning": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/ReasoningSelection"
              },
              {
                "type": "null"
              }
            ]
          },
          "remote": {
            "anyOf": [
              {
                "additionalProperties": {
                  "$ref": "#/components/schemas/JsonValue-Output"
                },
                "type": "object"
              },
              {
                "type": "null"
              }
            ],
            "title": "Remote"
          },
          "sampling_algorithm": {
            "title": "Sampling Algorithm",
            "type": "string"
          },
          "sandbox": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/SandboxPolicyView"
              },
              {
                "type": "null"
              }
            ]
          },
          "selected_count": {
            "title": "Selected Count",
            "type": "integer"
          },
          "selection_sha256": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Selection Sha256"
          },
          "task_ids": {
            "anyOf": [
              {
                "items": {
                  "type": "string"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "title": "Task Ids"
          },
          "task_ids_hash": {
            "title": "Task Ids Hash",
            "type": "string"
          }
        },
        "required": [
          "id",
          "manifest_sha256",
          "selected_count",
          "population_count",
          "sampling_algorithm",
          "task_ids_hash",
          "dataset_assets_sha256"
        ],
        "title": "ProfileSelection",
        "type": "object"
      },
      "JudgeSelection": {
        "additionalProperties": false,
        "properties": {
          "model": {
            "$ref": "#/components/schemas/SelectedModel"
          },
          "protocol": {
            "additionalProperties": {
              "$ref": "#/components/schemas/JsonValue-Output"
            },
            "title": "Protocol",
            "type": "object"
          }
        },
        "required": [
          "protocol",
          "model"
        ],
        "title": "JudgeSelection",
        "type": "object"
      },
      "OutputFormatSelection": {
        "additionalProperties": false,
        "description": "The output format frozen for one benchmark selection (`output_formats`).\n\n`id` decides the provider request. `adapter` is its frozen implementation.\n`policy` records how the quote chose it. Rankings group by `id` and `adapter`.",
        "properties": {
          "adapter": {
            "title": "Adapter",
            "type": "string"
          },
          "id": {
            "enum": [
              "prompt_json",
              "native_json",
              "json_schema"
            ],
            "title": "Id",
            "type": "string"
          },
          "policy": {
            "enum": [
              "default",
              "leaderboard",
              "explicit"
            ],
            "title": "Policy",
            "type": "string"
          }
        },
        "required": [
          "id",
          "adapter",
          "policy"
        ],
        "title": "OutputFormatSelection",
        "type": "object"
      },
      "ReasoningBudgetOptions": {
        "additionalProperties": false,
        "description": "Thinking budgets a new quote on this route may request, and the one this plan runs.",
        "properties": {
          "default": {
            "title": "Default",
            "type": "integer"
          },
          "max": {
            "title": "Max",
            "type": "integer"
          },
          "min": {
            "title": "Min",
            "type": "integer"
          },
          "selected": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Selected"
          }
        },
        "required": [
          "min",
          "max",
          "default"
        ],
        "title": "ReasoningBudgetOptions",
        "type": "object"
      },
      "ReasoningOptions": {
        "additionalProperties": false,
        "description": "Reasoning efforts a new quote on this route may request (not frozen).\n\nOn a manual thinking-budget route there is no effort: `default_effort` and\n`selected` are null, `supported_efforts` is empty and `selected_budget_tokens`\nis the budget this plan runs.",
        "properties": {
          "default_effort": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Default Effort"
          },
          "selected": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Selected"
          },
          "selected_budget_tokens": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Selected Budget Tokens"
          },
          "supported_efforts": {
            "items": {
              "type": "string"
            },
            "title": "Supported Efforts",
            "type": "array"
          }
        },
        "required": [
          "default_effort",
          "supported_efforts"
        ],
        "title": "ReasoningOptions",
        "type": "object"
      },
      "ReasoningSelection": {
        "additionalProperties": false,
        "description": "The reasoning setting frozen for a provider-default reasoning version (`sob-text@4`).\n\n`effort` is the route's frozen reasoning effort (`source: route`), `none`\nwhen the request disables reasoning (`source: disabled`), or\n`endpoint_default` when the endpoint takes no reasoning control\n(`source: endpoint`). Results and leaderboard entries record it.",
        "properties": {
          "effort": {
            "enum": [
              "none",
              "low",
              "medium",
              "high",
              "xhigh",
              "max",
              "endpoint_default"
            ],
            "title": "Effort",
            "type": "string"
          },
          "source": {
            "enum": [
              "route",
              "disabled",
              "endpoint"
            ],
            "title": "Source",
            "type": "string"
          }
        },
        "required": [
          "effort",
          "source"
        ],
        "title": "ReasoningSelection",
        "type": "object"
      },
      "ReconnectInput": {
        "additionalProperties": false,
        "properties": {
          "api_key": {
            "maxLength": 4096,
            "minLength": 1,
            "title": "Api Key",
            "type": "string"
          },
          "project_id": {
            "maxLength": 128,
            "minLength": 1,
            "title": "Project Id",
            "type": "string"
          },
          "project_name": {
            "maxLength": 200,
            "minLength": 1,
            "title": "Project Name",
            "type": "string"
          },
          "region": {
            "default": "us",
            "enum": [
              "us",
              "eu"
            ],
            "title": "Region",
            "type": "string"
          }
        },
        "required": [
          "api_key",
          "project_id",
          "project_name"
        ],
        "title": "ReconnectInput",
        "type": "object"
      },
      "RegistryAgent": {
        "additionalProperties": false,
        "description": "A stable ACP Registry entry pinned from a snapshot EvalRouter stored.\n\nThe server refuses a snapshot it has not stored, an id/version absent from it,\nand an `artifact_sha256` that differs from a hash the snapshot publishes.\nWithout a published hash the client's observed hash is recorded as\n`unverified_upstream` and the quote needs `accept_unverified_artifact`.",
        "properties": {
          "accept_unverified_artifact": {
            "default": false,
            "title": "Accept Unverified Artifact",
            "type": "boolean"
          },
          "artifact_sha256": {
            "pattern": "^[a-f0-9]{64}$",
            "title": "Artifact Sha256",
            "type": "string"
          },
          "distribution": {
            "enum": [
              "binary",
              "npx",
              "uvx"
            ],
            "title": "Distribution",
            "type": "string"
          },
          "id": {
            "pattern": "^[a-z0-9][a-z0-9._-]{0,99}$",
            "title": "Id",
            "type": "string"
          },
          "kind": {
            "const": "registry",
            "title": "Kind",
            "type": "string"
          },
          "platform": {
            "anyOf": [
              {
                "pattern": "^[a-z0-9]+-[a-z0-9_]+$",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Platform"
          },
          "snapshot_sha256": {
            "pattern": "^[a-f0-9]{64}$",
            "title": "Snapshot Sha256",
            "type": "string"
          },
          "version": {
            "pattern": "^[A-Za-z0-9][A-Za-z0-9.+_-]{0,63}$",
            "title": "Version",
            "type": "string"
          }
        },
        "required": [
          "kind",
          "id",
          "version",
          "snapshot_sha256",
          "distribution",
          "artifact_sha256"
        ],
        "title": "RegistryAgent",
        "type": "object"
      },
      "RemoteAgent": {
        "additionalProperties": false,
        "description": "A remote agent (task protocol v2 `remote_agent@2`): a workspace connection of\nprotocol `a2a` (its URL and auth), plus this run's agent settings. EvalRouter is\nthe controller. The quote checks the agent and freezes its identity\n(`remote_agents.owner.plan`).",
        "properties": {
          "connection_id": {
            "format": "uuid",
            "title": "Connection Id",
            "type": "string"
          },
          "gateway_apis": {
            "items": {
              "const": "chat_completions",
              "type": "string"
            },
            "maxItems": 1,
            "title": "Gateway Apis",
            "type": "array"
          },
          "kind": {
            "const": "remote",
            "title": "Kind",
            "type": "string"
          },
          "max_concurrent_tasks": {
            "default": 4,
            "maximum": 4.0,
            "minimum": 1.0,
            "title": "Max Concurrent Tasks",
            "type": "integer"
          },
          "parameters": {
            "additionalProperties": {
              "$ref": "#/components/schemas/JsonValue-Input"
            },
            "title": "Parameters",
            "type": "object"
          }
        },
        "required": [
          "kind",
          "connection_id"
        ],
        "title": "RemoteAgent",
        "type": "object"
      },
      "JsonValue-Input": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "integer"
          },
          {
            "type": "number"
          },
          {
            "type": "boolean"
          },
          {
            "items": {
              "$ref": "#/components/schemas/JsonValue-Input"
            },
            "type": "array"
          },
          {
            "additionalProperties": {
              "$ref": "#/components/schemas/JsonValue-Input"
            },
            "type": "object"
          },
          {
            "type": "null"
          }
        ]
      },
      "RemoteScorerCreate": {
        "additionalProperties": false,
        "properties": {
          "endpoint_url": {
            "anyOf": [
              {
                "maxLength": 2048,
                "minLength": 8,
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Endpoint Url"
          },
          "external_cost_per_call_microusd": {
            "default": 0,
            "maximum": 1000000000.0,
            "minimum": 0.0,
            "title": "External Cost Per Call Microusd",
            "type": "integer"
          },
          "max_calls_per_job": {
            "default": 100,
            "maximum": 10000.0,
            "minimum": 1.0,
            "title": "Max Calls Per Job",
            "type": "integer"
          },
          "max_input_bytes": {
            "default": 65536,
            "maximum": 262144.0,
            "minimum": 256.0,
            "title": "Max Input Bytes",
            "type": "integer"
          },
          "name": {
            "maxLength": 120,
            "minLength": 1,
            "title": "Name",
            "type": "string"
          },
          "project_name": {
            "anyOf": [
              {
                "maxLength": 200,
                "minLength": 1,
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Project Name"
          },
          "provider": {
            "enum": [
              "http",
              "braintrust"
            ],
            "title": "Provider",
            "type": "string"
          },
          "region": {
            "default": "global",
            "enum": [
              "global",
              "eu"
            ],
            "title": "Region",
            "type": "string"
          },
          "scorer_key": {
            "maxLength": 120,
            "minLength": 1,
            "pattern": "^[A-Za-z0-9][A-Za-z0-9._-]*$",
            "title": "Scorer Key",
            "type": "string"
          },
          "scorer_slug": {
            "anyOf": [
              {
                "maxLength": 200,
                "minLength": 1,
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Scorer Slug"
          },
          "scorer_version": {
            "maxLength": 200,
            "minLength": 1,
            "title": "Scorer Version",
            "type": "string"
          },
          "secret": {
            "maxLength": 4096,
            "minLength": 1,
            "title": "Secret",
            "type": "string"
          },
          "timeout_ms": {
            "default": 10000,
            "maximum": 15000.0,
            "minimum": 1000.0,
            "title": "Timeout Ms",
            "type": "integer"
          }
        },
        "required": [
          "scorer_key",
          "name",
          "provider",
          "scorer_version",
          "secret"
        ],
        "title": "RemoteScorerCreate",
        "type": "object"
      },
      "RemoteScorerPage": {
        "additionalProperties": false,
        "properties": {
          "data": {
            "items": {
              "$ref": "#/components/schemas/RemoteScorerView"
            },
            "title": "Data",
            "type": "array"
          }
        },
        "required": [
          "data"
        ],
        "title": "RemoteScorerPage",
        "type": "object"
      },
      "RemoteScorerView": {
        "additionalProperties": false,
        "properties": {
          "config_sha256": {
            "title": "Config Sha256",
            "type": "string"
          },
          "credential_configured": {
            "const": true,
            "title": "Credential Configured",
            "type": "boolean"
          },
          "endpoint_url": {
            "title": "Endpoint Url",
            "type": "string"
          },
          "estimated_external_cost_at_call_cap_microusd": {
            "title": "Estimated External Cost At Call Cap Microusd",
            "type": "integer"
          },
          "external_cost_per_call_microusd": {
            "title": "External Cost Per Call Microusd",
            "type": "integer"
          },
          "external_cost_provider_billed_estimate": {
            "const": true,
            "title": "External Cost Provider Billed Estimate",
            "type": "boolean"
          },
          "id": {
            "format": "uuid",
            "title": "Id",
            "type": "string"
          },
          "max_calls_per_job": {
            "title": "Max Calls Per Job",
            "type": "integer"
          },
          "max_input_bytes": {
            "title": "Max Input Bytes",
            "type": "integer"
          },
          "name": {
            "title": "Name",
            "type": "string"
          },
          "numeric_score_threshold": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Numeric Score Threshold"
          },
          "project_name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Project Name"
          },
          "provider": {
            "enum": [
              "http",
              "braintrust"
            ],
            "title": "Provider",
            "type": "string"
          },
          "result_contract": {
            "const": "evalrouter.remote-scorer-result.v1",
            "title": "Result Contract",
            "type": "string"
          },
          "scorer_key": {
            "title": "Scorer Key",
            "type": "string"
          },
          "scorer_slug": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Scorer Slug"
          },
          "scorer_version": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Scorer Version"
          },
          "timeout_ms": {
            "title": "Timeout Ms",
            "type": "integer"
          },
          "version": {
            "title": "Version",
            "type": "integer"
          }
        },
        "required": [
          "id",
          "scorer_key",
          "version",
          "name",
          "provider",
          "endpoint_url",
          "project_name",
          "scorer_slug",
          "scorer_version",
          "max_calls_per_job",
          "max_input_bytes",
          "timeout_ms",
          "external_cost_per_call_microusd",
          "estimated_external_cost_at_call_cap_microusd",
          "external_cost_provider_billed_estimate",
          "config_sha256",
          "credential_configured",
          "result_contract",
          "numeric_score_threshold"
        ],
        "title": "RemoteScorerView",
        "type": "object"
      },
      "ResultRecord": {
        "additionalProperties": false,
        "properties": {
          "benchmark_notices": {
            "items": {
              "$ref": "#/components/schemas/BenchmarkNotice"
            },
            "title": "Benchmark Notices",
            "type": "array"
          },
          "checksum": {
            "title": "Checksum",
            "type": "string"
          },
          "costs": {
            "$ref": "#/components/schemas/ResultCosts"
          },
          "coverage": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/CoverageRecord"
              },
              {
                "type": "null"
              }
            ]
          },
          "envelope": {
            "anyOf": [
              {
                "additionalProperties": {
                  "$ref": "#/components/schemas/JsonValue-Output"
                },
                "type": "object"
              },
              {
                "type": "null"
              }
            ],
            "title": "Envelope"
          },
          "execution_assurance": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "How EvalRouter can vouch for this run's execution (agent contract v1). An open set; accept unknown values. `hosted_enforced`: EvalRouter executed it (its own run, or a hosted agent in a network-blocked sandbox from a pinned build), every model call through its gateway. `client_reported`: the agent ran on the customer's machine; `remote_unsealed`: on the customer's infrastructure (A2A). For those two only the gateway calls and submissions EvalRouter received are authoritative. `customer_record`: evidence the customer recorded and imported; nothing ran on EvalRouter.",
            "title": "Execution Assurance"
          },
          "finalized_at": {
            "format": "date-time",
            "title": "Finalized At",
            "type": "string"
          },
          "id": {
            "format": "uuid",
            "title": "Id",
            "type": "string"
          },
          "manifest_hash": {
            "title": "Manifest Hash",
            "type": "string"
          },
          "model": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/SelectedModel"
              },
              {
                "$ref": "#/components/schemas/ComparisonModel"
              }
            ],
            "title": "Model"
          },
          "model_names": {
            "description": "Display label for each selected model, by model index: the reviewed route name where one exists, else the model id.",
            "items": {
              "type": "string"
            },
            "title": "Model Names",
            "type": "array"
          },
          "profiles": {
            "items": {
              "$ref": "#/components/schemas/ProfileResult"
            },
            "title": "Profiles",
            "type": "array"
          },
          "report": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/ReportDocument"
              },
              {
                "type": "null"
              }
            ]
          },
          "retention": {
            "$ref": "#/components/schemas/RunRetention"
          },
          "run_id": {
            "format": "uuid",
            "title": "Run Id",
            "type": "string"
          },
          "summary": {
            "$ref": "#/components/schemas/ResultSummary"
          },
          "version": {
            "title": "Version",
            "type": "integer"
          }
        },
        "required": [
          "id",
          "run_id",
          "version",
          "manifest_hash",
          "checksum",
          "finalized_at",
          "summary",
          "model",
          "coverage",
          "costs",
          "profiles",
          "benchmark_notices",
          "retention"
        ],
        "title": "ResultRecord",
        "type": "object"
      },
      "BenchmarkNotice": {
        "additionalProperties": false,
        "properties": {
          "adaptation_notice": {
            "title": "Adaptation Notice",
            "type": "string"
          },
          "evidence_sha256": {
            "title": "Evidence Sha256",
            "type": "string"
          },
          "licenses": {
            "items": {
              "$ref": "#/components/schemas/LicenseNotice"
            },
            "title": "Licenses",
            "type": "array"
          },
          "manifest_sha256": {
            "title": "Manifest Sha256",
            "type": "string"
          },
          "profile_id": {
            "title": "Profile Id",
            "type": "string"
          }
        },
        "required": [
          "profile_id",
          "manifest_sha256",
          "evidence_sha256",
          "adaptation_notice",
          "licenses"
        ],
        "title": "BenchmarkNotice",
        "type": "object"
      },
      "LicenseNotice": {
        "additionalProperties": false,
        "properties": {
          "attribution": {
            "title": "Attribution",
            "type": "string"
          },
          "document_sha256": {
            "title": "Document Sha256",
            "type": "string"
          },
          "identifier": {
            "title": "Identifier",
            "type": "string"
          },
          "scope": {
            "enum": [
              "code",
              "data",
              "tests",
              "assets"
            ],
            "title": "Scope",
            "type": "string"
          },
          "source_revision": {
            "title": "Source Revision",
            "type": "string"
          },
          "source_url": {
            "title": "Source Url",
            "type": "string"
          },
          "text": {
            "title": "Text",
            "type": "string"
          }
        },
        "required": [
          "scope",
          "identifier",
          "source_url",
          "source_revision",
          "attribution",
          "document_sha256",
          "text"
        ],
        "title": "LicenseNotice",
        "type": "object"
      },
      "ProfileResult": {
        "additionalProperties": {
          "$ref": "#/components/schemas/JsonValue-Output"
        },
        "properties": {
          "cancelled": {
            "title": "Cancelled",
            "type": "integer"
          },
          "data_license": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Data License"
          },
          "display_policy": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Display Policy"
          },
          "eligible": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Eligible"
          },
          "error_code": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Error Code"
          },
          "errors": {
            "title": "Errors",
            "type": "integer"
          },
          "graded": {
            "title": "Graded",
            "type": "integer"
          },
          "headline_key": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Headline Key"
          },
          "judge_sampling": {
            "anyOf": [
              {
                "enum": [
                  "temperature_0",
                  "provider_default",
                  "fixed_temperature"
                ],
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "How the judge was sampled, when a judge graded.",
            "title": "Judge Sampling"
          },
          "license_url": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "License Url"
          },
          "metrics": {
            "items": {
              "$ref": "#/components/schemas/MetricRecord"
            },
            "title": "Metrics",
            "type": "array"
          },
          "model_index": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Model Index"
          },
          "name": {
            "title": "Name",
            "type": "string"
          },
          "native": {
            "anyOf": [
              {
                "additionalProperties": {
                  "$ref": "#/components/schemas/JsonValue-Output"
                },
                "type": "object"
              },
              {
                "type": "null"
              }
            ],
            "title": "Native"
          },
          "outcome_counts": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/OutcomeCounts"
              },
              {
                "type": "null"
              }
            ],
            "description": "This benchmark's tasks by verdict, failure class and model outcome, with the pass and failure rates. Reported beside `completed_count`/`errors`, which stay lifecycle counters."
          },
          "planned": {
            "title": "Planned",
            "type": "integer"
          },
          "profile_id": {
            "title": "Profile Id",
            "type": "string"
          },
          "runner": {
            "title": "Runner",
            "type": "string"
          },
          "sampling": {
            "anyOf": [
              {
                "enum": [
                  "temperature_0",
                  "provider_default",
                  "fixed_temperature"
                ],
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "How the answers were sampled. `provider_default` (temperature omitted, as reasoning models require) and `fixed_temperature` vary between repeats of the same run; `temperature_0` is the closest to repeatable.",
            "title": "Sampling"
          },
          "selection": {
            "$ref": "#/components/schemas/ProfileSelection"
          },
          "skipped_budget": {
            "title": "Skipped Budget",
            "type": "integer"
          },
          "source_revision": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Source Revision"
          },
          "source_url": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Source Url"
          },
          "status": {
            "title": "Status",
            "type": "string"
          },
          "uncertainty": {
            "anyOf": [
              {
                "additionalProperties": {
                  "$ref": "#/components/schemas/Uncertainty"
                },
                "type": "object"
              },
              {
                "type": "null"
              }
            ],
            "title": "Uncertainty"
          },
          "uncertainty_note": {
            "title": "Uncertainty Note",
            "type": "string"
          },
          "unit_id": {
            "format": "uuid",
            "title": "Unit Id",
            "type": "string"
          }
        },
        "required": [
          "profile_id",
          "unit_id",
          "name",
          "runner",
          "status",
          "error_code",
          "planned",
          "graded",
          "errors",
          "cancelled",
          "skipped_budget",
          "metrics",
          "headline_key",
          "native",
          "selection",
          "eligible",
          "source_url",
          "source_revision",
          "data_license",
          "license_url",
          "uncertainty_note"
        ],
        "title": "ProfileResult",
        "type": "object"
      },
      "MetricRecord": {
        "additionalProperties": false,
        "properties": {
          "direction": {
            "anyOf": [
              {
                "enum": [
                  "higher_is_better",
                  "lower_is_better"
                ],
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Direction"
          },
          "key": {
            "title": "Key",
            "type": "string"
          },
          "name": {
            "title": "Name",
            "type": "string"
          },
          "sample_count": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Sample Count"
          },
          "source": {
            "title": "Source",
            "type": "string"
          },
          "standard_error": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Standard Error"
          },
          "task": {
            "title": "Task",
            "type": "string"
          },
          "uncertainty": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Uncertainty"
              },
              {
                "type": "null"
              }
            ]
          },
          "value": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "number"
              }
            ],
            "title": "Value"
          }
        },
        "required": [
          "key",
          "task",
          "name",
          "value",
          "standard_error",
          "sample_count",
          "source",
          "direction"
        ],
        "title": "MetricRecord",
        "type": "object"
      },
      "OutcomeCounts": {
        "additionalProperties": false,
        "description": "Tasks counted on the task outcome's own keys (`TaskOutcome`), with the rates\ncomputed once by EvalRouter's metrics catalog.",
        "properties": {
          "failure_rate": {
            "$ref": "#/components/schemas/FailureRate"
          },
          "failures_by_class": {
            "additionalProperties": {
              "type": "integer"
            },
            "description": "Tasks by `failure_class`.",
            "title": "Failures By Class",
            "type": "object"
          },
          "model_outcomes": {
            "additionalProperties": {
              "type": "integer"
            },
            "description": "Tasks by `model_outcome`.",
            "title": "Model Outcomes",
            "type": "object"
          },
          "pass_rate": {
            "$ref": "#/components/schemas/PassRate"
          },
          "verdicts": {
            "additionalProperties": {
              "type": "integer"
            },
            "description": "Tasks by `verdict`.",
            "title": "Verdicts",
            "type": "object"
          }
        },
        "required": [
          "verdicts",
          "failures_by_class",
          "model_outcomes",
          "pass_rate",
          "failure_rate"
        ],
        "title": "OutcomeCounts",
        "type": "object"
      },
      "FailureRate": {
        "additionalProperties": false,
        "description": "Tasks with a `failure_class` other than `stopped`, over ended tasks without\n`stopped` (a run's own budget cap or cancel is not unreliability).",
        "properties": {
          "by_class": {
            "additionalProperties": {
              "type": "number"
            },
            "title": "By Class",
            "type": "object"
          },
          "n": {
            "title": "N",
            "type": "integer"
          },
          "rate": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Rate"
          }
        },
        "required": [
          "rate",
          "by_class",
          "n"
        ],
        "title": "FailureRate",
        "type": "object"
      },
      "PassRate": {
        "additionalProperties": false,
        "description": "`passed / (passed + failed)` with its Wilson 95% interval. Inconclusive and\nnot-graded tasks are outside the denominator; null when `n` is 0.",
        "properties": {
          "lower": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Lower"
          },
          "n": {
            "title": "N",
            "type": "integer"
          },
          "rate": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Rate"
          },
          "upper": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Upper"
          }
        },
        "required": [
          "rate",
          "lower",
          "upper",
          "n"
        ],
        "title": "PassRate",
        "type": "object"
      },
      "ReportDocument": {
        "additionalProperties": false,
        "properties": {
          "chart_data": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/ReportChartData"
              },
              {
                "type": "null"
              }
            ]
          },
          "charts": {
            "items": {
              "$ref": "#/components/schemas/ReportChart"
            },
            "title": "Charts",
            "type": "array"
          },
          "conclusion": {
            "title": "Conclusion",
            "type": "string"
          },
          "examples": {
            "items": {
              "$ref": "#/components/schemas/ReportExample"
            },
            "title": "Examples",
            "type": "array"
          },
          "findings": {
            "items": {
              "$ref": "#/components/schemas/ReportFinding"
            },
            "title": "Findings",
            "type": "array"
          },
          "kind": {
            "enum": [
              "run",
              "comparison",
              "training",
              "benchmark"
            ],
            "title": "Kind",
            "type": "string"
          },
          "methodology": {
            "items": {
              "type": "string"
            },
            "title": "Methodology",
            "type": "array"
          },
          "metrics": {
            "items": {
              "$ref": "#/components/schemas/ReportMetric"
            },
            "title": "Metrics",
            "type": "array"
          },
          "next_steps": {
            "items": {
              "$ref": "#/components/schemas/ReportNextStep"
            },
            "title": "Next Steps",
            "type": "array"
          },
          "schema_version": {
            "const": 1,
            "title": "Schema Version",
            "type": "integer"
          },
          "scope": {
            "items": {
              "type": "string"
            },
            "title": "Scope",
            "type": "array"
          },
          "sources": {
            "items": {
              "$ref": "#/components/schemas/ReportSource"
            },
            "title": "Sources",
            "type": "array"
          },
          "template_version": {
            "const": "1",
            "title": "Template Version",
            "type": "string"
          },
          "title": {
            "title": "Title",
            "type": "string"
          }
        },
        "required": [
          "schema_version",
          "template_version",
          "kind",
          "title",
          "sources",
          "conclusion",
          "scope",
          "findings",
          "metrics",
          "charts",
          "examples",
          "next_steps",
          "methodology"
        ],
        "title": "ReportDocument",
        "type": "object"
      },
      "ReportChart": {
        "additionalProperties": false,
        "properties": {
          "kind": {
            "enum": [
              "metric_comparison",
              "metric_change",
              "training_progress"
            ],
            "title": "Kind",
            "type": "string"
          },
          "metric_keys": {
            "items": {
              "type": "string"
            },
            "title": "Metric Keys",
            "type": "array"
          },
          "source_refs": {
            "items": {
              "type": "string"
            },
            "title": "Source Refs",
            "type": "array"
          },
          "title": {
            "title": "Title",
            "type": "string"
          }
        },
        "required": [
          "kind",
          "title",
          "metric_keys",
          "source_refs"
        ],
        "title": "ReportChart",
        "type": "object"
      },
      "ReportChartData": {
        "additionalProperties": false,
        "properties": {
          "groups": {
            "items": {
              "$ref": "#/components/schemas/ReportChartGroup"
            },
            "title": "Groups",
            "type": "array"
          },
          "notes": {
            "items": {
              "type": "string"
            },
            "title": "Notes",
            "type": "array"
          },
          "run": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/ReportChartRunCost"
              },
              {
                "type": "null"
              }
            ]
          },
          "schema_version": {
            "const": 1,
            "title": "Schema Version",
            "type": "integer"
          },
          "timings": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/ReportChartTimings"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "schema_version",
          "groups",
          "notes"
        ],
        "title": "ReportChartData",
        "type": "object"
      },
      "ReportChartGroup": {
        "additionalProperties": false,
        "properties": {
          "changes": {
            "anyOf": [
              {
                "items": {
                  "$ref": "#/components/schemas/ReportChartChange"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "title": "Changes"
          },
          "checks": {
            "anyOf": [
              {
                "items": {
                  "$ref": "#/components/schemas/ReportChartCheck"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "title": "Checks"
          },
          "id": {
            "title": "Id",
            "type": "string"
          },
          "label": {
            "title": "Label",
            "type": "string"
          },
          "metrics": {
            "items": {
              "$ref": "#/components/schemas/ReportChartMetric"
            },
            "title": "Metrics",
            "type": "array"
          },
          "paired_samples": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ],
            "title": "Paired Samples"
          },
          "pareto_eligible": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ],
            "title": "Pareto Eligible"
          },
          "radar_dimensions": {
            "anyOf": [
              {
                "items": {
                  "type": "string"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "title": "Radar Dimensions"
          },
          "series": {
            "items": {
              "$ref": "#/components/schemas/ReportChartSeries"
            },
            "title": "Series",
            "type": "array"
          },
          "task_changes": {
            "anyOf": [
              {
                "items": {
                  "$ref": "#/components/schemas/ReportChartTaskChange"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "title": "Task Changes"
          }
        },
        "required": [
          "id",
          "label",
          "metrics",
          "series"
        ],
        "title": "ReportChartGroup",
        "type": "object"
      },
      "ReportChartChange": {
        "additionalProperties": false,
        "properties": {
          "comparable": {
            "title": "Comparable",
            "type": "boolean"
          },
          "delta": {
            "title": "Delta",
            "type": "number"
          },
          "interval": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/ReportChartInterval"
              },
              {
                "type": "null"
              }
            ]
          },
          "key": {
            "title": "Key",
            "type": "string"
          },
          "label": {
            "title": "Label",
            "type": "string"
          },
          "series_id": {
            "title": "Series Id",
            "type": "string"
          }
        },
        "required": [
          "series_id",
          "key",
          "label",
          "delta",
          "comparable"
        ],
        "title": "ReportChartChange",
        "type": "object"
      },
      "ReportChartCheck": {
        "additionalProperties": false,
        "properties": {
          "configured_value": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Configured Value"
          },
          "delta": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Delta"
          },
          "key": {
            "title": "Key",
            "type": "string"
          },
          "label": {
            "title": "Label",
            "type": "string"
          },
          "reason": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Reason"
          },
          "series_id": {
            "title": "Series Id",
            "type": "string"
          },
          "status": {
            "title": "Status",
            "type": "string"
          },
          "threshold": {
            "title": "Threshold",
            "type": "string"
          }
        },
        "required": [
          "series_id",
          "key",
          "label",
          "threshold",
          "status"
        ],
        "title": "ReportChartCheck",
        "type": "object"
      },
      "ReportChartInterval": {
        "additionalProperties": false,
        "properties": {
          "high": {
            "title": "High",
            "type": "number"
          },
          "label": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Label"
          },
          "low": {
            "title": "Low",
            "type": "number"
          }
        },
        "required": [
          "low",
          "high"
        ],
        "title": "ReportChartInterval",
        "type": "object"
      },
      "ReportChartMetric": {
        "additionalProperties": false,
        "properties": {
          "direction": {
            "anyOf": [
              {
                "enum": [
                  "higher_is_better",
                  "lower_is_better"
                ],
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Direction"
          },
          "domain": {
            "anyOf": [
              {
                "items": {
                  "type": "number"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "title": "Domain"
          },
          "format": {
            "enum": [
              "percent",
              "number",
              "count"
            ],
            "title": "Format",
            "type": "string"
          },
          "key": {
            "title": "Key",
            "type": "string"
          },
          "label": {
            "title": "Label",
            "type": "string"
          },
          "role": {
            "anyOf": [
              {
                "enum": [
                  "headline",
                  "diagnostic",
                  "cost"
                ],
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Role"
          },
          "sample_kind": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Sample Kind"
          },
          "unit": {
            "title": "Unit",
            "type": "string"
          }
        },
        "required": [
          "key",
          "label",
          "unit",
          "format"
        ],
        "title": "ReportChartMetric",
        "type": "object"
      },
      "ReportChartRunCost": {
        "additionalProperties": false,
        "properties": {
          "cap_microusd": {
            "anyOf": [
              {
                "pattern": "^[0-9]+$",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Cap Microusd"
          },
          "cap_usd": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "deprecated": true,
            "description": "Float USD; use cap_microusd.",
            "title": "Cap Usd"
          },
          "reserved_microusd": {
            "anyOf": [
              {
                "pattern": "^[0-9]+$",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Reserved Microusd"
          },
          "reserved_usd": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "deprecated": true,
            "description": "Float USD; use reserved_microusd.",
            "title": "Reserved Usd"
          },
          "spend_microusd": {
            "anyOf": [
              {
                "pattern": "^[0-9]+$",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Spend Microusd"
          },
          "spend_usd": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "deprecated": true,
            "description": "Float USD; use spend_microusd.",
            "title": "Spend Usd"
          }
        },
        "title": "ReportChartRunCost",
        "type": "object"
      },
      "ReportChartSeries": {
        "additionalProperties": false,
        "properties": {
          "categories": {
            "anyOf": [
              {
                "items": {
                  "$ref": "#/components/schemas/ReportChartCategory"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "title": "Categories"
          },
          "color": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Color"
          },
          "complete": {
            "title": "Complete",
            "type": "boolean"
          },
          "cost_microusd": {
            "anyOf": [
              {
                "pattern": "^[0-9]+$",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Cost Microusd"
          },
          "cost_usd": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "deprecated": true,
            "description": "Float USD; use cost_microusd.",
            "title": "Cost Usd"
          },
          "coverage": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/ReportChartCoverage"
              },
              {
                "type": "null"
              }
            ]
          },
          "episodes": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/ReportChartEpisodes"
              },
              {
                "type": "null"
              }
            ]
          },
          "executions": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/ReportChartExecutions"
              },
              {
                "type": "null"
              }
            ]
          },
          "failures": {
            "anyOf": [
              {
                "items": {
                  "$ref": "#/components/schemas/ReportChartFailure"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "title": "Failures"
          },
          "field": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/ReportChartField"
              },
              {
                "type": "null"
              }
            ]
          },
          "history": {
            "anyOf": [
              {
                "items": {
                  "$ref": "#/components/schemas/ReportChartHistoryPoint"
                },
                "maxItems": 13,
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "title": "History"
          },
          "id": {
            "title": "Id",
            "type": "string"
          },
          "label": {
            "title": "Label",
            "type": "string"
          },
          "latency_s": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/ReportChartLatency"
              },
              {
                "type": "null"
              }
            ]
          },
          "metrics": {
            "items": {
              "$ref": "#/components/schemas/ReportChartMetricValue"
            },
            "title": "Metrics",
            "type": "array"
          },
          "model_cost_microusd": {
            "anyOf": [
              {
                "pattern": "^[0-9]+$",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Model Cost Microusd"
          },
          "model_cost_usd": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "deprecated": true,
            "description": "Float USD; use model_cost_microusd.",
            "title": "Model Cost Usd"
          },
          "model_profile": {
            "anyOf": [
              {
                "items": {
                  "$ref": "#/components/schemas/ReportChartProfileScore"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "title": "Model Profile"
          },
          "samples": {
            "items": {
              "$ref": "#/components/schemas/ReportChartSample"
            },
            "title": "Samples",
            "type": "array"
          },
          "source_refs": {
            "items": {
              "type": "string"
            },
            "title": "Source Refs",
            "type": "array"
          },
          "task_count": {
            "anyOf": [
              {
                "minimum": 0.0,
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Task Count"
          },
          "tokens_per_task": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/ReportChartTokens"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "id",
          "label",
          "complete",
          "source_refs",
          "metrics",
          "samples"
        ],
        "title": "ReportChartSeries",
        "type": "object"
      },
      "ReportChartCategory": {
        "additionalProperties": false,
        "properties": {
          "label": {
            "title": "Label",
            "type": "string"
          },
          "metrics": {
            "items": {
              "$ref": "#/components/schemas/ReportChartCategoryMetric"
            },
            "title": "Metrics",
            "type": "array"
          }
        },
        "required": [
          "label",
          "metrics"
        ],
        "title": "ReportChartCategory",
        "type": "object"
      },
      "ReportChartCategoryMetric": {
        "additionalProperties": false,
        "properties": {
          "key": {
            "title": "Key",
            "type": "string"
          },
          "n": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "N"
          },
          "value": {
            "title": "Value",
            "type": "number"
          }
        },
        "required": [
          "key",
          "value"
        ],
        "title": "ReportChartCategoryMetric",
        "type": "object"
      },
      "ReportChartCoverage": {
        "additionalProperties": false,
        "properties": {
          "cancelled": {
            "minimum": 0.0,
            "title": "Cancelled",
            "type": "integer"
          },
          "errors": {
            "minimum": 0.0,
            "title": "Errors",
            "type": "integer"
          },
          "graded": {
            "minimum": 0.0,
            "title": "Graded",
            "type": "integer"
          },
          "planned": {
            "minimum": 0.0,
            "title": "Planned",
            "type": "integer"
          },
          "skipped_budget": {
            "minimum": 0.0,
            "title": "Skipped Budget",
            "type": "integer"
          }
        },
        "required": [
          "planned",
          "graded",
          "errors",
          "skipped_budget",
          "cancelled"
        ],
        "title": "ReportChartCoverage",
        "type": "object"
      },
      "ReportChartEpisodes": {
        "additionalProperties": false,
        "properties": {
          "count": {
            "minimum": 0.0,
            "title": "Count",
            "type": "integer"
          },
          "policy_failures": {
            "items": {
              "$ref": "#/components/schemas/ReportChartCount"
            },
            "title": "Policy Failures",
            "type": "array"
          },
          "reward_key": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Reward Key"
          },
          "rewards": {
            "anyOf": [
              {
                "items": {
                  "type": "number"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "title": "Rewards"
          },
          "steps": {
            "items": {
              "type": "integer"
            },
            "title": "Steps",
            "type": "array"
          },
          "terminations": {
            "items": {
              "$ref": "#/components/schemas/ReportChartCount"
            },
            "title": "Terminations",
            "type": "array"
          }
        },
        "required": [
          "count",
          "steps",
          "terminations",
          "policy_failures"
        ],
        "title": "ReportChartEpisodes",
        "type": "object"
      },
      "ReportChartCount": {
        "additionalProperties": false,
        "properties": {
          "count": {
            "minimum": 0.0,
            "title": "Count",
            "type": "integer"
          },
          "label": {
            "title": "Label",
            "type": "string"
          }
        },
        "required": [
          "label",
          "count"
        ],
        "title": "ReportChartCount",
        "type": "object"
      },
      "ReportChartExecutions": {
        "additionalProperties": false,
        "description": "Sandbox executions. Limits are what each sandbox was allowed, not what it used.",
        "properties": {
          "errors": {
            "items": {
              "$ref": "#/components/schemas/ReportChartCount"
            },
            "title": "Errors",
            "type": "array"
          },
          "limits": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/ReportChartExecutionLimits"
              },
              {
                "type": "null"
              }
            ]
          },
          "outcomes": {
            "items": {
              "$ref": "#/components/schemas/ReportChartCount"
            },
            "title": "Outcomes",
            "type": "array"
          },
          "retried": {
            "minimum": 0.0,
            "title": "Retried",
            "type": "integer"
          },
          "total": {
            "minimum": 0.0,
            "title": "Total",
            "type": "integer"
          }
        },
        "required": [
          "total",
          "outcomes",
          "errors",
          "retried"
        ],
        "title": "ReportChartExecutions",
        "type": "object"
      },
      "ReportChartExecutionLimits": {
        "additionalProperties": false,
        "properties": {
          "cpu_millis": {
            "title": "Cpu Millis",
            "type": "integer"
          },
          "memory_mib": {
            "title": "Memory Mib",
            "type": "integer"
          },
          "timeout_seconds": {
            "title": "Timeout Seconds",
            "type": "integer"
          }
        },
        "required": [
          "cpu_millis",
          "memory_mib",
          "timeout_seconds"
        ],
        "title": "ReportChartExecutionLimits",
        "type": "object"
      },
      "ReportChartFailure": {
        "additionalProperties": false,
        "properties": {
          "count": {
            "title": "Count",
            "type": "integer"
          },
          "kind": {
            "enum": [
              "model",
              "execution"
            ],
            "title": "Kind",
            "type": "string"
          },
          "label": {
            "title": "Label",
            "type": "string"
          },
          "total": {
            "title": "Total",
            "type": "integer"
          }
        },
        "required": [
          "label",
          "count",
          "total",
          "kind"
        ],
        "title": "ReportChartFailure",
        "type": "object"
      },
      "ReportChartField": {
        "additionalProperties": false,
        "description": "Published headline scores on the same protocol, and this run's rank among them.",
        "properties": {
          "label": {
            "title": "Label",
            "type": "string"
          },
          "of": {
            "minimum": 1.0,
            "title": "Of",
            "type": "integer"
          },
          "rank": {
            "minimum": 1.0,
            "title": "Rank",
            "type": "integer"
          },
          "values": {
            "items": {
              "type": "number"
            },
            "maxItems": 200,
            "title": "Values",
            "type": "array"
          }
        },
        "required": [
          "values",
          "rank",
          "of",
          "label"
        ],
        "title": "ReportChartField",
        "type": "object"
      },
      "ReportChartHistoryPoint": {
        "additionalProperties": false,
        "properties": {
          "current": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ],
            "title": "Current"
          },
          "finished_at": {
            "title": "Finished At",
            "type": "string"
          },
          "interval": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/ReportChartInterval"
              },
              {
                "type": "null"
              }
            ]
          },
          "n": {
            "anyOf": [
              {
                "minimum": 0.0,
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "N"
          },
          "run_id": {
            "title": "Run Id",
            "type": "string"
          },
          "same_tasks": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ],
            "title": "Same Tasks"
          },
          "value": {
            "title": "Value",
            "type": "number"
          },
          "version": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Version"
          }
        },
        "required": [
          "run_id",
          "finished_at",
          "value"
        ],
        "title": "ReportChartHistoryPoint",
        "type": "object"
      },
      "ReportChartLatency": {
        "additionalProperties": false,
        "properties": {
          "n": {
            "minimum": 1.0,
            "title": "N",
            "type": "integer"
          },
          "p50": {
            "minimum": 0.0,
            "title": "P50",
            "type": "number"
          },
          "p90": {
            "minimum": 0.0,
            "title": "P90",
            "type": "number"
          }
        },
        "required": [
          "p50",
          "p90",
          "n"
        ],
        "title": "ReportChartLatency",
        "type": "object"
      },
      "ReportChartMetricValue": {
        "additionalProperties": false,
        "properties": {
          "interval": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/ReportChartInterval"
              },
              {
                "type": "null"
              }
            ]
          },
          "key": {
            "title": "Key",
            "type": "string"
          },
          "n": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "N"
          },
          "value": {
            "title": "Value",
            "type": "number"
          }
        },
        "required": [
          "key",
          "value"
        ],
        "title": "ReportChartMetricValue",
        "type": "object"
      },
      "ReportChartProfileScore": {
        "additionalProperties": false,
        "properties": {
          "current": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ],
            "title": "Current"
          },
          "direction": {
            "anyOf": [
              {
                "enum": [
                  "higher_is_better",
                  "lower_is_better"
                ],
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Direction"
          },
          "format": {
            "enum": [
              "percent",
              "number",
              "count"
            ],
            "title": "Format",
            "type": "string"
          },
          "key": {
            "title": "Key",
            "type": "string"
          },
          "label": {
            "title": "Label",
            "type": "string"
          },
          "metric_label": {
            "title": "Metric Label",
            "type": "string"
          },
          "profile_id": {
            "title": "Profile Id",
            "type": "string"
          },
          "run_id": {
            "title": "Run Id",
            "type": "string"
          },
          "unit": {
            "title": "Unit",
            "type": "string"
          },
          "value": {
            "title": "Value",
            "type": "number"
          }
        },
        "required": [
          "profile_id",
          "label",
          "key",
          "metric_label",
          "value",
          "format",
          "unit",
          "run_id"
        ],
        "title": "ReportChartProfileScore",
        "type": "object"
      },
      "ReportChartSample": {
        "additionalProperties": false,
        "properties": {
          "category": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Category"
          },
          "id": {
            "title": "Id",
            "type": "string"
          },
          "values": {
            "additionalProperties": {
              "type": "number"
            },
            "title": "Values",
            "type": "object"
          }
        },
        "required": [
          "id",
          "values"
        ],
        "title": "ReportChartSample",
        "type": "object"
      },
      "ReportChartTaskChange": {
        "additionalProperties": false,
        "properties": {
          "baseline": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Baseline"
          },
          "candidate": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Candidate"
          },
          "series_id": {
            "title": "Series Id",
            "type": "string"
          },
          "task_id": {
            "title": "Task Id",
            "type": "string"
          }
        },
        "required": [
          "series_id",
          "task_id"
        ],
        "title": "ReportChartTaskChange",
        "type": "object"
      },
      "ReportChartTimings": {
        "additionalProperties": false,
        "properties": {
          "mean_in_flight": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Mean In Flight"
          },
          "peak_in_flight": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Peak In Flight"
          },
          "phases": {
            "items": {
              "$ref": "#/components/schemas/ReportChartTimingPhase"
            },
            "title": "Phases",
            "type": "array"
          },
          "settled_per_second": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Settled Per Second"
          },
          "span_s": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Span S"
          }
        },
        "required": [
          "phases"
        ],
        "title": "ReportChartTimings",
        "type": "object"
      },
      "ReportChartTimingPhase": {
        "additionalProperties": false,
        "properties": {
          "count": {
            "minimum": 0.0,
            "title": "Count",
            "type": "integer"
          },
          "label": {
            "title": "Label",
            "type": "string"
          },
          "name": {
            "title": "Name",
            "type": "string"
          },
          "p50_s": {
            "title": "P50 S",
            "type": "number"
          },
          "p90_s": {
            "title": "P90 S",
            "type": "number"
          }
        },
        "required": [
          "name",
          "label",
          "p50_s",
          "p90_s",
          "count"
        ],
        "title": "ReportChartTimingPhase",
        "type": "object"
      },
      "ReportChartTokens": {
        "additionalProperties": false,
        "properties": {
          "calls": {
            "minimum": 0.0,
            "title": "Calls",
            "type": "integer"
          },
          "input": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Input"
          },
          "observed_calls": {
            "minimum": 0.0,
            "title": "Observed Calls",
            "type": "integer"
          },
          "output": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Output"
          }
        },
        "required": [
          "observed_calls",
          "calls"
        ],
        "title": "ReportChartTokens",
        "type": "object"
      },
      "ReportExample": {
        "additionalProperties": false,
        "properties": {
          "evidence_ref": {
            "title": "Evidence Ref",
            "type": "string"
          },
          "failed_checks": {
            "items": {
              "type": "string"
            },
            "title": "Failed Checks",
            "type": "array"
          },
          "id": {
            "title": "Id",
            "type": "string"
          },
          "metric_key": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Metric Key"
          },
          "outcome": {
            "title": "Outcome",
            "type": "string"
          },
          "profile_id": {
            "title": "Profile Id",
            "type": "string"
          },
          "task_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Task Id"
          },
          "value": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Value"
          }
        },
        "required": [
          "id",
          "profile_id",
          "outcome",
          "failed_checks",
          "evidence_ref"
        ],
        "title": "ReportExample",
        "type": "object"
      },
      "ReportFinding": {
        "additionalProperties": false,
        "properties": {
          "evidence_refs": {
            "items": {
              "type": "string"
            },
            "title": "Evidence Refs",
            "type": "array"
          },
          "id": {
            "title": "Id",
            "type": "string"
          },
          "text": {
            "title": "Text",
            "type": "string"
          }
        },
        "required": [
          "id",
          "text",
          "evidence_refs"
        ],
        "title": "ReportFinding",
        "type": "object"
      },
      "ReportMetric": {
        "additionalProperties": false,
        "properties": {
          "aggregation": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Aggregation"
          },
          "baseline_value": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Baseline Value"
          },
          "comparable": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ],
            "title": "Comparable"
          },
          "definition": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Definition"
          },
          "delta": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Delta"
          },
          "direction": {
            "anyOf": [
              {
                "enum": [
                  "higher_is_better",
                  "lower_is_better"
                ],
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Direction"
          },
          "formatted_value": {
            "title": "Formatted Value",
            "type": "string"
          },
          "improvement": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Improvement"
          },
          "key": {
            "title": "Key",
            "type": "string"
          },
          "label": {
            "title": "Label",
            "type": "string"
          },
          "model_index": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Model Index"
          },
          "profile_id": {
            "title": "Profile Id",
            "type": "string"
          },
          "role": {
            "anyOf": [
              {
                "enum": [
                  "headline",
                  "diagnostic",
                  "detail",
                  "input",
                  "weight"
                ],
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Role"
          },
          "sample_count": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Sample Count"
          },
          "series": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Series"
          },
          "source_refs": {
            "anyOf": [
              {
                "items": {
                  "type": "string"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "title": "Source Refs"
          },
          "uncertainty": {
            "anyOf": [
              {
                "additionalProperties": {
                  "$ref": "#/components/schemas/JsonValue-Output"
                },
                "type": "object"
              },
              {
                "type": "null"
              }
            ],
            "title": "Uncertainty"
          },
          "unit": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Unit"
          },
          "value": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Value"
          },
          "weighted": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ],
            "title": "Weighted"
          }
        },
        "required": [
          "key",
          "label",
          "value",
          "formatted_value",
          "profile_id"
        ],
        "title": "ReportMetric",
        "type": "object"
      },
      "ReportNextStep": {
        "additionalProperties": false,
        "properties": {
          "evidence_refs": {
            "items": {
              "type": "string"
            },
            "title": "Evidence Refs",
            "type": "array"
          },
          "id": {
            "title": "Id",
            "type": "string"
          },
          "kind": {
            "enum": [
              "environment",
              "benchmark"
            ],
            "title": "Kind",
            "type": "string"
          },
          "reason": {
            "title": "Reason",
            "type": "string"
          },
          "ref": {
            "title": "Ref",
            "type": "string"
          },
          "setup_href": {
            "title": "Setup Href",
            "type": "string"
          },
          "title": {
            "title": "Title",
            "type": "string"
          },
          "what_it_tests": {
            "title": "What It Tests",
            "type": "string"
          }
        },
        "required": [
          "id",
          "kind",
          "title",
          "reason",
          "what_it_tests",
          "ref",
          "setup_href",
          "evidence_refs"
        ],
        "title": "ReportNextStep",
        "type": "object"
      },
      "ReportSource": {
        "additionalProperties": false,
        "properties": {
          "checksum": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Checksum"
          },
          "id": {
            "title": "Id",
            "type": "string"
          },
          "kind": {
            "enum": [
              "run",
              "comparison",
              "training",
              "benchmark"
            ],
            "title": "Kind",
            "type": "string"
          },
          "version": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Version"
          }
        },
        "required": [
          "kind",
          "id"
        ],
        "title": "ReportSource",
        "type": "object"
      },
      "ResultCosts": {
        "additionalProperties": false,
        "properties": {
          "as_of": {
            "format": "date-time",
            "title": "As Of",
            "type": "string"
          },
          "basis": {
            "enum": [
              "managed_total",
              "platform_fees_only",
              "mixed"
            ],
            "title": "Basis",
            "type": "string"
          },
          "currency": {
            "const": "USD",
            "title": "Currency",
            "type": "string"
          },
          "note": {
            "title": "Note",
            "type": "string"
          },
          "profiles": {
            "items": {
              "$ref": "#/components/schemas/ProfileCost"
            },
            "title": "Profiles",
            "type": "array"
          }
        },
        "required": [
          "currency",
          "as_of",
          "basis",
          "profiles",
          "note"
        ],
        "title": "ResultCosts",
        "type": "object"
      },
      "ProfileCost": {
        "additionalProperties": false,
        "properties": {
          "charged_microusd": {
            "pattern": "^[0-9]+$",
            "title": "Charged Microusd",
            "type": "string"
          },
          "model_index": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Model Index"
          },
          "pending_operations": {
            "title": "Pending Operations",
            "type": "integer"
          },
          "profile_id": {
            "title": "Profile Id",
            "type": "string"
          },
          "total_cost_microusd": {
            "anyOf": [
              {
                "pattern": "^[0-9]+$",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Total Cost Microusd"
          }
        },
        "required": [
          "profile_id",
          "charged_microusd",
          "pending_operations",
          "total_cost_microusd"
        ],
        "title": "ProfileCost",
        "type": "object"
      },
      "ResultSummary": {
        "additionalProperties": false,
        "properties": {
          "billing_snapshot": {
            "$ref": "#/components/schemas/BillingSnapshot"
          },
          "coverage": {
            "$ref": "#/components/schemas/CoverageCounts"
          },
          "finished_at": {
            "title": "Finished At",
            "type": "string"
          },
          "labels": {
            "anyOf": [
              {
                "additionalProperties": {
                  "$ref": "#/components/schemas/JsonValue-Output"
                },
                "type": "object"
              },
              {
                "type": "null"
              }
            ],
            "description": "Evidence labels, `{schema: evalrouter.evidence-labels.v1, set: [...]}`: `observed`, plus `custom`, `variant` or `budget_limited` where they apply. Benchmark statistics admit only exactly `{observed}`. Absent on results finalized before labels.",
            "title": "Labels"
          },
          "manifest_hash": {
            "title": "Manifest Hash",
            "type": "string"
          },
          "name": {
            "title": "Name",
            "type": "string"
          },
          "result_version": {
            "title": "Result Version",
            "type": "integer"
          },
          "run_id": {
            "format": "uuid",
            "title": "Run Id",
            "type": "string"
          },
          "schema_version": {
            "const": 1,
            "title": "Schema Version",
            "type": "integer"
          },
          "status": {
            "enum": [
              "completed",
              "partial",
              "failed",
              "cancelled"
            ],
            "title": "Status",
            "type": "string"
          },
          "terminal_reason": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Terminal Reason"
          }
        },
        "required": [
          "schema_version",
          "run_id",
          "result_version",
          "status",
          "terminal_reason",
          "name",
          "manifest_hash",
          "finished_at",
          "coverage",
          "billing_snapshot"
        ],
        "title": "ResultSummary",
        "type": "object"
      },
      "BillingSnapshot": {
        "additionalProperties": false,
        "properties": {
          "as_of": {
            "title": "As Of",
            "type": "string"
          },
          "cap_microusd": {
            "anyOf": [
              {
                "pattern": "^[0-9]+$",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "Historical spending cap. Omitted for wallet-funded evaluations.",
            "title": "Cap Microusd"
          },
          "pending": {
            "title": "Pending",
            "type": "boolean"
          },
          "reserved_microusd": {
            "pattern": "^[0-9]+$",
            "title": "Reserved Microusd",
            "type": "string"
          },
          "spend_microusd": {
            "pattern": "^[0-9]+$",
            "title": "Spend Microusd",
            "type": "string"
          }
        },
        "required": [
          "spend_microusd",
          "reserved_microusd",
          "as_of",
          "pending"
        ],
        "title": "BillingSnapshot",
        "type": "object"
      },
      "CoverageCounts": {
        "additionalProperties": false,
        "properties": {
          "attempted": {
            "title": "Attempted",
            "type": "integer"
          },
          "cancelled": {
            "title": "Cancelled",
            "type": "integer"
          },
          "errors": {
            "title": "Errors",
            "type": "integer"
          },
          "graded": {
            "title": "Graded",
            "type": "integer"
          },
          "planned": {
            "title": "Planned",
            "type": "integer"
          },
          "skipped_budget": {
            "title": "Skipped Budget",
            "type": "integer"
          }
        },
        "required": [
          "planned",
          "attempted",
          "graded",
          "errors",
          "skipped_budget",
          "cancelled"
        ],
        "title": "CoverageCounts",
        "type": "object"
      },
      "RetentionPolicy": {
        "additionalProperties": false,
        "properties": {
          "raw_days": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "description": "Your workspace's evidence retention rule, in days. Omitted when no rule applies: raw evidence is kept until you delete it.",
            "title": "Raw Days"
          },
          "starts_at": {
            "const": "run_created_at",
            "title": "Starts At",
            "type": "string"
          },
          "summary_days": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "description": "Omitted: results are kept until you delete the evaluation.",
            "title": "Summary Days"
          }
        },
        "required": [
          "starts_at"
        ],
        "title": "RetentionPolicy",
        "type": "object"
      },
      "RouteReasoningOptions": {
        "additionalProperties": false,
        "description": "A managed route's reviewed reasoning capability, independent of any quote.",
        "properties": {
          "budget_tokens": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/ReasoningBudgetBounds"
              },
              {
                "type": "null"
              }
            ]
          },
          "control": {
            "enum": [
              "none",
              "effort",
              "budget",
              "route"
            ],
            "title": "Control",
            "type": "string"
          },
          "default_effort": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Default Effort"
          },
          "evidence": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/ReasoningCapabilityEvidence"
              },
              {
                "type": "null"
              }
            ]
          },
          "reason": {
            "title": "Reason",
            "type": "string"
          },
          "state": {
            "description": "effort or budget: a quote may choose reasoning_effort or reasoning_budget_tokens. fixed: the route pins one setting. off: the route sends reasoning disabled. provider_managed: no control is sent. The provider default applies. unsupported: known to have no reasoning. unavailable: no reviewed metadata, which is not a claim that the model cannot reason.",
            "enum": [
              "unsupported",
              "off",
              "provider_managed",
              "effort",
              "budget",
              "fixed",
              "unavailable"
            ],
            "title": "State",
            "type": "string"
          },
          "supported_efforts": {
            "items": {
              "type": "string"
            },
            "title": "Supported Efforts",
            "type": "array"
          }
        },
        "required": [
          "state",
          "control",
          "supported_efforts",
          "reason"
        ],
        "title": "RouteReasoningOptions",
        "type": "object"
      },
      "ReasoningBudgetBounds": {
        "additionalProperties": false,
        "properties": {
          "default": {
            "title": "Default",
            "type": "integer"
          },
          "max": {
            "title": "Max",
            "type": "integer"
          },
          "min": {
            "title": "Min",
            "type": "integer"
          }
        },
        "required": [
          "min",
          "max",
          "default"
        ],
        "title": "ReasoningBudgetBounds",
        "type": "object"
      },
      "ReasoningCapabilityEvidence": {
        "additionalProperties": false,
        "description": "The reviewed capability entry a reasoning choice was checked against.",
        "properties": {
          "evidence_sha256": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Evidence Sha256"
          },
          "source": {
            "title": "Source",
            "type": "string"
          },
          "supported_efforts": {
            "items": {
              "type": "string"
            },
            "title": "Supported Efforts",
            "type": "array"
          }
        },
        "required": [
          "source",
          "supported_efforts"
        ],
        "title": "ReasoningCapabilityEvidence",
        "type": "object"
      },
      "RunConfiguration": {
        "additionalProperties": false,
        "description": "Standard, custom or legacy: frozen at quote time and never changed.",
        "properties": {
          "profiles": {
            "additionalProperties": {
              "$ref": "#/components/schemas/ProfileConfiguration"
            },
            "title": "Profiles",
            "type": "object"
          },
          "schema_version": {
            "const": "evalrouter.run-configuration.v1",
            "title": "Schema Version",
            "type": "string"
          },
          "standards_sha256": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "Hash of the benchmark-standards catalog the quote used. Null for runs created before standard configurations.",
            "title": "Standards Sha256"
          },
          "status": {
            "enum": [
              "standard",
              "custom",
              "undeclared",
              "legacy_matching",
              "legacy_unverified"
            ],
            "title": "Status",
            "type": "string"
          }
        },
        "required": [
          "schema_version",
          "standards_sha256",
          "status",
          "profiles"
        ],
        "title": "RunConfiguration",
        "type": "object"
      },
      "ProfileConfiguration": {
        "additionalProperties": false,
        "description": "One benchmark's configuration in a run (docs/BENCHMARK-STANDARDS.md).",
        "properties": {
          "custom_kinds": {
            "items": {
              "enum": [
                "extended_horizon",
                "budget_limited"
              ],
              "type": "string"
            },
            "title": "Custom Kinds",
            "type": "array"
          },
          "execution": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Execution"
          },
          "fingerprint": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "Hash of the effective configuration. Results compare only with results of the same fingerprint, or of the same standard when both are standard.",
            "title": "Fingerprint"
          },
          "label": {
            "title": "Label",
            "type": "string"
          },
          "network_agent": {
            "default": "none",
            "description": "What the agent could reach besides its task: none for a model run or a sandboxed hosted agent. Otherwise the agent ran with network access on the customer's machine or its own service, so its results are labelled, kept out of benchmark statistics and never compared with model or sandboxed results.",
            "enum": [
              "none",
              "customer_machine",
              "remote_agent",
              "unknown"
            ],
            "title": "Network Agent",
            "type": "string"
          },
          "overrides": {
            "items": {
              "$ref": "#/components/schemas/ConfigurationOverride"
            },
            "title": "Overrides",
            "type": "array"
          },
          "settings": {
            "additionalProperties": {
              "$ref": "#/components/schemas/ConfigurationSetting"
            },
            "title": "Settings",
            "type": "object"
          },
          "standard_fingerprint": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Standard Fingerprint"
          },
          "standard_name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Standard Name"
          },
          "standard_ref": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Standard Ref"
          },
          "status": {
            "enum": [
              "standard",
              "custom",
              "undeclared",
              "legacy_matching",
              "legacy_unverified"
            ],
            "title": "Status",
            "type": "string"
          },
          "target_settings": {
            "$ref": "#/components/schemas/JsonValue-Output",
            "description": "A connection setting EvalRouter applied for this run (reasoning switched off). It enters the fingerprint, so these results compare only with runs that applied the same setting."
          },
          "variant_of": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Variant Of"
          }
        },
        "required": [
          "status",
          "label",
          "standard_ref",
          "standard_name",
          "variant_of",
          "execution",
          "standard_fingerprint",
          "fingerprint",
          "overrides",
          "custom_kinds",
          "settings"
        ],
        "title": "ProfileConfiguration",
        "type": "object"
      },
      "ConfigurationOverride": {
        "additionalProperties": false,
        "properties": {
          "effective": {
            "$ref": "#/components/schemas/JsonValue-Output"
          },
          "field": {
            "title": "Field",
            "type": "string"
          },
          "standard": {
            "$ref": "#/components/schemas/JsonValue-Output"
          }
        },
        "required": [
          "field",
          "standard",
          "effective"
        ],
        "title": "ConfigurationOverride",
        "type": "object"
      },
      "ConfigurationSetting": {
        "additionalProperties": false,
        "properties": {
          "by": {
            "enum": [
              "author",
              "harness_default",
              "leaderboard_rule",
              "environment",
              "evalrouter_defined",
              "custom"
            ],
            "title": "By",
            "type": "string"
          },
          "source": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Source"
          },
          "value": {
            "$ref": "#/components/schemas/JsonValue-Output"
          }
        },
        "required": [
          "value",
          "by"
        ],
        "title": "ConfigurationSetting",
        "type": "object"
      },
      "RunEvent": {
        "additionalProperties": false,
        "properties": {
          "created_at": {
            "format": "date-time",
            "title": "Created At",
            "type": "string"
          },
          "data": {
            "additionalProperties": {
              "$ref": "#/components/schemas/JsonValue-Output"
            },
            "description": "The event's fields; clients must tolerate fields added later. `sample.completed` and `samples.stopped` also carry the task's `failure_class` and `verdict`, with the same values and withholding as the sample list (`SampleRecord`).",
            "title": "Data",
            "type": "object"
          },
          "sequence": {
            "title": "Sequence",
            "type": "integer"
          },
          "type": {
            "anyOf": [
              {
                "enum": [
                  "run.queued",
                  "run.started",
                  "run.updated",
                  "run.stopping",
                  "run.cancellation_requested",
                  "run.completed",
                  "unit.completed",
                  "unit.deferred",
                  "unit.interrupted",
                  "capacity.waiting",
                  "capacity.resumed",
                  "sample.completed",
                  "samples.stopped",
                  "sandbox.preparing",
                  "sandbox.running",
                  "sandbox.verifying",
                  "sandbox.verified",
                  "results.provisional",
                  "rollout.changed",
                  "provider.progress",
                  "provider.preview"
                ],
                "type": "string"
              },
              {
                "type": "string"
              }
            ],
            "description": "A documented event type. Clients must tolerate types added later.",
            "title": "Type"
          }
        },
        "required": [
          "sequence",
          "type",
          "data",
          "created_at"
        ],
        "title": "RunEvent",
        "type": "object"
      },
      "RunFundingPolicy": {
        "additionalProperties": false,
        "properties": {
          "cap_source": {
            "anyOf": [
              {
                "enum": [
                  "user",
                  "wallet_available",
                  "service_limit"
                ],
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Cap Source"
          },
          "mode": {
            "enum": [
              "per_call",
              "per_operation"
            ],
            "title": "Mode",
            "type": "string"
          },
          "version": {
            "enum": [
              "native-per-call-v1",
              "wallet-per-operation-v1"
            ],
            "title": "Version",
            "type": "string"
          }
        },
        "required": [
          "version",
          "mode"
        ],
        "title": "RunFundingPolicy",
        "type": "object"
      },
      "RunReceipt": {
        "additionalProperties": false,
        "properties": {
          "billing_state": {
            "enum": [
              "pending",
              "settled",
              "reconciliation_required"
            ],
            "title": "Billing State",
            "type": "string"
          },
          "cap_microusd": {
            "anyOf": [
              {
                "pattern": "^[0-9]+$",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "Historical spending cap. Omitted for wallet-funded evaluations.",
            "title": "Cap Microusd"
          },
          "created_at": {
            "format": "date-time",
            "title": "Created At",
            "type": "string"
          },
          "currency": {
            "const": "USD",
            "title": "Currency",
            "type": "string"
          },
          "deleted_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "When you deleted the evaluation, if you did.",
            "title": "Deleted At"
          },
          "report_expired": {
            "description": "True once the evaluation's results were deleted.",
            "title": "Report Expired",
            "type": "boolean"
          },
          "reserved_microusd": {
            "pattern": "^[0-9]+$",
            "title": "Reserved Microusd",
            "type": "string"
          },
          "run_id": {
            "format": "uuid",
            "title": "Run Id",
            "type": "string"
          },
          "spend_microusd": {
            "pattern": "^[0-9]+$",
            "title": "Spend Microusd",
            "type": "string"
          },
          "summary_expires_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "Omitted: results are kept until you delete the evaluation.",
            "title": "Summary Expires At"
          }
        },
        "required": [
          "run_id",
          "created_at",
          "currency",
          "billing_state",
          "spend_microusd",
          "reserved_microusd",
          "report_expired"
        ],
        "title": "RunReceipt",
        "type": "object"
      },
      "RunRecord": {
        "additionalProperties": false,
        "properties": {
          "agent": {
            "anyOf": [
              {
                "additionalProperties": {
                  "$ref": "#/components/schemas/JsonValue-Output"
                },
                "type": "object"
              },
              {
                "type": "null"
              }
            ],
            "title": "Agent"
          },
          "agent_identity_sha256": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "The agent's comparison identity (registry pin or command digest).",
            "title": "Agent Identity Sha256"
          },
          "agents": {
            "anyOf": [
              {
                "items": {
                  "additionalProperties": {
                    "$ref": "#/components/schemas/JsonValue-Output"
                  },
                  "type": "object"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "title": "Agents"
          },
          "artifact_verification": {
            "anyOf": [
              {
                "enum": [
                  "registry_pinned",
                  "unverified_upstream",
                  "customer_declared"
                ],
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "How the agent's installed artifact was verified.",
            "title": "Artifact Verification"
          },
          "billing_state": {
            "enum": [
              "pending",
              "settled",
              "reconciliation_required"
            ],
            "title": "Billing State",
            "type": "string"
          },
          "cancel_requested_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Cancel Requested At"
          },
          "cap_microusd": {
            "anyOf": [
              {
                "pattern": "^[0-9]+$",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "Customer or service spending cap: new work stops when the cap or the workspace balance cannot fund the next call; calls already running finish and are charged. Omitted for new wallet-funded evaluations.",
            "title": "Cap Microusd"
          },
          "client_agent": {
            "anyOf": [
              {
                "additionalProperties": {
                  "$ref": "#/components/schemas/JsonValue-Output"
                },
                "type": "object"
              },
              {
                "type": "null"
              }
            ],
            "description": "The ACP agent an agent evaluation ran, as quoted.",
            "title": "Client Agent"
          },
          "completed_count": {
            "title": "Completed Count",
            "type": "integer"
          },
          "concurrency": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/ConcurrencyPlan"
              },
              {
                "type": "null"
              }
            ]
          },
          "concurrency_observation": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/ConcurrencyObservation"
              },
              {
                "type": "null"
              }
            ]
          },
          "configuration": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/RunConfiguration"
              },
              {
                "type": "null"
              }
            ],
            "description": "The run's benchmark configuration: standard, custom (not comparable with the benchmark's standard results) or legacy."
          },
          "coverage": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/CoverageRecord"
              },
              {
                "type": "null"
              }
            ]
          },
          "created_at": {
            "format": "date-time",
            "title": "Created At",
            "type": "string"
          },
          "error_count": {
            "title": "Error Count",
            "type": "integer"
          },
          "execution_assurance": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "How EvalRouter can vouch for this run's execution (agent contract v1). An open set; accept unknown values. `hosted_enforced`: EvalRouter executed it (its own run, or a hosted agent in a network-blocked sandbox from a pinned build), every model call through its gateway. `client_reported`: the agent ran on the customer's machine; `remote_unsealed`: on the customer's infrastructure (A2A). For those two only the gateway calls and submissions EvalRouter received are authoritative. `customer_record`: evidence the customer recorded and imported; nothing ran on EvalRouter.",
            "title": "Execution Assurance"
          },
          "execution_mode": {
            "anyOf": [
              {
                "const": "client_run",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "Present on agent evaluations run by the customer's CLI or SDK (the agent ran on the customer's machine against the metered gateway).",
            "title": "Execution Mode"
          },
          "finished_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Finished At"
          },
          "funding_policy": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/RunFundingPolicy"
              },
              {
                "type": "null"
              }
            ],
            "description": "New one-time evaluations fund each admitted operation from wallet credit. Historical direct native runs retain their original spending-cap policy. Omitted for prepaid quote runs."
          },
          "id": {
            "format": "uuid",
            "title": "Id",
            "type": "string"
          },
          "interruption": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/RunInterruption"
              },
              {
                "type": "null"
              }
            ],
            "description": "Present when the run stopped early (spending cap, wallet credit or cancellation) with unfinished tasks."
          },
          "labels": {
            "anyOf": [
              {
                "additionalProperties": {
                  "$ref": "#/components/schemas/JsonValue-Output"
                },
                "type": "object"
              },
              {
                "type": "null"
              }
            ],
            "description": "Evidence labels, `{schema: evalrouter.evidence-labels.v1, set: [...]}`: `observed`, plus `custom`, `variant` or `budget_limited` where they apply. Benchmark statistics admit only exactly `{observed}`. Absent on results finalized before labels.",
            "title": "Labels"
          },
          "manifest_hash": {
            "title": "Manifest Hash",
            "type": "string"
          },
          "metadata": {
            "additionalProperties": {
              "type": "string"
            },
            "title": "Metadata",
            "type": "object"
          },
          "model": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/SelectedModel"
              },
              {
                "$ref": "#/components/schemas/ComparisonModel"
              }
            ],
            "title": "Model"
          },
          "name": {
            "title": "Name",
            "type": "string"
          },
          "planned_count": {
            "title": "Planned Count",
            "type": "integer"
          },
          "profiles": {
            "items": {
              "$ref": "#/components/schemas/ProfileSelection"
            },
            "title": "Profiles",
            "type": "array"
          },
          "progress": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/RunProgress"
              },
              {
                "type": "null"
              }
            ],
            "description": "Present when one run is read: GET /v1/runs/{run_id}."
          },
          "queue": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/RunQueue"
              },
              {
                "type": "null"
              }
            ]
          },
          "reserved_microusd": {
            "description": "Credit set aside for the run's running work (its open leases and fixed fees), not its cap.",
            "pattern": "^[0-9]+$",
            "title": "Reserved Microusd",
            "type": "string"
          },
          "retention": {
            "$ref": "#/components/schemas/RunRetention"
          },
          "retry_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Retry At"
          },
          "route": {
            "anyOf": [
              {
                "additionalProperties": {
                  "$ref": "#/components/schemas/JsonValue-Output"
                },
                "type": "object"
              },
              {
                "type": "null"
              }
            ],
            "title": "Route"
          },
          "source_run_id": {
            "anyOf": [
              {
                "format": "uuid",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "The run a continuation continues. Absent otherwise.",
            "title": "Source Run Id"
          },
          "spend_microusd": {
            "description": "What the run has been charged. Calls already running when its cap is reached are charged, so spend can pass the cap slightly.",
            "pattern": "^[0-9]+$",
            "title": "Spend Microusd",
            "type": "string"
          },
          "started_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Started At"
          },
          "status": {
            "enum": [
              "queued",
              "running",
              "cancelling",
              "finalizing",
              "completed",
              "partial",
              "failed",
              "cancelled"
            ],
            "title": "Status",
            "type": "string"
          },
          "task_protocol": {
            "anyOf": [
              {
                "additionalProperties": {
                  "$ref": "#/components/schemas/JsonValue-Output"
                },
                "type": "object"
              },
              {
                "type": "null"
              }
            ],
            "description": "The frozen task protocol receipt's public projection (`PublicReceipt` in contracts/task-protocol.schema.json): `public`, `public_sha256` and `receipt_sha256`, never its hidden partition. Present on task protocol v2 runs and quotes.",
            "title": "Task Protocol"
          },
          "terminal_reason": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Terminal Reason"
          },
          "waiting_reason": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Waiting Reason"
          }
        },
        "required": [
          "id",
          "name",
          "metadata",
          "status",
          "terminal_reason",
          "billing_state",
          "planned_count",
          "completed_count",
          "error_count",
          "cancel_requested_at",
          "started_at",
          "finished_at",
          "created_at",
          "manifest_hash",
          "spend_microusd",
          "reserved_microusd",
          "model",
          "coverage",
          "profiles",
          "retention"
        ],
        "title": "RunRecord",
        "type": "object"
      },
      "ConcurrencyObservation": {
        "additionalProperties": false,
        "properties": {
          "in_flight": {
            "minimum": 0.0,
            "title": "In Flight",
            "type": "integer"
          },
          "observed_at": {
            "format": "date-time",
            "title": "Observed At",
            "type": "string"
          },
          "source": {
            "const": "gateway_dispatch_records",
            "title": "Source",
            "type": "string"
          },
          "uncertain": {
            "minimum": 0.0,
            "title": "Uncertain",
            "type": "integer"
          }
        },
        "required": [
          "source",
          "observed_at",
          "in_flight",
          "uncertain"
        ],
        "title": "ConcurrencyObservation",
        "type": "object"
      },
      "RunInterruption": {
        "additionalProperties": false,
        "description": "A run that stopped before every task finished. Clients show it as Interrupted.",
        "properties": {
          "continuable": {
            "description": "True when a continuation quote (`POST /v1/quotes {kind: continuation, from_run}`) can price the unfinished tasks now. A continuation charges only those tasks. Finished ones are reused at no charge.",
            "title": "Continuable",
            "type": "boolean"
          },
          "continued_by": {
            "anyOf": [
              {
                "format": "uuid",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "The run that continues this one, once started. It reuses this run's finished tasks, so it holds the complete result. This run's comparison read follows it.",
            "title": "Continued By"
          },
          "reason": {
            "description": "spending_cap_reached: the run's cap. out_of_credit: the wallet ran out. cancelled: someone cancelled it.",
            "enum": [
              "spending_cap_reached",
              "out_of_credit",
              "cancelled"
            ],
            "title": "Reason",
            "type": "string"
          },
          "unfinished_count": {
            "description": "Planned task attempts, across every model, that were not graded.",
            "minimum": 0.0,
            "title": "Unfinished Count",
            "type": "integer"
          }
        },
        "required": [
          "reason",
          "unfinished_count",
          "continuable"
        ],
        "title": "RunInterruption",
        "type": "object"
      },
      "RunProgress": {
        "additionalProperties": false,
        "description": "Server-computed progress, shared by every client. Not a score.",
        "properties": {
          "cancelled": {
            "title": "Cancelled",
            "type": "integer"
          },
          "elapsed_seconds": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Elapsed Seconds"
          },
          "errors": {
            "title": "Errors",
            "type": "integer"
          },
          "eta_seconds": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "description": "A rough extrapolation of the recent rate, not a promise: task durations, capacity waits and retries move it. 0 once the run ended, null without a recent rate (queued, waiting, cancelling, finalizing). EvalRouter's CLI does not show it.",
            "title": "Eta Seconds"
          },
          "graded": {
            "title": "Graded",
            "type": "integer"
          },
          "observed_at": {
            "format": "date-time",
            "title": "Observed At",
            "type": "string"
          },
          "pending": {
            "title": "Pending",
            "type": "integer"
          },
          "percent": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "description": "Processed share of planned samples, 0-100.",
            "title": "Percent"
          },
          "phase": {
            "description": "The run status, or `waiting` while capacity holds every sample back.",
            "enum": [
              "queued",
              "waiting",
              "running",
              "cancelling",
              "finalizing",
              "completed",
              "partial",
              "failed",
              "cancelled"
            ],
            "title": "Phase",
            "type": "string"
          },
          "planned": {
            "title": "Planned",
            "type": "integer"
          },
          "processed": {
            "description": "Graded, errored, budget-skipped and cancelled samples.",
            "title": "Processed",
            "type": "integer"
          },
          "rate_per_minute": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "description": "Samples finished per minute over the last five minutes.",
            "title": "Rate Per Minute"
          },
          "running": {
            "title": "Running",
            "type": "integer"
          },
          "skipped_budget": {
            "title": "Skipped Budget",
            "type": "integer"
          },
          "waiting_reason": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Waiting Reason"
          }
        },
        "required": [
          "phase",
          "planned",
          "processed",
          "graded",
          "errors",
          "skipped_budget",
          "cancelled",
          "running",
          "pending",
          "percent",
          "elapsed_seconds",
          "rate_per_minute",
          "eta_seconds",
          "waiting_reason",
          "observed_at"
        ],
        "title": "RunProgress",
        "type": "object"
      },
      "RunQueue": {
        "additionalProperties": false,
        "description": "Aggregate fair-share queue state for one run (no other workspace's details).",
        "properties": {
          "eta_basis": {
            "anyOf": [
              {
                "enum": [
                  "retry_at",
                  "worker_start"
                ],
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "retry_at: eta_seconds is the scheduled retry. worker_start: a worker is being started for queued work (no time given).",
            "title": "Eta Basis"
          },
          "eta_seconds": {
            "anyOf": [
              {
                "minimum": 0.0,
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "description": "Seconds until the next retry (eta_basis retry_at). Null when no time is known. EvalRouter does not estimate when a capacity wait ends.",
            "title": "Eta Seconds"
          },
          "live_workers": {
            "description": "Deprecated for display: an internal fleet size, not customer capacity.",
            "minimum": 0.0,
            "title": "Live Workers",
            "type": "integer"
          },
          "observed_at": {
            "format": "date-time",
            "title": "Observed At",
            "type": "string"
          },
          "own_runs_ahead": {
            "default": 0,
            "description": "This workspace's runs ahead of this one.",
            "minimum": 0.0,
            "title": "Own Runs Ahead",
            "type": "integer"
          },
          "position": {
            "anyOf": [
              {
                "minimum": 1.0,
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "description": "Deprecated for display: moves with other workspaces' queued work. Estimated 1-based position of this run's next unit in the fleet-wide fair order.",
            "title": "Position"
          },
          "quota_kind": {
            "anyOf": [
              {
                "enum": [
                  "active_runs",
                  "running_units",
                  "inflight_calls"
                ],
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "With workspace_quota: which of this workspace's own limits holds the run.",
            "title": "Quota Kind"
          },
          "quota_limit": {
            "anyOf": [
              {
                "minimum": 1.0,
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "description": "With workspace_quota: that limit's value.",
            "title": "Quota Limit"
          },
          "units_ahead": {
            "description": "Deprecated for display: fleet-wide, includes other workspaces.",
            "minimum": 0.0,
            "title": "Units Ahead",
            "type": "integer"
          },
          "waiting_reason": {
            "anyOf": [
              {
                "enum": [
                  "workspace_quota",
                  "fair_share",
                  "platform_capacity",
                  "retry_backoff"
                ],
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Waiting Reason"
          }
        },
        "required": [
          "units_ahead",
          "live_workers",
          "observed_at"
        ],
        "title": "RunQueue",
        "type": "object"
      },
      "RunRetention": {
        "additionalProperties": false,
        "properties": {
          "raw_evidence_deleted_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "When the raw evidence was deleted. Omitted while it exists.",
            "title": "Raw Evidence Deleted At"
          },
          "raw_evidence_expired": {
            "description": "True once the raw evidence was deleted.",
            "title": "Raw Evidence Expired",
            "type": "boolean"
          },
          "raw_expires_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "When your workspace's evidence retention rule deletes this raw evidence. Omitted when no rule applies: it is kept until you delete it.",
            "title": "Raw Expires At"
          },
          "summary_expires_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "Omitted: results are kept until you delete the evaluation.",
            "title": "Summary Expires At"
          }
        },
        "required": [
          "raw_evidence_expired"
        ],
        "title": "RunRetention",
        "type": "object"
      },
      "SampleCoverage": {
        "additionalProperties": false,
        "properties": {
          "mode": {
            "const": "sample",
            "default": "sample",
            "title": "Mode",
            "type": "string"
          },
          "sample_count": {
            "default": 25,
            "maximum": 1000.0,
            "minimum": 1.0,
            "title": "Sample Count",
            "type": "integer"
          },
          "seed": {
            "default": 42,
            "maximum": 4294967295.0,
            "minimum": 0.0,
            "title": "Seed",
            "type": "integer"
          }
        },
        "title": "SampleCoverage",
        "type": "object"
      },
      "SandboxExecutionPage": {
        "additionalProperties": false,
        "properties": {
          "data": {
            "items": {
              "$ref": "#/components/schemas/SandboxExecutionRecord"
            },
            "title": "Data",
            "type": "array"
          },
          "next_cursor": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Next Cursor"
          },
          "summary": {
            "$ref": "#/components/schemas/SandboxExecutionSummary"
          }
        },
        "required": [
          "data",
          "next_cursor",
          "summary"
        ],
        "title": "SandboxExecutionPage",
        "type": "object"
      },
      "SandboxExecutionRecord": {
        "additionalProperties": false,
        "properties": {
          "attempt_no": {
            "title": "Attempt No",
            "type": "integer"
          },
          "cleanup_status": {
            "enum": [
              "not_requested",
              "pending",
              "stopped"
            ],
            "title": "Cleanup Status",
            "type": "string"
          },
          "cpu_millis": {
            "title": "Cpu Millis",
            "type": "integer"
          },
          "created_at": {
            "format": "date-time",
            "title": "Created At",
            "type": "string"
          },
          "error_code": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Error Code"
          },
          "execution_started_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Execution Started At"
          },
          "id": {
            "format": "uuid",
            "title": "Id",
            "type": "string"
          },
          "memory_mib": {
            "title": "Memory Mib",
            "type": "integer"
          },
          "model_index": {
            "title": "Model Index",
            "type": "integer"
          },
          "profile_id": {
            "title": "Profile Id",
            "type": "string"
          },
          "sample_id": {
            "format": "uuid",
            "title": "Sample Id",
            "type": "string"
          },
          "status": {
            "enum": [
              "intent",
              "creating",
              "ready",
              "executing",
              "finished",
              "stopping",
              "stopped"
            ],
            "title": "Status",
            "type": "string"
          },
          "stopped_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Stopped At"
          },
          "task_id": {
            "title": "Task Id",
            "type": "string"
          },
          "timeout_seconds": {
            "title": "Timeout Seconds",
            "type": "integer"
          },
          "verifier_result_recorded": {
            "title": "Verifier Result Recorded",
            "type": "boolean"
          }
        },
        "required": [
          "id",
          "sample_id",
          "task_id",
          "profile_id",
          "model_index",
          "attempt_no",
          "status",
          "cleanup_status",
          "cpu_millis",
          "memory_mib",
          "timeout_seconds",
          "created_at",
          "execution_started_at",
          "stopped_at",
          "error_code",
          "verifier_result_recorded"
        ],
        "title": "SandboxExecutionRecord",
        "type": "object"
      },
      "SandboxExecutionSummary": {
        "additionalProperties": false,
        "properties": {
          "active_count": {
            "title": "Active Count",
            "type": "integer"
          },
          "allocated_count": {
            "title": "Allocated Count",
            "type": "integer"
          },
          "cleanup_pending_count": {
            "title": "Cleanup Pending Count",
            "type": "integer"
          },
          "stopped_count": {
            "title": "Stopped Count",
            "type": "integer"
          }
        },
        "required": [
          "allocated_count",
          "active_count",
          "cleanup_pending_count",
          "stopped_count"
        ],
        "title": "SandboxExecutionSummary",
        "type": "object"
      },
      "SandboxPolicyView": {
        "additionalProperties": false,
        "properties": {
          "backend": {
            "type": "string"
          },
          "cpu_millis": {
            "default": 1000,
            "maximum": 1000.0,
            "minimum": 125.0,
            "title": "Cpu Millis",
            "type": "integer"
          },
          "execution_class": {
            "type": "string"
          },
          "execution_fee_microusd": {
            "pattern": "^[0-9]+$",
            "title": "Execution Fee Microusd",
            "type": "string"
          },
          "image_id": {
            "pattern": "^im-[A-Za-z0-9_-]+$",
            "title": "Image Id",
            "type": "string"
          },
          "image_sha256": {
            "pattern": "^(c1:[A-Za-z0-9_-]{1,32}:)?[0-9a-f]{64}$",
            "title": "Image Sha256",
            "type": "string"
          },
          "max_infrastructure_attempts": {
            "type": "integer"
          },
          "memory_mib": {
            "default": 2048,
            "maximum": 2048.0,
            "minimum": 128.0,
            "title": "Memory Mib",
            "type": "integer"
          },
          "network": {
            "type": "string"
          },
          "price_version": {
            "maxLength": 120,
            "minLength": 1,
            "title": "Price Version",
            "type": "string"
          },
          "schema_version": {
            "const": 1,
            "default": 1,
            "title": "Schema Version",
            "type": "integer"
          },
          "timeout_seconds": {
            "default": 300,
            "maximum": 360.0,
            "minimum": 1.0,
            "title": "Timeout Seconds",
            "type": "integer"
          }
        },
        "required": [
          "image_id",
          "image_sha256",
          "execution_fee_microusd",
          "price_version"
        ],
        "title": "SandboxPolicyView",
        "type": "object"
      },
      "SecretHeader": {
        "additionalProperties": false,
        "properties": {
          "name": {
            "maxLength": 64,
            "minLength": 1,
            "title": "Name",
            "type": "string"
          },
          "value": {
            "format": "password",
            "title": "Value",
            "type": "string",
            "writeOnly": true
          }
        },
        "required": [
          "name",
          "value"
        ],
        "title": "SecretHeader",
        "type": "object"
      },
      "SelectedModel": {
        "additionalProperties": false,
        "properties": {
          "account_id": {
            "anyOf": [
              {
                "format": "uuid",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Account Id"
          },
          "account_kind": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Account Kind"
          },
          "account_revision": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Account Revision"
          },
          "artifact_id": {
            "anyOf": [
              {
                "format": "uuid",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Artifact Id"
          },
          "artifact_sha256": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Artifact Sha256"
          },
          "capabilities": {
            "items": {
              "type": "string"
            },
            "title": "Capabilities",
            "type": "array"
          },
          "connection_id": {
            "anyOf": [
              {
                "format": "uuid",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Connection Id"
          },
          "generation": {
            "anyOf": [
              {
                "additionalProperties": {
                  "$ref": "#/components/schemas/JsonValue-Output"
                },
                "type": "object"
              },
              {
                "type": "null"
              }
            ],
            "title": "Generation"
          },
          "kind": {
            "type": "string"
          },
          "likelihood": {
            "anyOf": [
              {
                "additionalProperties": {
                  "$ref": "#/components/schemas/JsonValue-Output"
                },
                "type": "object"
              },
              {
                "type": "null"
              }
            ],
            "title": "Likelihood"
          },
          "limits": {
            "additionalProperties": {
              "$ref": "#/components/schemas/JsonValue-Output"
            },
            "title": "Limits",
            "type": "object"
          },
          "model_id": {
            "title": "Model Id",
            "type": "string"
          },
          "price_version": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Price Version"
          },
          "pricing": {
            "anyOf": [
              {
                "additionalProperties": {
                  "$ref": "#/components/schemas/JsonValue-Output"
                },
                "type": "object"
              },
              {
                "type": "null"
              }
            ],
            "description": "Your price for this model route, in micro-USD per million tokens (and per request where one applies), with any EvalRouter margin already included. Route margins, provider cost and provider price sources are internal and never returned.",
            "title": "Pricing"
          },
          "protocol": {
            "title": "Protocol",
            "type": "string"
          },
          "provider_charges": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Provider Charges"
          },
          "reasoning_budget_choice": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/ReasoningBudgetChoice"
              },
              {
                "type": "null"
              }
            ]
          },
          "reasoning_choice": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/ReasoningChoice"
              },
              {
                "type": "null"
              }
            ]
          },
          "revision": {
            "title": "Revision",
            "type": "integer"
          },
          "route_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Route Id"
          },
          "routing": {
            "anyOf": [
              {
                "additionalProperties": {
                  "$ref": "#/components/schemas/JsonValue-Output"
                },
                "type": "object"
              },
              {
                "type": "null"
              }
            ],
            "title": "Routing"
          },
          "target_settings": {
            "anyOf": [
              {
                "additionalProperties": {
                  "$ref": "#/components/schemas/JsonValue-Output"
                },
                "type": "object"
              },
              {
                "type": "null"
              }
            ],
            "description": "A connection setting EvalRouter applies for this run, frozen at quote time: {\"reasoning\": \"off\", \"control\": ...} when the benchmark requires a non-reasoning model and the connection reasons by default but passed its off-switch check.",
            "title": "Target Settings"
          }
        },
        "required": [
          "kind",
          "model_id",
          "revision",
          "protocol",
          "capabilities",
          "limits"
        ],
        "title": "SelectedModel",
        "type": "object"
      },
      "ReasoningBudgetChoice": {
        "additionalProperties": false,
        "description": "A thinking budget chosen for this quote (`reasoning_budget_tokens`), frozen with the plan.\n\n`budget_tokens` is what the provider receives (also in `routing.budget_tokens`).\n`route_default` is the route's own default. Absent when the quote used it.",
        "properties": {
          "budget_tokens": {
            "title": "Budget Tokens",
            "type": "integer"
          },
          "capability": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/ReasoningCapabilityEvidence"
              },
              {
                "type": "null"
              }
            ]
          },
          "policy": {
            "title": "Policy",
            "type": "string"
          },
          "route_default": {
            "title": "Route Default",
            "type": "integer"
          },
          "source": {
            "const": "request",
            "title": "Source",
            "type": "string"
          }
        },
        "required": [
          "budget_tokens",
          "route_default",
          "source",
          "policy"
        ],
        "title": "ReasoningBudgetChoice",
        "type": "object"
      },
      "ReasoningChoice": {
        "additionalProperties": false,
        "description": "A reasoning effort chosen for this quote (`reasoning_effort`), frozen with the plan.\n\n`effort` is what the provider receives (also in `generation` or, on a direct\nGemini route, `routing.thinking_level`). `route_default` is the route's own\npinned setting. Absent when the quote used the route default.",
        "properties": {
          "capability": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/ReasoningCapabilityEvidence"
              },
              {
                "type": "null"
              }
            ]
          },
          "effort": {
            "enum": [
              "none",
              "low",
              "medium",
              "high",
              "xhigh",
              "max"
            ],
            "title": "Effort",
            "type": "string"
          },
          "policy": {
            "title": "Policy",
            "type": "string"
          },
          "route_default": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Route Default"
          },
          "source": {
            "const": "request",
            "title": "Source",
            "type": "string"
          }
        },
        "required": [
          "effort",
          "route_default",
          "source",
          "policy"
        ],
        "title": "ReasoningChoice",
        "type": "object"
      },
      "SourceCreated": {
        "additionalProperties": false,
        "properties": {
          "created": {
            "title": "Created",
            "type": "integer"
          },
          "dataset_id": {
            "format": "uuid",
            "title": "Dataset Id",
            "type": "string"
          },
          "example_ids": {
            "items": {
              "format": "uuid",
              "type": "string"
            },
            "title": "Example Ids",
            "type": "array"
          },
          "next_cursor": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Next Cursor"
          },
          "run_manifest_sha256": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Run Manifest Sha256"
          },
          "source_training_eligible": {
            "anyOf": [
              {
                "const": false,
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ],
            "title": "Source Training Eligible"
          }
        },
        "required": [
          "dataset_id",
          "created",
          "example_ids"
        ],
        "title": "SourceCreated",
        "type": "object"
      },
      "Subject": {
        "additionalProperties": false,
        "description": "One model a multi-model run evaluates on the run's tasks.",
        "properties": {
          "model": {
            "discriminator": {
              "mapping": {
                "connection": "#/components/schemas/ConnectedModel",
                "managed": "#/components/schemas/ManagedModel"
              },
              "propertyName": "kind"
            },
            "oneOf": [
              {
                "$ref": "#/components/schemas/ManagedModel"
              },
              {
                "$ref": "#/components/schemas/ConnectedModel"
              }
            ],
            "title": "Model"
          },
          "reasoning_effort": {
            "anyOf": [
              {
                "enum": [
                  "none",
                  "low",
                  "medium",
                  "high",
                  "xhigh",
                  "max"
                ],
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "This subject's reasoning effort. Omit to use the quote's `reasoning_effort` (or the route's default). Refused before any charge when the route cannot run it.",
            "title": "Reasoning Effort"
          }
        },
        "required": [
          "model"
        ],
        "title": "Subject",
        "type": "object"
      },
      "Suite": {
        "additionalProperties": false,
        "properties": {
          "suite_version_id": {
            "format": "uuid",
            "title": "Suite Version Id",
            "type": "string"
          }
        },
        "required": [
          "suite_version_id"
        ],
        "title": "Suite",
        "type": "object"
      },
      "TaskCoverage": {
        "additionalProperties": false,
        "properties": {
          "mode": {
            "const": "tasks",
            "default": "tasks",
            "title": "Mode",
            "type": "string"
          },
          "task_ids": {
            "items": {
              "type": "string"
            },
            "maxItems": 1000,
            "minItems": 1,
            "title": "Task Ids",
            "type": "array"
          }
        },
        "required": [
          "task_ids"
        ],
        "title": "TaskCoverage",
        "type": "object"
      },
      "TraceEvaluatorGrader": {
        "additionalProperties": false,
        "description": "Grade with one version of a model-judge trace evaluator.",
        "properties": {
          "evaluator_id": {
            "description": "The evaluator version (`GET /v1/traces/evaluators` `id`) whose rubric and judge route grade the evidence.",
            "format": "uuid",
            "title": "Evaluator Id",
            "type": "string"
          },
          "kind": {
            "const": "trace_evaluator",
            "title": "Kind",
            "type": "string"
          }
        },
        "required": [
          "kind",
          "evaluator_id"
        ],
        "title": "TraceEvaluatorGrader",
        "type": "object"
      },
      "TraceEvidence": {
        "additionalProperties": false,
        "description": "Completed live traces in this workspace, each graded once as a whole.",
        "properties": {
          "kind": {
            "const": "traces",
            "title": "Kind",
            "type": "string"
          },
          "trace_ids": {
            "items": {
              "format": "uuid",
              "type": "string"
            },
            "maxItems": 500,
            "minItems": 1,
            "title": "Trace Ids",
            "type": "array"
          }
        },
        "required": [
          "kind",
          "trace_ids"
        ],
        "title": "TraceEvidence",
        "type": "object"
      },
      "TraceIntegrationPage": {
        "additionalProperties": false,
        "properties": {
          "data": {
            "items": {
              "$ref": "#/components/schemas/TraceIntegrationView"
            },
            "title": "Data",
            "type": "array"
          },
          "next_cursor": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Next Cursor"
          }
        },
        "required": [
          "data"
        ],
        "title": "TraceIntegrationPage",
        "type": "object"
      },
      "TraceIntegrationView": {
        "additionalProperties": false,
        "properties": {
          "connection_id": {
            "format": "uuid",
            "title": "Connection Id",
            "type": "string"
          },
          "consecutive_errors": {
            "title": "Consecutive Errors",
            "type": "integer"
          },
          "created_at": {
            "format": "date-time",
            "title": "Created At",
            "type": "string"
          },
          "deferred_root_count": {
            "title": "Deferred Root Count",
            "type": "integer"
          },
          "error_count": {
            "title": "Error Count",
            "type": "integer"
          },
          "generation": {
            "title": "Generation",
            "type": "integer"
          },
          "id": {
            "format": "uuid",
            "title": "Id",
            "type": "string"
          },
          "imported_span_count": {
            "title": "Imported Span Count",
            "type": "integer"
          },
          "imported_trace_count": {
            "title": "Imported Trace Count",
            "type": "integer"
          },
          "last_error_code": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Last Error Code"
          },
          "last_poll_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Last Poll At"
          },
          "last_success_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Last Success At"
          },
          "next_poll_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Next Poll At"
          },
          "poll_interval_seconds": {
            "title": "Poll Interval Seconds",
            "type": "integer"
          },
          "project_id": {
            "title": "Project Id",
            "type": "string"
          },
          "project_name": {
            "title": "Project Name",
            "type": "string"
          },
          "provider": {
            "enum": [
              "langsmith",
              "braintrust",
              "langfuse"
            ],
            "title": "Provider",
            "type": "string"
          },
          "region": {
            "enum": [
              "us",
              "eu",
              "global"
            ],
            "title": "Region",
            "type": "string"
          },
          "status": {
            "enum": [
              "active",
              "paused",
              "disconnected"
            ],
            "title": "Status",
            "type": "string"
          },
          "updated_at": {
            "format": "date-time",
            "title": "Updated At",
            "type": "string"
          }
        },
        "required": [
          "id",
          "connection_id",
          "provider",
          "region",
          "project_id",
          "project_name",
          "status",
          "generation",
          "next_poll_at",
          "last_poll_at",
          "last_success_at",
          "last_error_code",
          "consecutive_errors",
          "error_count",
          "imported_trace_count",
          "imported_span_count",
          "deferred_root_count",
          "created_at",
          "updated_at",
          "poll_interval_seconds"
        ],
        "title": "TraceIntegrationView",
        "type": "object"
      },
      "TrainingArtifactModel": {
        "additionalProperties": false,
        "properties": {
          "artifact_id": {
            "format": "uuid",
            "title": "Artifact Id",
            "type": "string"
          },
          "kind": {
            "const": "training_artifact",
            "title": "Kind",
            "type": "string"
          },
          "seed": {
            "default": 42,
            "maximum": 2147483647.0,
            "minimum": 0.0,
            "title": "Seed",
            "type": "integer"
          },
          "temperature": {
            "default": 0,
            "maximum": 2.0,
            "minimum": 0.0,
            "title": "Temperature",
            "type": "number"
          }
        },
        "required": [
          "kind",
          "artifact_id"
        ],
        "title": "TrainingArtifactModel",
        "type": "object"
      },
      "TuneAgent": {
        "additionalProperties": false,
        "properties": {
          "agent_id": {
            "anyOf": [
              {
                "maxLength": 300,
                "minLength": 1,
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Agent Id"
          },
          "environment_ref": {
            "anyOf": [
              {
                "maxLength": 300,
                "minLength": 1,
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Environment Ref"
          },
          "improvement_project_id": {
            "format": "uuid",
            "title": "Improvement Project Id",
            "type": "string"
          },
          "source_candidate_id": {
            "anyOf": [
              {
                "format": "uuid",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Source Candidate Id"
          }
        },
        "required": [
          "improvement_project_id"
        ],
        "title": "TuneAgent",
        "type": "object"
      },
      "TuneAgentQuote": {
        "additionalProperties": false,
        "properties": {
          "candidates": {
            "items": {
              "$ref": "#/components/schemas/TuneCandidateQuote"
            },
            "title": "Candidates",
            "type": "array"
          },
          "cycle_id": {
            "format": "uuid",
            "title": "Cycle Id",
            "type": "string"
          },
          "environment_ref": {
            "title": "Environment Ref",
            "type": "string"
          },
          "expires_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Expires At"
          },
          "finalist_split": {
            "const": "held_out",
            "title": "Finalist Split",
            "type": "string"
          },
          "id": {
            "format": "uuid",
            "title": "Id",
            "type": "string"
          },
          "max_charge_microusd": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Max Charge Microusd"
          },
          "mode": {
            "const": "agent",
            "title": "Mode",
            "type": "string"
          },
          "objective": {
            "additionalProperties": true,
            "title": "Objective",
            "type": "object"
          },
          "project_id": {
            "format": "uuid",
            "title": "Project Id",
            "type": "string"
          },
          "remote_scoring_estimate": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/TuneRemoteScoringEstimate"
              },
              {
                "type": "null"
              }
            ]
          },
          "search": {
            "additionalProperties": true,
            "title": "Search",
            "type": "object"
          },
          "validation_split": {
            "const": "validation",
            "title": "Validation Split",
            "type": "string"
          }
        },
        "required": [
          "id",
          "mode",
          "project_id",
          "cycle_id",
          "environment_ref",
          "objective",
          "search",
          "max_charge_microusd",
          "validation_split",
          "finalist_split",
          "candidates"
        ],
        "title": "TuneAgentQuote",
        "type": "object"
      },
      "TuneApproval": {
        "additionalProperties": false,
        "properties": {
          "confirmed_case_ids": {
            "items": {
              "type": "string"
            },
            "maxItems": 100,
            "title": "Confirmed Case Ids",
            "type": "array"
          },
          "draft_revision": {
            "minimum": 1.0,
            "title": "Draft Revision",
            "type": "integer"
          },
          "judge_route_id": {
            "anyOf": [
              {
                "maxLength": 200,
                "minLength": 3,
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Judge Route Id"
          },
          "judge_votes": {
            "default": 1,
            "enum": [
              1,
              3
            ],
            "title": "Judge Votes",
            "type": "integer"
          },
          "sampling": {
            "default": "auto",
            "enum": [
              "auto",
              "deterministic",
              "provider_default"
            ],
            "title": "Sampling",
            "type": "string"
          }
        },
        "required": [
          "draft_revision"
        ],
        "title": "TuneApproval",
        "type": "object"
      },
      "TuneCandidateQuote": {
        "additionalProperties": false,
        "properties": {
          "expected_charge_microusd": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Expected Charge Microusd"
          },
          "expires_at": {
            "format": "date-time",
            "title": "Expires At",
            "type": "string"
          },
          "index": {
            "title": "Index",
            "type": "integer"
          },
          "kind": {
            "default": "agent_config",
            "enum": [
              "agent_config",
              "code"
            ],
            "title": "Kind",
            "type": "string"
          },
          "policy": {
            "additionalProperties": {
              "type": "string"
            },
            "title": "Policy",
            "type": "object"
          },
          "policy_patch": {
            "additionalProperties": {
              "type": "string"
            },
            "title": "Policy Patch",
            "type": "object"
          },
          "policy_route_ids": {
            "additionalProperties": {
              "type": "string"
            },
            "title": "Policy Route Ids",
            "type": "object"
          },
          "primary_route_id": {
            "title": "Primary Route Id",
            "type": "string"
          },
          "quote_id": {
            "format": "uuid",
            "title": "Quote Id",
            "type": "string"
          },
          "route_ids": {
            "items": {
              "type": "string"
            },
            "title": "Route Ids",
            "type": "array"
          },
          "worst_case_charge_microusd": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Worst Case Charge Microusd"
          }
        },
        "required": [
          "index",
          "policy",
          "route_ids",
          "primary_route_id",
          "expected_charge_microusd",
          "worst_case_charge_microusd",
          "quote_id",
          "expires_at"
        ],
        "title": "TuneCandidateQuote",
        "type": "object"
      },
      "TuneDraftPatch": {
        "additionalProperties": false,
        "properties": {
          "call_spec": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/TuneCallSpecPatch"
              },
              {
                "type": "null"
              }
            ]
          },
          "cases": {
            "anyOf": [
              {
                "items": {
                  "$ref": "#/components/schemas/TuneCasePatch"
                },
                "maxItems": 100,
                "minItems": 5,
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "title": "Cases"
          },
          "draft_revision": {
            "minimum": 1.0,
            "title": "Draft Revision",
            "type": "integer"
          },
          "grader": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/TuneGraderPatch"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "draft_revision"
        ],
        "title": "TuneDraftPatch",
        "type": "object"
      },
      "TuneCallSpecPatch": {
        "additionalProperties": false,
        "properties": {
          "max_output_tokens": {
            "anyOf": [
              {
                "maximum": 32768.0,
                "minimum": 1.0,
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Max Output Tokens"
          },
          "model": {
            "anyOf": [
              {
                "maxLength": 200,
                "minLength": 1,
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Model"
          },
          "prompt_template": {
            "anyOf": [
              {
                "maxLength": 20000,
                "minLength": 1,
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Prompt Template"
          },
          "reasoning_effort": {
            "anyOf": [
              {
                "enum": [
                  "none",
                  "minimal",
                  "low",
                  "medium",
                  "high",
                  "xhigh",
                  "max"
                ],
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Reasoning Effort"
          },
          "system_prompt": {
            "anyOf": [
              {
                "maxLength": 20000,
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "System Prompt"
          }
        },
        "title": "TuneCallSpecPatch",
        "type": "object"
      },
      "TuneCasePatch": {
        "additionalProperties": false,
        "properties": {
          "expected": {
            "title": "Expected"
          },
          "id": {
            "anyOf": [
              {
                "pattern": "^case-[0-9]{2,3}$",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Id"
          },
          "inputs": {
            "additionalProperties": {
              "type": "string"
            },
            "title": "Inputs",
            "type": "object"
          },
          "origin": {
            "anyOf": [
              {
                "maxLength": 320,
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Origin"
          }
        },
        "required": [
          "inputs",
          "expected"
        ],
        "title": "TuneCasePatch",
        "type": "object"
      },
      "TuneDraftingTerms": {
        "additionalProperties": false,
        "description": "What a new model-mode session's drafting needs before it starts.",
        "properties": {
          "display_name": {
            "title": "Display Name",
            "type": "string"
          },
          "drafting_minimum_microusd": {
            "title": "Drafting Minimum Microusd",
            "type": "string"
          },
          "model_id": {
            "title": "Model Id",
            "type": "string"
          },
          "route_id": {
            "title": "Route Id",
            "type": "string"
          }
        },
        "required": [
          "drafting_minimum_microusd",
          "route_id",
          "model_id",
          "display_name"
        ],
        "title": "TuneDraftingTerms",
        "type": "object"
      },
      "TuneExportBundle": {
        "additionalProperties": false,
        "properties": {
          "candidate_id": {
            "anyOf": [
              {
                "format": "uuid",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Candidate Id"
          },
          "candidate_kind": {
            "anyOf": [
              {
                "enum": [
                  "agent_config",
                  "code"
                ],
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Candidate Kind"
          },
          "candidate_source": {
            "anyOf": [
              {
                "additionalProperties": true,
                "type": "object"
              },
              {
                "type": "null"
              }
            ],
            "title": "Candidate Source"
          },
          "candidate_source_commit_sha": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Candidate Source Commit Sha"
          },
          "dataset_manifest_sha256": {
            "title": "Dataset Manifest Sha256",
            "type": "string"
          },
          "dataset_version_id": {
            "format": "uuid",
            "title": "Dataset Version Id",
            "type": "string"
          },
          "environment_ref": {
            "title": "Environment Ref",
            "type": "string"
          },
          "evaluator_pins": {
            "anyOf": [
              {
                "additionalProperties": true,
                "type": "object"
              },
              {
                "type": "null"
              }
            ],
            "title": "Evaluator Pins"
          },
          "mode": {
            "const": "agent",
            "title": "Mode",
            "type": "string"
          },
          "objective": {
            "additionalProperties": true,
            "title": "Objective",
            "type": "object"
          },
          "patch": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Patch"
          },
          "policy": {
            "additionalProperties": {
              "type": "string"
            },
            "title": "Policy",
            "type": "object"
          },
          "policy_diff": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Policy Diff"
          },
          "policy_route_ids": {
            "additionalProperties": {
              "type": "string"
            },
            "title": "Policy Route Ids",
            "type": "object"
          },
          "project_id": {
            "format": "uuid",
            "title": "Project Id",
            "type": "string"
          },
          "recommendation": {
            "additionalProperties": true,
            "title": "Recommendation",
            "type": "object"
          },
          "schema_version": {
            "const": "evalrouter.tune-export.v1",
            "title": "Schema Version",
            "type": "string"
          },
          "session_id": {
            "format": "uuid",
            "title": "Session Id",
            "type": "string"
          },
          "source_commit_sha": {
            "title": "Source Commit Sha",
            "type": "string"
          },
          "workload": {
            "additionalProperties": true,
            "title": "Workload",
            "type": "object"
          }
        },
        "required": [
          "schema_version",
          "mode",
          "session_id",
          "project_id",
          "source_commit_sha",
          "dataset_version_id",
          "dataset_manifest_sha256",
          "environment_ref",
          "objective",
          "workload",
          "policy",
          "recommendation",
          "policy_diff",
          "candidate_source_commit_sha"
        ],
        "title": "TuneExportBundle",
        "type": "object"
      },
      "TuneGraderPatch": {
        "additionalProperties": false,
        "properties": {
          "criteria": {
            "items": {
              "type": "string"
            },
            "maxItems": 12,
            "title": "Criteria",
            "type": "array"
          },
          "options": {
            "additionalProperties": true,
            "title": "Options",
            "type": "object"
          },
          "rationale": {
            "default": "Edited during review.",
            "maxLength": 2000,
            "minLength": 1,
            "title": "Rationale",
            "type": "string"
          },
          "task": {
            "enum": [
              "exact_match",
              "regex_match",
              "numeric",
              "json_field_match",
              "rubric",
              "pairwise"
            ],
            "title": "Task",
            "type": "string"
          }
        },
        "required": [
          "task"
        ],
        "title": "TuneGraderPatch",
        "type": "object"
      },
      "TuneModelQuote": {
        "additionalProperties": false,
        "properties": {
          "comparability": {
            "anyOf": [
              {
                "additionalProperties": true,
                "type": "object"
              },
              {
                "type": "null"
              }
            ],
            "title": "Comparability"
          },
          "configurations": {
            "items": {
              "$ref": "#/components/schemas/TuneQuotedConfiguration"
            },
            "title": "Configurations",
            "type": "array"
          },
          "excluded_candidates": {
            "items": {
              "$ref": "#/components/schemas/TuneExcludedCandidate"
            },
            "title": "Excluded Candidates",
            "type": "array"
          },
          "expected_charge_microusd": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Expected Charge Microusd"
          },
          "expires_at": {
            "format": "date-time",
            "title": "Expires At",
            "type": "string"
          },
          "group_id": {
            "format": "uuid",
            "title": "Group Id",
            "type": "string"
          },
          "id": {
            "format": "uuid",
            "title": "Id",
            "type": "string"
          },
          "kind": {
            "default": "search",
            "enum": [
              "search",
              "try"
            ],
            "title": "Kind",
            "type": "string"
          },
          "max_charge_microusd": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Max Charge Microusd"
          },
          "phases": {
            "items": {
              "$ref": "#/components/schemas/TunePhase"
            },
            "title": "Phases",
            "type": "array"
          },
          "plan": {
            "additionalProperties": true,
            "title": "Plan",
            "type": "object"
          },
          "worst_case_charge_microusd": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Worst Case Charge Microusd"
          }
        },
        "required": [
          "id",
          "group_id",
          "expires_at",
          "max_charge_microusd",
          "expected_charge_microusd",
          "worst_case_charge_microusd",
          "plan"
        ],
        "title": "TuneModelQuote",
        "type": "object"
      },
      "TuneExcludedCandidate": {
        "additionalProperties": false,
        "description": "A candidate Tune chose but left out of the sweep, and why.",
        "properties": {
          "minimum_budget_microusd": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Minimum Budget Microusd"
          },
          "reason": {
            "title": "Reason",
            "type": "string"
          },
          "route_id": {
            "title": "Route Id",
            "type": "string"
          }
        },
        "required": [
          "route_id",
          "reason"
        ],
        "title": "TuneExcludedCandidate",
        "type": "object"
      },
      "TuneObjective": {
        "additionalProperties": false,
        "properties": {
          "kind": {
            "default": "minimize_cost",
            "enum": [
              "minimize_cost",
              "maximize_success"
            ],
            "title": "Kind",
            "type": "string"
          },
          "latency_limit_ms": {
            "anyOf": [
              {
                "maximum": 600000.0,
                "minimum": 1.0,
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Latency Limit Ms"
          },
          "max_cost_per_case_microusd": {
            "anyOf": [
              {
                "pattern": "^[1-9][0-9]{0,11}$",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Max Cost Per Case Microusd"
          },
          "quality_margin": {
            "default": 0.02,
            "maximum": 0.25,
            "minimum": 0.0,
            "title": "Quality Margin",
            "type": "number"
          }
        },
        "title": "TuneObjective",
        "type": "object"
      },
      "TunePhase": {
        "additionalProperties": false,
        "description": "One step of the session and what it may charge.",
        "properties": {
          "expected_charge_microusd": {
            "title": "Expected Charge Microusd",
            "type": "string"
          },
          "note": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Note"
          },
          "phase": {
            "title": "Phase",
            "type": "string"
          },
          "worst_case_charge_microusd": {
            "title": "Worst Case Charge Microusd",
            "type": "string"
          }
        },
        "required": [
          "phase",
          "expected_charge_microusd",
          "worst_case_charge_microusd"
        ],
        "title": "TunePhase",
        "type": "object"
      },
      "TuneQuoteRequest": {
        "additionalProperties": false,
        "properties": {
          "baseline_route_id": {
            "anyOf": [
              {
                "maxLength": 200,
                "minLength": 3,
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Baseline Route Id"
          },
          "configurations": {
            "anyOf": [
              {
                "items": {
                  "$ref": "#/components/schemas/TuneConfiguration"
                },
                "maxItems": 7,
                "minItems": 1,
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "title": "Configurations"
          },
          "kind": {
            "default": "search",
            "enum": [
              "search",
              "try"
            ],
            "title": "Kind",
            "type": "string"
          },
          "max_charge_microusd": {
            "anyOf": [
              {
                "pattern": "^[1-9][0-9]{0,11}$",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Max Charge Microusd"
          },
          "route_ids": {
            "anyOf": [
              {
                "items": {
                  "type": "string"
                },
                "maxItems": 7,
                "minItems": 1,
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "title": "Route Ids"
          }
        },
        "title": "TuneQuoteRequest",
        "type": "object"
      },
      "TuneConfiguration": {
        "additionalProperties": false,
        "description": "A managed route at a reasoning level, at standard speed.",
        "properties": {
          "reasoning_effort": {
            "anyOf": [
              {
                "enum": [
                  "none",
                  "minimal",
                  "low",
                  "medium",
                  "high",
                  "xhigh",
                  "max"
                ],
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Reasoning Effort"
          },
          "route_id": {
            "maxLength": 200,
            "minLength": 3,
            "title": "Route Id",
            "type": "string"
          }
        },
        "required": [
          "route_id"
        ],
        "title": "TuneConfiguration",
        "type": "object"
      },
      "TuneQuotedConfiguration": {
        "additionalProperties": false,
        "description": "A configuration the quote runs, with the level it runs at.",
        "properties": {
          "effort_adjusted_from": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Effort Adjusted From"
          },
          "index": {
            "title": "Index",
            "type": "integer"
          },
          "phase": {
            "title": "Phase",
            "type": "string"
          },
          "reasoning_effort": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Reasoning Effort"
          },
          "route_id": {
            "title": "Route Id",
            "type": "string"
          }
        },
        "required": [
          "index",
          "route_id",
          "reasoning_effort",
          "phase"
        ],
        "title": "TuneQuotedConfiguration",
        "type": "object"
      },
      "TuneReleaseBinding": {
        "additionalProperties": false,
        "description": "Release inputs frozen before search. Confirmation is executed by Releases.",
        "properties": {
          "baseline": {
            "additionalProperties": true,
            "title": "Baseline",
            "type": "object"
          },
          "calibration_ids": {
            "items": {
              "format": "uuid",
              "type": "string"
            },
            "maxItems": 100,
            "title": "Calibration Ids",
            "type": "array"
          },
          "changed_paths": {
            "items": {
              "type": "string"
            },
            "maxItems": 10000,
            "title": "Changed Paths",
            "type": "array"
          },
          "changed_tools": {
            "items": {
              "type": "string"
            },
            "maxItems": 1000,
            "title": "Changed Tools",
            "type": "array"
          },
          "max_charge_microusd": {
            "maxLength": 12,
            "pattern": "^[1-9][0-9]{0,11}$",
            "title": "Max Charge Microusd",
            "type": "string"
          },
          "policy_id": {
            "format": "uuid",
            "title": "Policy Id",
            "type": "string"
          },
          "regression_suite_id": {
            "anyOf": [
              {
                "format": "uuid",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Regression Suite Id"
          },
          "regression_suite_sha256": {
            "anyOf": [
              {
                "pattern": "^[a-f0-9]{64}$",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Regression Suite Sha256"
          },
          "request_key": {
            "maxLength": 200,
            "minLength": 1,
            "pattern": "^[a-zA-Z0-9_.:-]+$",
            "title": "Request Key",
            "type": "string"
          },
          "reuse_baseline": {
            "default": false,
            "title": "Reuse Baseline",
            "type": "boolean"
          },
          "suite_id": {
            "format": "uuid",
            "title": "Suite Id",
            "type": "string"
          }
        },
        "required": [
          "suite_id",
          "policy_id",
          "baseline",
          "max_charge_microusd",
          "request_key"
        ],
        "title": "TuneReleaseBinding",
        "type": "object"
      },
      "TuneRemoteScoringEstimate": {
        "additionalProperties": false,
        "properties": {
          "calls_per_finalist_job": {
            "title": "Calls Per Finalist Job",
            "type": "integer"
          },
          "calls_per_validation_job": {
            "title": "Calls Per Validation Job",
            "type": "integer"
          },
          "estimated_external_cost_at_call_cap_microusd": {
            "title": "Estimated External Cost At Call Cap Microusd",
            "type": "integer"
          },
          "external_cost_per_call_microusd": {
            "title": "External Cost Per Call Microusd",
            "type": "integer"
          },
          "external_cost_provider_billed_estimate": {
            "const": true,
            "title": "External Cost Provider Billed Estimate",
            "type": "boolean"
          },
          "max_calls_per_job": {
            "title": "Max Calls Per Job",
            "type": "integer"
          },
          "scorer_id": {
            "format": "uuid",
            "title": "Scorer Id",
            "type": "string"
          },
          "scorer_sha256": {
            "title": "Scorer Sha256",
            "type": "string"
          },
          "total_calls_upper_bound": {
            "title": "Total Calls Upper Bound",
            "type": "integer"
          }
        },
        "required": [
          "scorer_id",
          "scorer_sha256",
          "max_calls_per_job",
          "calls_per_validation_job",
          "calls_per_finalist_job",
          "total_calls_upper_bound",
          "external_cost_per_call_microusd",
          "estimated_external_cost_at_call_cap_microusd",
          "external_cost_provider_billed_estimate"
        ],
        "title": "TuneRemoteScoringEstimate",
        "type": "object"
      },
      "TuneRights": {
        "additionalProperties": false,
        "properties": {
          "attested": {
            "const": true,
            "title": "Attested",
            "type": "boolean"
          },
          "data_license": {
            "default": "LicenseRef-Workspace-Private",
            "pattern": "^[A-Za-z0-9][A-Za-z0-9.+-]{0,127}$",
            "title": "Data License",
            "type": "string"
          },
          "rights_basis": {
            "default": "Workspace-owned application source and cases drafted from it.",
            "maxLength": 2000,
            "minLength": 1,
            "title": "Rights Basis",
            "type": "string"
          }
        },
        "required": [
          "attested"
        ],
        "title": "TuneRights",
        "type": "object"
      },
      "TuneSearch": {
        "additionalProperties": false,
        "properties": {
          "allow_code_changes": {
            "default": true,
            "title": "Allow Code Changes",
            "type": "boolean"
          },
          "allow_configuration_changes": {
            "default": true,
            "title": "Allow Configuration Changes",
            "type": "boolean"
          },
          "max_candidates": {
            "default": 16,
            "maximum": 64.0,
            "minimum": 1.0,
            "title": "Max Candidates",
            "type": "integer"
          },
          "permitted_paths": {
            "anyOf": [
              {
                "items": {
                  "type": "string"
                },
                "maxItems": 256,
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "title": "Permitted Paths"
          },
          "route_ids": {
            "items": {
              "type": "string"
            },
            "maxItems": 64,
            "title": "Route Ids",
            "type": "array"
          }
        },
        "title": "TuneSearch",
        "type": "object"
      },
      "TuneSession": {
        "additionalProperties": false,
        "properties": {
          "agent": {
            "anyOf": [
              {
                "additionalProperties": true,
                "type": "object"
              },
              {
                "type": "null"
              }
            ],
            "title": "Agent"
          },
          "automation_id": {
            "anyOf": [
              {
                "format": "uuid",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Automation Id"
          },
          "created_at": {
            "format": "date-time",
            "title": "Created At",
            "type": "string"
          },
          "dataset_id": {
            "anyOf": [
              {
                "format": "uuid",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Dataset Id"
          },
          "dataset_version_id": {
            "anyOf": [
              {
                "format": "uuid",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Dataset Version Id"
          },
          "draft": {
            "anyOf": [
              {
                "additionalProperties": true,
                "type": "object"
              },
              {
                "type": "null"
              }
            ],
            "title": "Draft"
          },
          "draft_revision": {
            "title": "Draft Revision",
            "type": "integer"
          },
          "draft_summary": {
            "anyOf": [
              {
                "additionalProperties": true,
                "type": "object"
              },
              {
                "type": "null"
              }
            ],
            "title": "Draft Summary"
          },
          "drafting_budget": {
            "anyOf": [
              {
                "additionalProperties": true,
                "type": "object"
              },
              {
                "type": "null"
              }
            ],
            "title": "Drafting Budget"
          },
          "error_code": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Error Code"
          },
          "error_message": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Error Message"
          },
          "id": {
            "format": "uuid",
            "title": "Id",
            "type": "string"
          },
          "mode": {
            "default": "model",
            "title": "Mode",
            "type": "string"
          },
          "nomination": {
            "anyOf": [
              {
                "additionalProperties": true,
                "type": "object"
              },
              {
                "type": "null"
              }
            ],
            "title": "Nomination"
          },
          "nomination_only": {
            "default": false,
            "title": "Nomination Only",
            "type": "boolean"
          },
          "objective": {
            "anyOf": [
              {
                "additionalProperties": true,
                "type": "object"
              },
              {
                "type": "null"
              }
            ],
            "title": "Objective"
          },
          "optimizer": {
            "anyOf": [
              {
                "additionalProperties": true,
                "type": "object"
              },
              {
                "type": "null"
              }
            ],
            "title": "Optimizer"
          },
          "profile_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Profile Id"
          },
          "quote_id": {
            "anyOf": [
              {
                "format": "uuid",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Quote Id"
          },
          "recommendation": {
            "anyOf": [
              {
                "additionalProperties": true,
                "type": "object"
              },
              {
                "type": "null"
              }
            ],
            "title": "Recommendation"
          },
          "release_binding": {
            "anyOf": [
              {
                "additionalProperties": true,
                "type": "object"
              },
              {
                "type": "null"
              }
            ],
            "title": "Release Binding"
          },
          "run_id": {
            "anyOf": [
              {
                "format": "uuid",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Run Id"
          },
          "search": {
            "anyOf": [
              {
                "additionalProperties": true,
                "type": "object"
              },
              {
                "type": "null"
              }
            ],
            "title": "Search"
          },
          "source": {
            "additionalProperties": true,
            "title": "Source",
            "type": "object"
          },
          "stage": {
            "title": "Stage",
            "type": "string"
          },
          "status": {
            "title": "Status",
            "type": "string"
          },
          "updated_at": {
            "format": "date-time",
            "title": "Updated At",
            "type": "string"
          },
          "workload": {
            "anyOf": [
              {
                "additionalProperties": true,
                "type": "object"
              },
              {
                "type": "null"
              }
            ],
            "title": "Workload"
          },
          "workspace_id": {
            "format": "uuid",
            "title": "Workspace Id",
            "type": "string"
          }
        },
        "required": [
          "id",
          "workspace_id",
          "status",
          "stage",
          "error_code",
          "error_message",
          "source",
          "draft",
          "draft_revision",
          "draft_summary",
          "drafting_budget",
          "dataset_id",
          "dataset_version_id",
          "profile_id",
          "quote_id",
          "run_id",
          "recommendation",
          "created_at",
          "updated_at"
        ],
        "title": "TuneSession",
        "type": "object"
      },
      "TuneSessionPage": {
        "additionalProperties": false,
        "properties": {
          "data": {
            "items": {
              "$ref": "#/components/schemas/TuneSession"
            },
            "title": "Data",
            "type": "array"
          },
          "next_cursor": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Next Cursor"
          }
        },
        "required": [
          "data",
          "next_cursor"
        ],
        "title": "TuneSessionPage",
        "type": "object"
      },
      "TuneStart": {
        "additionalProperties": false,
        "properties": {
          "quote_id": {
            "format": "uuid",
            "title": "Quote Id",
            "type": "string"
          }
        },
        "required": [
          "quote_id"
        ],
        "title": "TuneStart",
        "type": "object"
      },
      "TuneWorkload": {
        "additionalProperties": false,
        "properties": {
          "calibration_version_id": {
            "anyOf": [
              {
                "format": "uuid",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Calibration Version Id"
          },
          "dataset_version_id": {
            "anyOf": [
              {
                "format": "uuid",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Dataset Version Id"
          },
          "evaluator_version_id": {
            "anyOf": [
              {
                "format": "uuid",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Evaluator Version Id"
          },
          "trace_connection_id": {
            "anyOf": [
              {
                "format": "uuid",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Trace Connection Id"
          },
          "trace_ids": {
            "items": {
              "format": "uuid",
              "type": "string"
            },
            "maxItems": 200,
            "title": "Trace Ids",
            "type": "array"
          }
        },
        "title": "TuneWorkload",
        "type": "object"
      },
      "Uncertainty": {
        "additionalProperties": false,
        "properties": {
          "interval": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Interval"
              },
              {
                "type": "null"
              }
            ]
          },
          "reason": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Reason"
          }
        },
        "required": [
          "interval",
          "reason"
        ],
        "title": "Uncertainty",
        "type": "object"
      },
      "Interval": {
        "additionalProperties": false,
        "properties": {
          "approximate": {
            "title": "Approximate",
            "type": "boolean"
          },
          "cluster_count": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Cluster Count"
          },
          "confidence": {
            "title": "Confidence",
            "type": "number"
          },
          "eligible_count": {
            "title": "Eligible Count",
            "type": "integer"
          },
          "gains": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Gains"
          },
          "losses": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Losses"
          },
          "lower": {
            "title": "Lower",
            "type": "number"
          },
          "method": {
            "title": "Method",
            "type": "string"
          },
          "resamples": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Resamples"
          },
          "sample_count": {
            "title": "Sample Count",
            "type": "integer"
          },
          "seed": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Seed"
          },
          "strata_count": {
            "title": "Strata Count",
            "type": "integer"
          },
          "target": {
            "title": "Target",
            "type": "string"
          },
          "unrepresented_strata": {
            "title": "Unrepresented Strata",
            "type": "integer"
          },
          "upper": {
            "title": "Upper",
            "type": "number"
          },
          "weights": {
            "title": "Weights",
            "type": "string"
          }
        },
        "required": [
          "lower",
          "upper",
          "confidence",
          "method",
          "approximate",
          "sample_count",
          "eligible_count",
          "strata_count",
          "unrepresented_strata",
          "target",
          "weights"
        ],
        "title": "Interval",
        "type": "object"
      },
      "UnknownRetryConsent": {
        "additionalProperties": false,
        "properties": {
          "acknowledge_duplicate_provider_charge": {
            "default": false,
            "description": "Required for your own provider connection: the provider may bill the original request and the new attempt.",
            "title": "Acknowledge Duplicate Provider Charge",
            "type": "boolean"
          },
          "max_cells": {
            "description": "The most unknown-outcome tasks to attempt. With a single-run origin selector, every selected origin must fit. Without one, the quote is refused if more origins are eligible. Group quotes always use the all-eligible limit.",
            "maximum": 5324.0,
            "minimum": 1.0,
            "title": "Max Cells",
            "type": "integer"
          }
        },
        "required": [
          "max_cells"
        ],
        "title": "UnknownRetryConsent",
        "type": "object"
      },
      "UnknownRetryOrigin": {
        "additionalProperties": false,
        "description": "An exact original failed sample, resolved only inside the source's lineage.",
        "properties": {
          "origin_run_id": {
            "format": "uuid",
            "title": "Origin Run Id",
            "type": "string"
          },
          "origin_sample_id": {
            "format": "uuid",
            "title": "Origin Sample Id",
            "type": "string"
          }
        },
        "required": [
          "origin_run_id",
          "origin_sample_id"
        ],
        "title": "UnknownRetryOrigin",
        "type": "object"
      },
      "UnknownRetrySummary": {
        "additionalProperties": false,
        "description": "Failed or uncertain provider calls, decided from call evidence, never from the code alone.\n\nA charge waiver does not mean the provider never executed or billed the\noriginal request. Such cells are attempted again only with consent.",
        "properties": {
          "available": {
            "description": "Tasks that could be attempted again with consent. Not included.",
            "minimum": 0.0,
            "title": "Available",
            "type": "integer"
          },
          "consent_sha256": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "Send as `unknown_retry_consent_sha256` when admitting. Null if none included.",
            "title": "Consent Sha256"
          },
          "duplicate_provider_charge_possible": {
            "description": "True for your own provider connection: it may bill both requests.",
            "title": "Duplicate Provider Charge Possible",
            "type": "boolean"
          },
          "included": {
            "description": "New attempts in this quote (one per task, ever), charged like reruns.",
            "minimum": 0.0,
            "title": "Included",
            "type": "integer"
          },
          "max_cells": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "description": "The consented limit, or null without consent.",
            "title": "Max Cells"
          },
          "pending_reconciliation": {
            "description": "A request may still be active. Resume after `retry_after`.",
            "minimum": 0.0,
            "title": "Pending Reconciliation",
            "type": "integer"
          },
          "refused": {
            "description": "Tasks that cannot be recovered. See `refused_by_reason`.",
            "minimum": 0.0,
            "title": "Refused",
            "type": "integer"
          },
          "refused_by_reason": {
            "additionalProperties": {
              "type": "integer"
            },
            "description": "`unknown_retry_exhausted`, `unknown_partially_charged`, `saved_response_unusable`, `failure_not_transient` or `unknown_unverifiable`.",
            "title": "Refused By Reason",
            "type": "object"
          },
          "retry_after": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "The earliest time reconciliation can settle a still-open request (24 hours after it started).",
            "title": "Retry After"
          },
          "saved_responses": {
            "description": "The original answer is stored: graded from it at no charge, never requested or paid for again.",
            "minimum": 0.0,
            "title": "Saved Responses",
            "type": "integer"
          },
          "version": {
            "const": 1,
            "title": "Version",
            "type": "integer"
          }
        },
        "required": [
          "version",
          "included",
          "available",
          "saved_responses",
          "pending_reconciliation",
          "refused",
          "max_cells",
          "consent_sha256",
          "duplicate_provider_charge_possible"
        ],
        "title": "UnknownRetrySummary",
        "type": "object"
      },
      "UpdateConnection": {
        "additionalProperties": false,
        "properties": {
          "api_key": {
            "anyOf": [
              {
                "format": "password",
                "type": "string",
                "writeOnly": true
              },
              {
                "type": "null"
              }
            ],
            "title": "Api Key"
          },
          "base_url": {
            "anyOf": [
              {
                "maxLength": 2048,
                "minLength": 8,
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Base Url"
          },
          "context_window": {
            "anyOf": [
              {
                "maximum": 2000000.0,
                "minimum": 512.0,
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Context Window"
          },
          "max_output_tokens": {
            "anyOf": [
              {
                "maximum": 32768.0,
                "minimum": 16.0,
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Max Output Tokens"
          },
          "model_id": {
            "anyOf": [
              {
                "maxLength": 200,
                "minLength": 1,
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Model Id"
          },
          "name": {
            "anyOf": [
              {
                "maxLength": 120,
                "minLength": 1,
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Name"
          },
          "output_modes": {
            "anyOf": [
              {
                "items": {
                  "enum": [
                    "json_object",
                    "json_schema"
                  ],
                  "type": "string"
                },
                "maxItems": 2,
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "title": "Output Modes"
          },
          "protocol": {
            "anyOf": [
              {
                "enum": [
                  "openai_chat",
                  "openai_completions"
                ],
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Protocol"
          }
        },
        "title": "UpdateConnection",
        "type": "object"
      },
      "ValidationError": {
        "properties": {
          "ctx": {
            "title": "Context",
            "type": "object"
          },
          "input": {
            "title": "Input"
          },
          "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"
      },
      "WorkloadAccessInput": {
        "additionalProperties": false,
        "properties": {
          "api_key": {
            "anyOf": [
              {
                "maxLength": 4096,
                "minLength": 1,
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Api Key"
          },
          "provider": {
            "enum": [
              "braintrust",
              "langfuse"
            ],
            "title": "Provider",
            "type": "string"
          },
          "public_key": {
            "anyOf": [
              {
                "maxLength": 256,
                "minLength": 1,
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Public Key"
          },
          "region": {
            "default": "us",
            "enum": [
              "us",
              "eu"
            ],
            "title": "Region",
            "type": "string"
          },
          "secret_key": {
            "anyOf": [
              {
                "maxLength": 4096,
                "minLength": 1,
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Secret Key"
          }
        },
        "required": [
          "provider"
        ],
        "title": "WorkloadAccessInput",
        "type": "object"
      },
      "WorkloadCalibrationPage": {
        "additionalProperties": false,
        "properties": {
          "data": {
            "items": {
              "$ref": "#/components/schemas/WorkloadCalibrationListItem"
            },
            "title": "Data",
            "type": "array"
          }
        },
        "required": [
          "data"
        ],
        "title": "WorkloadCalibrationPage",
        "type": "object"
      },
      "WorkloadCalibrationListItem": {
        "additionalProperties": false,
        "properties": {
          "calibration_sha256": {
            "title": "Calibration Sha256",
            "type": "string"
          },
          "dataset_manifest_sha256": {
            "title": "Dataset Manifest Sha256",
            "type": "string"
          },
          "dataset_version_id": {
            "format": "uuid",
            "title": "Dataset Version Id",
            "type": "string"
          },
          "evaluator_id": {
            "format": "uuid",
            "title": "Evaluator Id",
            "type": "string"
          },
          "evaluator_key": {
            "title": "Evaluator Key",
            "type": "string"
          },
          "evaluator_sha256": {
            "title": "Evaluator Sha256",
            "type": "string"
          },
          "evaluator_version": {
            "title": "Evaluator Version",
            "type": "integer"
          },
          "id": {
            "format": "uuid",
            "title": "Id",
            "type": "string"
          },
          "metrics": {
            "additionalProperties": true,
            "title": "Metrics",
            "type": "object"
          },
          "reviewed_at": {
            "format": "date-time",
            "title": "Reviewed At",
            "type": "string"
          }
        },
        "required": [
          "id",
          "dataset_version_id",
          "evaluator_id",
          "evaluator_key",
          "evaluator_version",
          "dataset_manifest_sha256",
          "evaluator_sha256",
          "calibration_sha256",
          "metrics",
          "reviewed_at"
        ],
        "title": "WorkloadCalibrationListItem",
        "type": "object"
      },
      "WorkloadEvaluatorPage": {
        "additionalProperties": false,
        "properties": {
          "data": {
            "items": {
              "$ref": "#/components/schemas/EvaluatorSnapshot"
            },
            "title": "Data",
            "type": "array"
          }
        },
        "required": [
          "data"
        ],
        "title": "WorkloadEvaluatorPage",
        "type": "object"
      },
      "WorkloadProjectInput": {
        "additionalProperties": false,
        "properties": {
          "api_key": {
            "anyOf": [
              {
                "maxLength": 4096,
                "minLength": 1,
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Api Key"
          },
          "connection_id": {
            "anyOf": [
              {
                "format": "uuid",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Connection Id"
          },
          "lookback_hours": {
            "default": 24,
            "maximum": 8760.0,
            "minimum": 1.0,
            "title": "Lookback Hours",
            "type": "integer"
          },
          "name": {
            "maxLength": 120,
            "minLength": 1,
            "title": "Name",
            "type": "string"
          },
          "project_id": {
            "maxLength": 128,
            "minLength": 1,
            "title": "Project Id",
            "type": "string"
          },
          "project_name": {
            "maxLength": 200,
            "minLength": 1,
            "title": "Project Name",
            "type": "string"
          },
          "provider": {
            "enum": [
              "braintrust",
              "langfuse"
            ],
            "title": "Provider",
            "type": "string"
          },
          "public_key": {
            "anyOf": [
              {
                "maxLength": 256,
                "minLength": 1,
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Public Key"
          },
          "region": {
            "default": "us",
            "enum": [
              "us",
              "eu"
            ],
            "title": "Region",
            "type": "string"
          },
          "secret_key": {
            "anyOf": [
              {
                "maxLength": 4096,
                "minLength": 1,
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Secret Key"
          }
        },
        "required": [
          "provider",
          "project_id",
          "project_name",
          "name"
        ],
        "title": "WorkloadProjectInput",
        "type": "object"
      },
      "WorkloadResources": {
        "additionalProperties": false,
        "properties": {
          "data": {
            "items": {
              "$ref": "#/components/schemas/WorkloadResource"
            },
            "title": "Data",
            "type": "array"
          }
        },
        "required": [
          "data"
        ],
        "title": "WorkloadResources",
        "type": "object"
      },
      "WorkloadResource": {
        "additionalProperties": false,
        "properties": {
          "id": {
            "title": "Id",
            "type": "string"
          },
          "name": {
            "title": "Name",
            "type": "string"
          }
        },
        "required": [
          "id",
          "name"
        ],
        "title": "WorkloadResource",
        "type": "object"
      },
      "WorkloadSource": {
        "additionalProperties": false,
        "properties": {
          "cursor": {
            "anyOf": [
              {
                "maxLength": 2048,
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Cursor"
          },
          "integration_id": {
            "format": "uuid",
            "title": "Integration Id",
            "type": "string"
          },
          "resource_id": {
            "maxLength": 128,
            "minLength": 1,
            "title": "Resource Id",
            "type": "string"
          },
          "resource_kind": {
            "enum": [
              "datasets",
              "experiments"
            ],
            "title": "Resource Kind",
            "type": "string"
          },
          "rights": {
            "$ref": "#/components/schemas/RightsAttestation"
          },
          "split_role": {
            "default": "train",
            "enum": [
              "train",
              "validation",
              "held_out"
            ],
            "title": "Split Role",
            "type": "string"
          }
        },
        "required": [
          "integration_id",
          "resource_kind",
          "resource_id",
          "rights"
        ],
        "title": "WorkloadSource",
        "type": "object"
      },
      "RightsAttestation": {
        "additionalProperties": false,
        "properties": {
          "attested": {
            "const": true,
            "title": "Attested",
            "type": "boolean"
          },
          "data_license": {
            "maxLength": 128,
            "minLength": 1,
            "title": "Data License",
            "type": "string"
          },
          "evaluation_allowed": {
            "default": true,
            "title": "Evaluation Allowed",
            "type": "boolean"
          },
          "export_allowed": {
            "default": true,
            "title": "Export Allowed",
            "type": "boolean"
          },
          "rights_basis": {
            "maxLength": 2000,
            "minLength": 1,
            "title": "Rights Basis",
            "type": "string"
          },
          "training_allowed": {
            "title": "Training Allowed",
            "type": "boolean"
          }
        },
        "required": [
          "attested",
          "data_license",
          "rights_basis",
          "training_allowed"
        ],
        "title": "RightsAttestation",
        "type": "object"
      }
    }
  }
}
