Synero · Schema

QueryRequest

Company

Properties

Name Type Description
prompt string The question or prompt to send to the AI council
models array 1 to 4 model ids, at most one per provider. Each provider rides a fixed slot (openai architect, anthropic philosopher, google explorer, xai maverick) with a neutral system prompt, as in the web chat.
preset string solo = 1 model, duel = 2, council = up to 4 balanced for speed, deep = up to 4 flagship models. Without models, the preset's default models run; with models, the count must fit the preset (auto with m
web_search boolean Let each model search the web before answering. Omit it and search turns on automatically for time-sensitive questions (news, prices, "latest", this or last year, a URL), reported as webSearchAuto; tr
config object
thread_id string Thread ID that groups queries in the history (threadId is accepted too). Follow-ups inherit the parent's thread (a thread_id sent with parent_query_id is ignored), or start one keyed by the parent's q
parent_query_id string The queryId of one of your earlier queries (parentQueryId is accepted too). When threadHistory is not sent, the server rebuilds the conversation from the parent chain, up to 10 turns. Another user's o
threadHistory array Previous Q&A pairs for conversation context. Only the last 10 entries are used (the last 2 on free-trial queries), each prompt and synthesis truncated to 8,000 characters; malformed entries are droppe
context array Attach documents or text as context for the council. Supports .md, .txt, .csv, .json content. Max 50k chars per item, 100k total, at most 20 items.
format string Response format. 'json' returns structured JSON (ideal for agents). Default 'stream' returns SSE. In JSON, synthesis is null when synthesis was skipped or failed; a failed synthesis also sets synthesi
synthesis boolean Set false to skip the server-side synthesizer and receive only the advisor responses (synthesis is null in the JSON response; the SSE stream emits no synthesis-start or synthesis token events, just sy
private boolean When true, the query is not saved to history (queryId is null in the JSON response). It is billed like any other query.
synthesisInstructions string Custom instructions for the synthesis step. A non-string or longer value returns 400 invalid_synthesis_instructions.
template string Built-in council template slug (for example code-review, due-diligence, deep-research). Supplies the template's council config unless config, models or preset is sent, and its synthesis instructions u
View JSON Schema on GitHub

JSON Schema

synero-ai-query-request-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/synero-ai/json-schema/synero-ai-query-request-schema.json",
  "title": "QueryRequest",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_original/synero-ai-api-openapi.json#/components/schemas/QueryRequest",
  "type": "object",
  "required": [
    "prompt"
  ],
  "properties": {
    "prompt": {
      "type": "string",
      "maxLength": 10000,
      "description": "The question or prompt to send to the AI council"
    },
    "models": {
      "type": "array",
      "minItems": 1,
      "maxItems": 4,
      "items": {
        "$ref": "#/$defs/ModelId"
      },
      "description": "1 to 4 model ids, at most one per provider. Each provider rides a fixed slot (openai architect, anthropic philosopher, google explorer, xai maverick) with a neutral system prompt, as in the web chat. Replaces config; with template, only the template's synthesis instructions apply."
    },
    "preset": {
      "type": "string",
      "enum": [
        "solo",
        "duel",
        "council",
        "deep",
        "auto"
      ],
      "description": "solo = 1 model, duel = 2, council = up to 4 balanced for speed, deep = up to 4 flagship models. Without models, the preset's default models run; with models, the count must fit the preset (auto with models: the models run as given). With neither models nor preset, the legacy auto-sized council runs. auto lets Synero pick the preset and models for the question (a fast classifier, usually under a second): solo for simple questions, duel when some judgment is involved, council when experts would disagree, deep when the stakes are high; Grok joins questions about what people are posting on X. The pick is reported as autoRouted, preset and routeReason in council-meta (and the JSON response); if the classifier is unavailable, council runs and preset is absent (also absent on free trial queries, which run the trial council)."
    },
    "web_search": {
      "type": "boolean",
      "description": "Let each model search the web before answering. Omit it and search turns on automatically for time-sensitive questions (news, prices, \"latest\", this or last year, a URL), reported as webSearchAuto; true forces it on, false forces it off. Slower and adds search fees."
    },
    "config": {
      "$ref": "#/$defs/CouncilConfig"
    },
    "thread_id": {
      "type": "string",
      "format": "uuid",
      "description": "Thread ID that groups queries in the history (threadId is accepted too). Follow-ups inherit the parent's thread (a thread_id sent with parent_query_id is ignored), or start one keyed by the parent's queryId when it has none. Sent without parent_query_id, the query is filed as the newest turn of that thread (one chat in history); context still comes only from parent_query_id or threadHistory. A malformed id returns 400 invalid_thread_id."
    },
    "parent_query_id": {
      "type": "string",
      "format": "uuid",
      "description": "The queryId of one of your earlier queries (parentQueryId is accepted too). When threadHistory is not sent, the server rebuilds the conversation from the parent chain, up to 10 turns. Another user's or unknown id returns 404 parent_not_found; a malformed id returns 400 invalid_parent_query_id."
    },
    "threadHistory": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/ThreadEntry"
      },
      "description": "Previous Q&A pairs for conversation context. Only the last 10 entries are used (the last 2 on free-trial queries), each prompt and synthesis truncated to 8,000 characters; malformed entries are dropped."
    },
    "context": {
      "type": "array",
      "maxItems": 20,
      "description": "Attach documents or text as context for the council. Supports .md, .txt, .csv, .json content. Max 50k chars per item, 100k total, at most 20 items.",
      "items": {
        "$ref": "#/$defs/ContextItem"
      }
    },
    "format": {
      "type": "string",
      "enum": [
        "json",
        "stream"
      ],
      "description": "Response format. 'json' returns structured JSON (ideal for agents). Default 'stream' returns SSE. In JSON, synthesis is null when synthesis was skipped or failed; a failed synthesis also sets synthesisError to the reason. JSON also carries consensus, the agreement analysis (see the consensus SSE event). JSON waits for it (about 4s, up to 20s; also graded when synthesis is false) and returns null when grading fails. A JSON run still going after about 60s answers 200 and sends newlines (valid leading JSON whitespace) until the object; a failure after that arrives in the body as { error, code, doc_url }, so check for code. Prefer SSE for deep or web_search runs."
    },
    "synthesis": {
      "type": "boolean",
      "default": true,
      "description": "Set false to skip the server-side synthesizer and receive only the advisor responses (synthesis is null in the JSON response; the SSE stream emits no synthesis-start or synthesis token events, just synthesis-complete { skipped: true } then complete). For agent callers that reconcile the advisors themselves: cuts latency roughly in half and saves the synthesis token cost. Default true."
    },
    "private": {
      "type": "boolean",
      "default": false,
      "description": "When true, the query is not saved to history (queryId is null in the JSON response). It is billed like any other query."
    },
    "synthesisInstructions": {
      "type": "string",
      "maxLength": 10000,
      "description": "Custom instructions for the synthesis step. A non-string or longer value returns 400 invalid_synthesis_instructions."
    },
    "template": {
      "type": "string",
      "description": "Built-in council template slug (for example code-review, due-diligence, deep-research). Supplies the template's council config unless config, models or preset is sent, and its synthesis instructions unless synthesisInstructions is sent. An unknown slug returns 400 unknown_template."
    }
  },
  "$defs": {
    "AdvisorSlotId": {
      "type": "string",
      "enum": [
        "architect",
        "philosopher",
        "explorer",
        "maverick"
      ],
      "description": "The four advisor personas. Architect: structured/analytical. Philosopher: nuanced/thorough. Explorer: creative/curious. Maverick: bold/unconventional."
    },
    "ContextItem": {
      "type": "object",
      "required": [
        "name",
        "content"
      ],
      "properties": {
        "name": {
          "type": "string",
          "maxLength": 300,
          "description": "Label for this context (e.g. filename)"
        },
        "content": {
          "type": "string",
          "description": "The actual text, inlined. The API cannot read file paths or URLs, so paste the file's contents here. For type \"image\", a base64 data URL (png, jpeg, webp, gif; max 3 images per query, 5MB each). Images are sent to every advisor as multimodal input."
        },
        "type": {
          "type": "string",
          "enum": [
            "file",
            "text",
            "image"
          ],
          "description": "How the context was attached",
          "default": "text"
        }
      }
    },
    "CouncilConfig": {
      "type": "object",
      "description": "Legacy persona-council configuration (which model powers each advisor slot and the synthesizer). Ignored when models or preset is sent.",
      "properties": {
        "advisorModels": {
          "type": "object",
          "description": "Map of advisor slot to model ID",
          "properties": {
            "architect": {
              "$ref": "#/$defs/ModelId"
            },
            "philosopher": {
              "$ref": "#/$defs/ModelId"
            },
            "explorer": {
              "$ref": "#/$defs/ModelId"
            },
            "maverick": {
              "$ref": "#/$defs/ModelId"
            }
          }
        },
        "synthesizerModel": {
          "$ref": "#/$defs/ModelId"
        },
        "customSystemPrompts": {
          "type": "object",
          "description": "Map of advisor slot to a custom system prompt (at most 2,000 characters each)",
          "additionalProperties": {
            "type": "string",
            "maxLength": 2000
          }
        },
        "customNames": {
          "type": "object",
          "description": "Map of advisor slot to a custom display name (at most 60 characters each)",
          "additionalProperties": {
            "type": "string",
            "maxLength": 60
          }
        },
        "webSearch": {
          "type": "boolean",
          "description": "Same as the top-level web_search, which wins when both are sent"
        },
        "enabledAdvisors": {
          "type": "object",
          "description": "Map of advisor slot to enabled state. Omit or set to true to enable. Set to false to disable. At least 1 advisor must be enabled. When only 1 advisor responds, synthesis is automatically skipped.",
          "properties": {
            "architect": {
              "type": "boolean",
              "default": true
            },
            "philosopher": {
              "type": "boolean",
              "default": true
            },
            "explorer": {
              "type": "boolean",
              "default": true
            },
            "maverick": {
              "type": "boolean",
              "default": true
            }
          }
        },
        "councilTier": {
          "type": "string",
          "enum": [
            "low",
            "medium",
            "high",
            "custom",
            "auto",
            "instant"
          ],
          "description": "Council tier this config maps to. low=fast & cheap, medium=balanced, high=flagship models from each provider (API-key callers run it as medium, reported as cappedFrom, and any advisorModels sent with it are replaced by the medium models; use models or preset deep for flagship models), custom=hand-picked models, auto=the server routes each question to instant/low/medium/high before running (the resolved tier is returned in the council-meta SSE event or the JSON response; auto is the default; explicit advisorModels or synthesizerModel run a custom council instead, skipping auto and instant), instant=no council: a single fast model answers directly with no synthesis (cheapest and fastest, for trivial questions). When sent on /api/query, the resolved tier is recorded for analytics. Programmatic clients can use it as a per-query override without affecting the user's persisted preference."
        }
      }
    },
    "ModelId": {
      "type": "string",
      "enum": [
        "gpt-6.2-sol",
        "gpt-6.2-astra",
        "gpt-6.1-sol",
        "gpt-6.1-terra",
        "gpt-6-luna",
        "gpt-5.6-terra",
        "gpt-5.6-luna",
        "claude-opus-5-5",
        "claude-sonnet-5-5",
        "claude-fable-5-2",
        "claude-opus-5",
        "claude-sonnet-5",
        "claude-haiku-5-5",
        "gemini-4-carbon",
        "gemini-4-argon",
        "gemini-4-hydrogen",
        "gemini-3.8-flash",
        "gemini-3.5-flash-lite",
        "gemini-3.1-pro-preview",
        "grok-4.7",
        "grok-4.6",
        "grok-4.5",
        "grok-4.3"
      ],
      "description": "Available AI model identifiers"
    },
    "ThreadEntry": {
      "type": "object",
      "required": [
        "prompt",
        "synthesis"
      ],
      "properties": {
        "prompt": {
          "type": "string"
        },
        "synthesis": {
          "type": "string"
        },
        "answers": {
          "type": "array",
          "maxItems": 4,
          "description": "Optional: each model's own answer for this turn, so every model sees its own earlier answer as history",
          "items": {
            "type": "object",
            "required": [
              "slotId",
              "modelId",
              "content"
            ],
            "properties": {
              "slotId": {
                "$ref": "#/$defs/AdvisorSlotId"
              },
              "modelId": {
                "type": "string"
              },
              "content": {
                "type": "string"
              }
            }
          }
        }
      }
    }
  }
}

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/synero-ai-query-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.