Roark · Schema

UpdateMetricVariantInput

Change a variant's name, its configuration, or both. Every configuration change creates a new immutable version and advances `versionId`. Editing Roark's own variant forks it for your organization first: the response carries the new variant's id, and other organizations keep the original. Delete that variant to go back to Roark's version.

CompanyVoice AITestingEvaluationBenchmarking

Properties

Name Type Description
name string Rename the variant. Does not change its configuration, so `versionId` is unaffected. `Default` is reserved.
llmPrompt string The rubric this variant applies. LLM judge metrics only.
scaleMin integer Scale minimum. SCALE output only.
scaleMax integer Scale maximum. SCALE output only.
booleanTrueLabel string What a `true` value means. Given to the judge as its polarity rule, so keep it accurate.
booleanFalseLabel string What a `false` value means. Given to the judge as its polarity rule, so keep it accurate.
maxClassifications integer Maximum classifications returned. CLASSIFICATION output only.
changeReason string Free-text audit note recorded on the new version.
View JSON Schema on GitHub

JSON Schema

roark-update-metric-variant-input-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/roark/json-schema/roark-update-metric-variant-input-schema.json",
  "title": "UpdateMetricVariantInput",
  "description": "Change a variant's name, its configuration, or both. Every configuration change creates a new immutable\nversion and advances `versionId`.\n\nEditing Roark's own variant forks it for your organization first: the response carries the new variant's id,\nand other organizations keep the original. Delete that variant to go back to Roark's version.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/roark-metric-api-openapi.yml#/components/schemas/UpdateMetricVariantInput",
  "type": "object",
  "properties": {
    "name": {
      "type": "string",
      "minLength": 1,
      "maxLength": 100,
      "description": "Rename the variant. Does not change its configuration, so `versionId` is unaffected. `Default` is reserved."
    },
    "llmPrompt": {
      "type": "string",
      "maxLength": 20000,
      "description": "The rubric this variant applies. LLM judge metrics only."
    },
    "scaleMin": {
      "type": "integer",
      "minimum": 0,
      "maximum": 100,
      "description": "Scale minimum. SCALE output only."
    },
    "scaleMax": {
      "type": "integer",
      "minimum": 0,
      "maximum": 100,
      "description": "Scale maximum. SCALE output only."
    },
    "booleanTrueLabel": {
      "type": "string",
      "maxLength": 200,
      "description": "What a `true` value means. Given to the judge as its polarity rule, so keep it accurate."
    },
    "booleanFalseLabel": {
      "type": "string",
      "maxLength": 200,
      "description": "What a `false` value means. Given to the judge as its polarity rule, so keep it accurate."
    },
    "maxClassifications": {
      "type": "integer",
      "minimum": 1,
      "description": "Maximum classifications returned. CLASSIFICATION output only."
    },
    "changeReason": {
      "type": "string",
      "maxLength": 500,
      "description": "Free-text audit note recorded on the new version."
    }
  },
  "additionalProperties": false
}

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/roark-update-metric-variant-input"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

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

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