a4sx · Schema

FaithfulnessSpecRequest

A GOVERNED faithfulness spec (Phase 1, 1a): declares HOW the collector recomputes a scope's held-out faithfulness — the predicted field (from a schema entity type) vs. an INDEPENDENT ground-truth projection — plus the passing threshold. Admin-only; the loop reads it, never authors it. predicted: {"entity_type": "", "field": ""} ground_truth: {"event_types": [...], "key": "", "value_path": ""} compare: "exact" | {"numeric_tol": } (default exact)

MarketplaceAI Agents

Properties

Name Type Description
scope string
predicted object
ground_truth object
threshold number
test_frac number
compare object
View JSON Schema on GitHub

JSON Schema

session-exchange-com-faithfulness-spec-request-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/session-exchange-com/json-schema/session-exchange-com-faithfulness-spec-request-schema.json",
  "title": "FaithfulnessSpecRequest",
  "description": "A GOVERNED faithfulness spec (Phase 1, 1a): declares HOW the collector\nrecomputes a scope's held-out faithfulness — the predicted field (from a schema\nentity type) vs. an INDEPENDENT ground-truth projection — plus the passing\nthreshold. Admin-only; the loop reads it, never authors it.\n  predicted:    {\"entity_type\": \"<schema entity>\", \"field\": \"<projected field>\"}\n  ground_truth: {\"event_types\": [...], \"key\": \"<dotted>\", \"value_path\": \"<dotted>\"}\n  compare:      \"exact\" | {\"numeric_tol\": <float>} (default exact)",
  "x-generated": "2026-11-24",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/session-exchange-com-openapi.json#/components/schemas/FaithfulnessSpecRequest",
  "properties": {
    "scope": {
      "type": "string",
      "maxLength": 120,
      "minLength": 1,
      "title": "Scope",
      "default": "_model"
    },
    "predicted": {
      "additionalProperties": true,
      "type": "object",
      "title": "Predicted"
    },
    "ground_truth": {
      "additionalProperties": true,
      "type": "object",
      "title": "Ground Truth"
    },
    "threshold": {
      "type": "number",
      "maximum": 1.0,
      "minimum": 0.0,
      "title": "Threshold"
    },
    "test_frac": {
      "type": "number",
      "exclusiveMaximum": 1.0,
      "exclusiveMinimum": 0.0,
      "title": "Test Frac",
      "default": 0.3
    },
    "compare": {
      "title": "Compare"
    }
  },
  "type": "object",
  "required": [
    "predicted",
    "ground_truth",
    "threshold"
  ]
}

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/session-exchange-com-faithfulness-spec-request"
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. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

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