Nexatron · Schema

QueryResponse

CompanyArtificial IntelligenceEnterpriseContextData Integration

Properties

Name Type Description
answer_contract object
confidence_breakdown object
confidence_score object
content string
conversation_id string
core_evidence object
freshness object
generated_sql object
governance object
latency_ms object
message_id string
reasoning object
refusal object
result_chart object
result_data object
source_routing object
sources object
stage_metrics object
total_cost_usd object
total_tokens object
View JSON Schema on GitHub

JSON Schema

nexatron-io-app-schemas-query-query-response-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/nexatron-io/json-schema/nexatron-io-app-schemas-query-query-response-schema.json",
  "title": "QueryResponse",
  "x-generated": "2026-11-19",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/nexatron-io-openapi.json#/components/schemas/app__schemas__query__QueryResponse",
  "properties": {
    "answer_contract": {
      "anyOf": [
        {
          "additionalProperties": true,
          "type": "object"
        },
        {
          "type": "null"
        }
      ],
      "title": "Answer Contract"
    },
    "confidence_breakdown": {
      "anyOf": [
        {
          "additionalProperties": true,
          "type": "object"
        },
        {
          "type": "null"
        }
      ],
      "title": "Confidence Breakdown"
    },
    "confidence_score": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "title": "Confidence Score"
    },
    "content": {
      "title": "Content",
      "type": "string"
    },
    "conversation_id": {
      "format": "uuid",
      "title": "Conversation Id",
      "type": "string"
    },
    "core_evidence": {
      "anyOf": [
        {
          "additionalProperties": true,
          "type": "object"
        },
        {
          "type": "null"
        }
      ],
      "title": "Core Evidence"
    },
    "freshness": {
      "anyOf": [
        {
          "additionalProperties": true,
          "type": "object"
        },
        {
          "type": "null"
        }
      ],
      "title": "Freshness"
    },
    "generated_sql": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Generated Sql"
    },
    "governance": {
      "anyOf": [
        {
          "additionalProperties": true,
          "type": "object"
        },
        {
          "type": "null"
        }
      ],
      "title": "Governance"
    },
    "latency_ms": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "title": "Latency Ms"
    },
    "message_id": {
      "format": "uuid",
      "title": "Message Id",
      "type": "string"
    },
    "reasoning": {
      "anyOf": [
        {
          "additionalProperties": true,
          "type": "object"
        },
        {
          "type": "null"
        }
      ],
      "title": "Reasoning"
    },
    "refusal": {
      "anyOf": [
        {
          "$ref": "#/$defs/GovernanceRefusal"
        },
        {
          "type": "null"
        }
      ]
    },
    "result_chart": {
      "anyOf": [
        {
          "additionalProperties": true,
          "type": "object"
        },
        {
          "type": "null"
        }
      ],
      "title": "Result Chart"
    },
    "result_data": {
      "anyOf": [
        {
          "additionalProperties": true,
          "type": "object"
        },
        {
          "type": "null"
        }
      ],
      "title": "Result Data"
    },
    "source_routing": {
      "anyOf": [
        {
          "additionalProperties": true,
          "type": "object"
        },
        {
          "type": "null"
        }
      ],
      "title": "Source Routing"
    },
    "sources": {
      "anyOf": [
        {
          "additionalProperties": true,
          "type": "object"
        },
        {
          "items": {},
          "type": "array"
        },
        {
          "type": "null"
        }
      ],
      "title": "Sources"
    },
    "stage_metrics": {
      "anyOf": [
        {
          "items": {
            "additionalProperties": true,
            "type": "object"
          },
          "type": "array"
        },
        {
          "type": "null"
        }
      ],
      "title": "Stage Metrics"
    },
    "total_cost_usd": {
      "anyOf": [
        {
          "type": "number"
        },
        {
          "type": "null"
        }
      ],
      "title": "Total Cost Usd"
    },
    "total_tokens": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "title": "Total Tokens"
    }
  },
  "required": [
    "message_id",
    "conversation_id",
    "content"
  ],
  "type": "object",
  "$defs": {
    "GovernanceRefusal": {
      "additionalProperties": false,
      "description": "A governed answer the platform withheld, as a typed body rather than prose.\n\nNexatron withholds an answer when an approved metric's owner declared something\nthe requested shape contradicts, such as a grain finer than the metric allows or\na filter it cannot honour. Clients should read the typed state and code rather\nthan parsing prose, and should not re-ask a question that was refused.\n\n``clarification_required`` / ``sql_generation_declined`` means Nexatron declined\nto write a query. It is not a policy decision or proof of missing data.\n\n``generation_failed`` / ``sql_generation_failed`` means the question was accepted\nand no query could be produced. It is a failure of this platform, not a\nstatement about the question: present it as retryable, and don't prompt the\nperson for a definition. It carries no number, no rows and no SQL, because\nnothing was measured.",
      "properties": {
        "code": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Code"
        },
        "governance_state": {
          "title": "Governance State",
          "type": "string"
        },
        "metric": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Metric"
        },
        "reason": {
          "title": "Reason",
          "type": "string"
        },
        "suggestions": {
          "items": {
            "type": "string"
          },
          "title": "Suggestions",
          "type": "array"
        }
      },
      "required": [
        "reason",
        "governance_state"
      ],
      "title": "GovernanceRefusal",
      "type": "object"
    }
  }
}

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/nexatron-io-app-schemas-query-query-response"
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.