Skip to main content
POST
This is the primary endpoint for performing neural-symbolic reasoning. It accepts a query string and optional parameters to control the reasoning process, including strategy selection and configuration overrides. Request Body
  • query: The question or goal to reason about
  • strategy: Optional reasoning strategy (SymbolicFirst, NeuralFirst, Hybrid, Ensemble, Cascading)
  • session_id: Optional session ID for context continuity
  • options: Optional configuration overrides (max_depth, confidence_threshold, neural_weight) Response Returns a ReasonResponse containing:
  • answer: The reasoning result
  • confidence: Confidence score (0.0-1.0)
  • explanation: Human-readable explanation of the reasoning path
  • session_id: Session ID for follow-up queries Errors
  • 400 Bad Request: Invalid input (empty query, exceeds max length)
  • 500 Internal Server Error: Reasoning engine failure Example Example (curl)
Execute a reasoning query. Required scope: write

Request body

ReasonRequest
string
Optional RFC3339 timestamp for time-travel reasoning against a historical KB snapshot
boolean
Include evidence/citation objects in the response
object
Optional pre-compiled IR. Provide exactly one of query or ir.
object
string
The query to reason about
string
Session ID for context persistence
object

Response

ReasonResponse
string
The answer to the query
number (float)
required
Confidence score (0.0 to 1.0)
any[]
Optional evidence/citation objects supporting the answer
object
Detailed explanation of reasoning steps
ResponseMetadata
required
string
required
Type of reasoning used (symbolic, neural, hybrid)
string
Session ID for follow-up queries

Status codes