Triall · Schema
ReasoningRequest
Request to start a reasoning session.
Artificial IntelligenceVerificationMulti-ModelDeveloper ToolsTriall
Properties
| Name | Type | Description |
|---|---|---|
| task | string | |
| context | object | |
| context_files | object | |
| config | object | |
| language | string | ISO 639-1 language code for LLM output |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://artifacts.apis.io/triall-ai/json-schema/triall-ai-reasoning-request-schema.json",
"title": "ReasoningRequest",
"description": "Request to start a reasoning session.",
"x-generated": "2026-11-27",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/triall-ai-openapi.json#/components/schemas/ReasoningRequest",
"properties": {
"task": {
"type": "string",
"maxLength": 50000,
"minLength": 1,
"title": "Task"
},
"context": {
"anyOf": [
{
"type": "string",
"maxLength": 100000
},
{
"type": "null"
}
],
"title": "Context"
},
"context_files": {
"anyOf": [
{
"items": {
"$ref": "#/$defs/ContextFile"
},
"type": "array",
"maxItems": 10
},
{
"type": "null"
}
],
"title": "Context Files"
},
"config": {
"anyOf": [
{
"$ref": "#/$defs/ReasoningConfig"
},
{
"type": "null"
}
]
},
"language": {
"type": "string",
"title": "Language",
"description": "ISO 639-1 language code for LLM output",
"default": "en"
}
},
"type": "object",
"required": [
"task"
],
"$defs": {
"ContextFile": {
"properties": {
"name": {
"type": "string",
"maxLength": 255,
"title": "Name"
},
"content": {
"type": "string",
"maxLength": 10000000,
"title": "Content"
},
"type": {
"type": "string",
"title": "Type"
},
"size": {
"type": "integer",
"title": "Size"
},
"isBase64": {
"type": "boolean",
"title": "Isbase64",
"default": false
},
"mimeType": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Mimetype"
}
},
"type": "object",
"required": [
"name",
"content",
"type",
"size"
],
"title": "ContextFile",
"description": "A file attached as context (can be text or base64-encoded binary)."
},
"CritiqueVector": {
"type": "string",
"enum": [
"accuracy",
"logic",
"completeness",
"edge_cases",
"clarity",
"practicality",
"security",
"bias"
],
"title": "CritiqueVector",
"description": "Types of critique focus."
},
"ReasoningConfig": {
"properties": {
"council_models": {
"items": {
"type": "string"
},
"type": "array",
"title": "Council Models"
},
"generator_model": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Generator Model"
},
"critic_model": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Critic Model"
},
"refiner_model": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Refiner Model"
},
"temperature": {
"type": "number",
"maximum": 2.0,
"minimum": 0.0,
"title": "Temperature",
"default": 0.7
},
"max_tokens": {
"type": "integer",
"maximum": 128000.0,
"minimum": 100.0,
"title": "Max Tokens",
"default": 32000
},
"max_iterations": {
"type": "integer",
"maximum": 10.0,
"minimum": 1.0,
"title": "Max Iterations",
"default": 2
},
"criteria": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Criteria"
},
"output_length": {
"type": "string",
"enum": [
"short",
"medium",
"long"
],
"title": "Output Length",
"default": "long"
},
"mode": {
"type": "string",
"enum": [
"generate",
"council",
"ultrathink"
],
"title": "Mode",
"default": "generate"
},
"critique_only": {
"type": "boolean",
"title": "Critique Only",
"default": false
},
"critique_vectors": {
"items": {
"$ref": "#/$defs/CritiqueVector"
},
"type": "array",
"title": "Critique Vectors",
"default": []
},
"devils_advocate": {
"type": "boolean",
"title": "Devils Advocate",
"default": true
},
"web_search": {
"type": "string",
"enum": [
"off",
"on"
],
"title": "Web Search",
"default": "off"
},
"gear": {
"anyOf": [
{
"type": "string",
"enum": [
"verdict",
"trial"
]
},
{
"type": "null"
}
],
"title": "Gear"
},
"score_threshold": {
"type": "number",
"maximum": 10.0,
"minimum": 1.0,
"title": "Score Threshold",
"default": 8.0
},
"improvement_delta": {
"type": "number",
"maximum": 5.0,
"minimum": 0.0,
"title": "Improvement Delta",
"default": 0.5
},
"convergence_window": {
"type": "integer",
"maximum": 10.0,
"minimum": 2.0,
"title": "Convergence Window",
"default": 3
},
"convergence_delta": {
"type": "number",
"maximum": 2.0,
"minimum": 0.1,
"title": "Convergence Delta",
"default": 0.3
}
},
"type": "object",
"title": "ReasoningConfig",
"description": "Configuration for a Triall reasoning session.\n\nIMPORTANT: `council_models` is the canonical representation. The three models\nare PEERS, not role assignments. They rotate through generator/critic/refiner\nroles across iterations and operate in parallel during council phase. The order\nin the array determines only which model starts iteration 0 as the generator;\nevery other role assignment is derived dynamically.\n\nThe legacy `generator_model`, `critic_model`, `refiner_model` fields are\ndeprecated aliases preserved for backward compatibility. Their names are\nhistorical artifacts and do NOT describe role assignment. New code should\nread `council_models` directly. See COUNCIL_MECHANICS.md.\n\nThe system runs exactly `max_iterations` iterations, then returns the\nhighest-scored iteration's output. Early termination only occurs on\nsignificant score regression (>1.5 point drop)."
}
}
}
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.
Call it yourself
curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/triall-ai-reasoning-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.