ModelMarket · Schema

InvokeRequest

Artificial IntelligenceMarketplaceLiveCommerceProtocol

Properties

Name Type Description
product_id string
capability_id string
source_hub string
input object
max_price_usd object
verify object
payment_authorization object
subcontract object
purpose string
View JSON Schema on GitHub

JSON Schema

modelmarket-dev-invoke-request-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/modelmarket-dev/json-schema/modelmarket-dev-invoke-request-schema.json",
  "title": "InvokeRequest",
  "x-generated": "2026-11-18",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/modelmarket-dev-openapi.json#/components/schemas/InvokeRequest",
  "properties": {
    "product_id": {
      "type": "string",
      "maxLength": 80,
      "minLength": 2,
      "title": "Product Id"
    },
    "capability_id": {
      "type": "string",
      "maxLength": 80,
      "minLength": 2,
      "title": "Capability Id"
    },
    "source_hub": {
      "type": "string",
      "maxLength": 256,
      "title": "Source Hub",
      "default": "local"
    },
    "input": {
      "additionalProperties": true,
      "type": "object",
      "title": "Input"
    },
    "max_price_usd": {
      "anyOf": [
        {
          "type": "number",
          "maximum": 1000000.0,
          "minimum": 0.0
        },
        {
          "type": "null"
        }
      ],
      "title": "Max Price Usd"
    },
    "verify": {
      "anyOf": [
        {
          "$ref": "#/$defs/VerifyBlock"
        },
        {
          "type": "null"
        }
      ]
    },
    "payment_authorization": {
      "anyOf": [
        {
          "additionalProperties": true,
          "type": "object"
        },
        {
          "type": "null"
        }
      ],
      "title": "Payment Authorization"
    },
    "subcontract": {
      "anyOf": [
        {
          "$ref": "#/$defs/SubcontractBlock"
        },
        {
          "type": "null"
        }
      ]
    },
    "purpose": {
      "type": "string",
      "title": "Purpose",
      "default": ""
    }
  },
  "type": "object",
  "required": [
    "product_id",
    "capability_id"
  ],
  "$defs": {
    "SubcontractBlock": {
      "properties": {
        "allowance_usd": {
          "type": "number",
          "maximum": 1000.0,
          "exclusiveMinimum": 0.0,
          "title": "Allowance Usd"
        },
        "max_depth": {
          "type": "integer",
          "maximum": 3.0,
          "minimum": 1.0,
          "title": "Max Depth",
          "default": 1
        }
      },
      "type": "object",
      "required": [
        "allowance_usd"
      ],
      "title": "SubcontractBlock",
      "description": "A pass-through allowance for the providers of this call (mandates.md §6.2).\n\nThe root buyer sets aside ``allowance_usd`` of its own funding that the provider may\nspend on subcontractors while serving the call, down to ``max_depth`` levels. What they\ndo not spend is released when the call returns."
    },
    "VerifyBlock": {
      "properties": {
        "requested": {
          "type": "boolean",
          "title": "Requested",
          "default": true
        },
        "intent": {
          "type": "string",
          "maxLength": 20000,
          "title": "Intent",
          "default": ""
        },
        "mode": {
          "type": "string",
          "pattern": "^(auto|fast|thinking|council|agent)$",
          "title": "Mode",
          "default": "auto"
        },
        "wait": {
          "type": "boolean",
          "title": "Wait",
          "default": false
        },
        "wait_timeout_s": {
          "type": "number",
          "maximum": 300.0,
          "minimum": 1.0,
          "title": "Wait Timeout S",
          "default": 300
        }
      },
      "type": "object",
      "title": "VerifyBlock",
      "description": "Buyer opt-in for Pay-on-Verified settlement (escrow hold until a Metis verdict).\n\nThe buyer supplies the task `intent` the verdict is judged against; money moves\nonly after Metis scores the delivered output. `wait` holds the HTTP response\nuntil the verdict (bounded by `wait_timeout_s`); default is async — the invoke\nreturns immediately with a pending envelope resolvable at\nGET /ai-market/v2/verification/{nonce}."
    }
  }
}

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/modelmarket-dev-invoke-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.