Compoid · Schema

StructuredDecisionRequest

CompanyAI AgentsMCPDigital RepositoryResearch DataDatasetsKnowledge ManagementAgent Memory

Properties

Name Type Description
model object
state object What the questions are about: text or JSON.
questions object Question id to question, asked in this order.
instructions object Context placed ahead of the questions.
images object Image URLs or data URLs, for models that see.
audio object Audio URLs or data URLs, for models that hear.
videos object Video URLs or data URLs, for models that see.
chat_template_kwargs object
cache_salt object If specified, the prefix cache will be salted with the provided string to prevent an attacker to guess prompts in multi-user environments. The salt should be random, protected from access by 3rd parti
priority integer
request_id string
View JSON Schema on GitHub

JSON Schema

compoid-com-structured-decision-request-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/compoid-com/json-schema/compoid-com-structured-decision-request-schema.json",
  "title": "StructuredDecisionRequest",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/compoid-com-systemone-api-openapi.yml#/components/schemas/StructuredDecisionRequest",
  "properties": {
    "model": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Model"
    },
    "state": {
      "title": "State",
      "description": "What the questions are about: text or JSON."
    },
    "questions": {
      "additionalProperties": {
        "$ref": "#/$defs/QuestionSpec"
      },
      "type": "object",
      "title": "Questions",
      "description": "Question id to question, asked in this order."
    },
    "instructions": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Instructions",
      "description": "Context placed ahead of the questions."
    },
    "images": {
      "anyOf": [
        {
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        {
          "type": "null"
        }
      ],
      "title": "Images",
      "description": "Image URLs or data URLs, for models that see."
    },
    "audio": {
      "anyOf": [
        {
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        {
          "type": "null"
        }
      ],
      "title": "Audio",
      "description": "Audio URLs or data URLs, for models that hear."
    },
    "videos": {
      "anyOf": [
        {
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        {
          "type": "null"
        }
      ],
      "title": "Videos",
      "description": "Video URLs or data URLs, for models that see."
    },
    "chat_template_kwargs": {
      "anyOf": [
        {
          "additionalProperties": true,
          "type": "object"
        },
        {
          "type": "null"
        }
      ],
      "title": "Chat Template Kwargs"
    },
    "cache_salt": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Cache Salt",
      "description": "If specified, the prefix cache will be salted with the provided string to prevent an attacker to guess prompts in multi-user environments. The salt should be random, protected from access by 3rd parties, and long enough to be unpredictable (e.g., 43 characters base64-encoded, corresponding to 256 bit)."
    },
    "priority": {
      "type": "integer",
      "maximum": 9.223372036854776e+18,
      "minimum": -9.223372036854776e+18,
      "title": "Priority",
      "default": 0
    },
    "request_id": {
      "type": "string",
      "title": "Request Id"
    }
  },
  "additionalProperties": true,
  "type": "object",
  "required": [
    "state",
    "questions"
  ],
  "$defs": {
    "QuestionSpec": {
      "properties": {
        "type": {
          "type": "string",
          "title": "Type"
        },
        "instructions": {
          "title": "Instructions",
          "default": ""
        },
        "criteria": {
          "title": "Criteria"
        }
      },
      "additionalProperties": true,
      "type": "object",
      "required": [
        "type"
      ],
      "title": "QuestionSpec"
    }
  }
}

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/compoid-com-structured-decision-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.