Council AI · Schema

Council Ai App Council Query With Rag Output

CompanyArtificial IntelligenceLLMMulti-ModelMCPRAGCode ReviewConsensus

Properties

Name Type Description
queryId string Present on async queries — pass it to council_result.
status string Only present on async queries: "running" means poll council_result with the queryId.
synthesis string Moderator-synthesized consensus answer, grounded in the retrieved library chunks. Absent while an async query is still running.
consensusScore numbernull Cross-model agreement score on the 0-100 scale. Null when synthesize=false; absent while an async query is still running.
perModelResponses object Each model's independent response, keyed by model name. Absent while an async query is still running.
retrievedChunks array Library chunks that were injected into every model's prompt. Empty when the library had no relevant content.
ragSkipped boolean True when retrieval found nothing and the query fell through to a plain council_query.
View JSON Schema on GitHub

JSON Schema

council-ai-app-council-query-with-rag-output-schema.json Raw ↑
{
  "type": "object",
  "properties": {
    "queryId": {
      "type": "string",
      "description": "Present on async queries \u2014 pass it to council_result."
    },
    "status": {
      "type": "string",
      "enum": [
        "running",
        "complete",
        "failed"
      ],
      "description": "Only present on async queries: \"running\" means poll council_result with the queryId."
    },
    "synthesis": {
      "type": "string",
      "description": "Moderator-synthesized consensus answer, grounded in the retrieved library chunks. Absent while an async query is still running."
    },
    "consensusScore": {
      "type": [
        "number",
        "null"
      ],
      "description": "Cross-model agreement score on the 0-100 scale. Null when synthesize=false; absent while an async query is still running."
    },
    "perModelResponses": {
      "type": "object",
      "additionalProperties": {
        "type": "string"
      },
      "description": "Each model's independent response, keyed by model name. Absent while an async query is still running."
    },
    "retrievedChunks": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "chunkId": {
            "type": "string",
            "description": "ID of the retrieved chunk."
          },
          "documentId": {
            "type": "string",
            "description": "ID of the parent document."
          },
          "filename": {
            "type": "string",
            "description": "Source document filename."
          },
          "content": {
            "type": "string",
            "description": "The retrieved passage text."
          },
          "pageNumber": {
            "type": [
              "number",
              "null"
            ],
            "description": "Page number in the source document, when known."
          },
          "distance": {
            "type": "number",
            "description": "Vector distance \u2014 lower is more relevant."
          }
        },
        "additionalProperties": false
      },
      "description": "Library chunks that were injected into every model's prompt. Empty when the library had no relevant content."
    },
    "ragSkipped": {
      "type": "boolean",
      "description": "True when retrieval found nothing and the query fell through to a plain council_query."
    }
  },
  "required": [
    "retrievedChunks"
  ],
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}

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/council-ai-app-council-query-with-rag-output"
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.