{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/huggingbay-xyz/json-schema/huggingbay-xyz-eval-request-schema.json",
  "title": "EvalRequest",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/huggingbay-xyz-eval-api-openapi.yml#/components/schemas/EvalRequest",
  "properties": {
    "task": {
      "type": "string",
      "title": "Task"
    },
    "models": {
      "items": {
        "type": "string"
      },
      "type": "array",
      "title": "Models"
    },
    "dataset": {
      "items": {
        "additionalProperties": true,
        "type": "object"
      },
      "type": "array",
      "title": "Dataset"
    },
    "k": {
      "type": "integer",
      "title": "K",
      "default": 5
    },
    "prefer_warm": {
      "type": "boolean",
      "title": "Prefer Warm",
      "default": true
    },
    "namespace": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 256
        },
        {
          "type": "null"
        }
      ],
      "title": "Namespace"
    },
    "task_hint": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 256
        },
        {
          "type": "null"
        }
      ],
      "title": "Task Hint"
    },
    "route_kind": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Route Kind"
    },
    "version": {
      "anyOf": [
        {
          "type": "integer",
          "minimum": 1.0
        },
        {
          "type": "null"
        }
      ],
      "title": "Version"
    },
    "idempotency_key": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 256
        },
        {
          "type": "null"
        }
      ],
      "title": "Idempotency Key"
    },
    "expires_in": {
      "anyOf": [
        {
          "type": "integer",
          "minimum": 1.0
        },
        {
          "type": "null"
        }
      ],
      "title": "Expires In"
    },
    "reevaluate_after": {
      "anyOf": [
        {
          "type": "integer",
          "minimum": 1.0
        },
        {
          "type": "null"
        }
      ],
      "title": "Reevaluate After"
    }
  },
  "type": "object",
  "required": [
    "task",
    "models",
    "dataset"
  ]
}