Last Mile AI · Schema

EvaluateDatasetRequest

CompanyArtificial IntelligenceGenerative AICognitiveComputingPlatform

Properties

Name Type Description
metric object The metric to compute for the dataset. Use if only a single metric is required. For multiple metrics, use 'metrics'.
metrics array
datasetId string The dataset to evaluate
projectId string The project where the evaluation run will be persisted
metadata object Common metadata relevant to the application configuration from which all request inputs were derived. E.g. 'llm_model', 'chunk_size'
experimentId string If specified, the evaluation run will be associated with this experiment
View JSON Schema on GitHub

JSON Schema

lastmileai-lmai-proto-webserver-v2-evaluate-dataset-request-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/lastmileai/main/json-schema/lastmileai-lmai-proto-webserver-v2-evaluate-dataset-request-schema.json",
  "title": "EvaluateDatasetRequest",
  "x-generated": "2026-10-20",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/lastmileai-openapi.json#/components/schemas/lmai.proto.webserver.v2.EvaluateDatasetRequest",
  "type": "object",
  "properties": {
    "metric": {
      "$ref": "#/$defs/lmai.proto.webserver.v2.Metric",
      "description": "The metric to compute for the dataset. Use if only a single metric is\n required. For multiple metrics, use 'metrics'."
    },
    "metrics": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/lmai.proto.webserver.v2.Metric",
        "description": "The metrics to compute for the dataset"
      }
    },
    "datasetId": {
      "type": "string",
      "description": "The dataset to evaluate"
    },
    "projectId": {
      "type": "string",
      "description": "The project where the evaluation run will be persisted"
    },
    "metadata": {
      "$ref": "#/$defs/google.protobuf.Struct",
      "description": "Common metadata relevant to the application configuration from which all\n request inputs were derived. E.g. 'llm_model', 'chunk_size'"
    },
    "experimentId": {
      "type": "string",
      "description": "If specified, the evaluation run will be associated with this experiment"
    }
  },
  "required": [
    "metrics",
    "datasetId"
  ],
  "$defs": {
    "google.protobuf.Struct": {
      "title": "Struct",
      "type": "object",
      "properties": {
        "fields": {
          "type": "object",
          "additionalProperties": {
            "description": "Ordered row values with length always equal to `num_rows` on the\n corresponding view.",
            "type": "object",
            "additionalProperties": true
          }
        }
      },
      "required": [
        "fields"
      ]
    },
    "lmai.proto.webserver.v2.Metric": {
      "title": "Metric",
      "type": "object",
      "properties": {
        "id": {
          "type": "string"
        },
        "name": {
          "type": "string"
        },
        "description": {
          "type": "string"
        },
        "deploymentStatus": {
          "type": "string",
          "enum": [
            "MODEL_DEPLOYMENT_STATUS_UNSPECIFIED",
            "MODEL_DEPLOYMENT_STATUS_PENDING",
            "MODEL_DEPLOYMENT_STATUS_ONLINE",
            "MODEL_DEPLOYMENT_STATUS_OFFLINE",
            "MODEL_DEPLOYMENT_STATUS_PAUSED"
          ],
          "title": "ModelDeploymentStatus"
        }
      }
    }
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/lastmileai-lmai-proto-webserver-v2-evaluate-dataset-request"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.