> ## Documentation Index
> Fetch the complete documentation index at: /llms.txt
> Use this file to discover all available pages before exploring further.

# POST /v1/systemone

> Submit an observation state and structured questions for instant calibrated decision classification

The `/v1/systemone` endpoint processes an observation `state` through Inevitable's non-causal decision engine. It returns deterministic categorical judgments, calibrated posterior probability distributions, and optional dual-sided factual explainability evidence without conversational or token generation overhead.

***

## Single-Pass Scenario Scoring

Inevitable is engineered to **score an entire decision scenario in one pass**. Rather than making sequential calls or running token-by-token generation loops, you pass a single structured `state` and evaluate multiple questions of different types simultaneously:

* **Binary Propositions (`noul`)**: Instant truth detection and probability of yes ($P(\text{yes}) \in [0.0, 1.0]$).
* **Continuous Ordinal Rubrics (`score`)**: Position along an ordered rubric scale.
* **Discrete Categorical Candidates (`choice`)**: Selection among discrete candidate options with normalized probability distributions.

Because the non-causal dense encoder ingests the observation state once and forks simultaneously into specialized readout heads, an entire multi-question scenario resolves in a single forward pass under 100ms.

***

## The Three Question Input Types

### 1. `choice` (Categorical Multi-Option Classification)

Used when a decision requires selecting one discrete option from a defined set of candidates.

* **`options`**: Array of discrete candidate label strings (e.g. `["APPROVE", "REJECT", "HOLD"]` or `["COMPLIANT", "WATCHLIST", "BREACH"]`).
* **`criteria`**: Semantic mapping of each option label to its exact boundary criteria.
* **Output**: Selected option (`choice`), probability distribution across all defined options (`probabilities`), and peak confidence score (`confidence`).

```json
{
  "type": "choice",
  "instructions": "Recommended owner workflow",
  "options": [
    "Executive sponsor outreach",
    "Standard renewal track",
    "Commercial concession"
  ],
  "criteria": {
    "Executive sponsor outreach": "Key champions departed requiring executive re-engagement",
    "Standard renewal track": "Healthy usage metrics and net retention support routine renewal",
    "Commercial concession": "Active churn threat requires pricing or commercial incentives"
  }
}
```

### 2. `noul` (Binary Proposition)

Used for single hypothesis verification, solvency flags, default likelihood, and truth detection.

* **`instructions`**: The binary proposition to judge (e.g. "Will the enterprise account renew?").
* **`criteria`** *(optional)*: Boundary description defining what constitutes an affirmative outcome.
* **Output**: Calibrated float probability of `yes` (`noul` between 0.0 and 1.0). The probability directly conveys confidence without secondary uncalibrated scores.

```json
{
  "type": "noul",
  "instructions": "Will the enterprise account renew?",
  "criteria": "Customer executes renewal agreement prior to contract expiration"
}
```

### 3. `score` (Continuous Ordinal Rubric)

Used when evaluating a scenario along an ordered scale where the true state may land between discrete rubric tiers.

* **`instructions`**: The evaluation prompt or rating rubric.
* **`levels`**: Ordered array of rubric level strings, from lowest level to highest level.
* **Output**: Continuous expected rubric position (`score`), discrete winning level index (`discrete_score`), winning label (`choice`), and normalized probabilities across each level.

```json
{
  "type": "score",
  "instructions": "12-month account trajectory",
  "levels": [
    "Contraction risk",
    "Stable renewal",
    "Likely expansion"
  ]
}
```

***

## Shorthand Single-Question Format

For lightweight single-question classifications, you can provide `question` and `options` directly at the top level of the request rather than constructing a `questions` dictionary:

```json
{
  "state": "Borrower debt-to-equity ratio reached 3.42x at Q3 close. Covenant ceiling is 3.50x.",
  "question": "Should credit limit be expanded, maintained, or constrained?",
  "options": ["EXPAND", "MAINTAIN", "CONSTRAIN"],
  "model": "inevitable-senatus-council"
}
```

***

## Explainability Feature (`reasons`)

Inevitable provides dual-sided factual explainability attribution by setting `"reasons": true` in the request body.

### Architectural Guarantee

Unlike generative LLMs that invent ungrounded post-hoc prose justifications, Inevitable's stage-2 decision architecture computes calibrated posterior probabilities first. Only after the mathematical decision boundary is locked does the model extract verbatim factual anchors from the input `state`.

### Explainability Schema

The resulting `reasons` payload returns structured evidence divided into two opposing vectors:

* **`for`**: Up to three grounded factual quotes from the input state that pushed the model *toward* the winning outcome.
* **`against`**: Up to three grounded factual quotes from the input state that pushed *against* the winning outcome (highlighting counter-risks, mitigating factors, or opposing signals).

Each reason object contains:

* **`fact`**: Direct quote or grounded factual extraction from the input state.
* **`effect`**: Concise causal clause explaining why the fact influenced the decision boundary.

```json
"reasons": {
  "for": [
    {
      "fact": "118% net retention, 18% YoY revenue growth, and declining churn",
      "effect": "Points to durable account health and high underlying product value."
    }
  ],
  "against": [
    {
      "fact": "Departure of two executive sponsors in Q3",
      "effect": "Creates near-term champion risk and procurement uncertainty."
    }
  ]
}
```

***

## Complete Multi-Question Scenario Example (cURL)

The following example demonstrates scoring an entire decision scenario in one pass, evaluating a `noul` binary check, a `score` ordinal trajectory, and a `choice` workflow action simultaneously:

```bash
curl -X POST "https://api.inevitableco.ai/v1/systemone" \
  -H "Authorization: Bearer $INEVITABLE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "state": "Q3 revenue grew 18% YoY to $612M. Net retention rose to 118%. Annual churn fell from 4.2% to 2.9%. Two executive sponsors departed in Q3.",
    "model": "inevitable-senatus-council",
    "reasons": true,
    "questions": {
      "renewal_probability": {
        "type": "noul",
        "instructions": "Will the enterprise account renew?"
      },
      "account_trajectory": {
        "type": "score",
        "instructions": "12-month account trajectory",
        "levels": [
          "Contraction risk",
          "Stable renewal",
          "Likely expansion"
        ]
      },
      "recommended_workflow": {
        "type": "choice",
        "instructions": "Recommended owner workflow",
        "options": [
          "Executive sponsor outreach",
          "Standard renewal track",
          "Commercial concession"
        ],
        "criteria": {
          "Executive sponsor outreach": "Executive champion departure requires re-establishing high-level alignment",
          "Standard renewal track": "Standard automated cadence with account management",
          "Commercial concession": "Discount or commercial terms adjustment to prevent churn"
        }
      }
    }
  }'
```


## OpenAPI

````yaml POST /v1/systemone
openapi: 3.1.0
info:
  title: Inevitable System 1 Decision API
  version: 1.0.0
  description: >
    Ultra-low-latency deterministic and calibrated decision heads engineered for

    sub-100ms financial, risk, and prediction market classification.


    ### Architectural Highlights

    * **Non-Causal Single-Pass Dense Classification:** No autoregressive token
    generation overhead.

    * **Three Input Question Types:** Bounded binary propositions (`noul`),
    discrete multi-choice classification (`choice`), and ordinal rubric rating
    (`score`).

    * **Dual-Sided Explainability Attribution:** Factual quotes extracted
    directly from the state (`reasons`) for both supporting (`for`) and opposing
    (`against`) decision factors.

    * **Calibrated Probabilities:** High-precision Bayesian posterior
    distributions calibrated on real-world events.

    * **Dual Council Consensus:** Synchronous Mixture-of-Experts blending The
    Augur forecasting with The Censor risk gating.

    * **Zero Data Egress:** Fully containerized for In-VPC deployment (Dedicated
    GPU, Snowflake SPCS, AWS Marketplace).

    * **Deterministic Audit Hash:** Cryptographically verifiable linear weight
    trace conforming to OCC Bulletin 2011-12 / SR 11-7 model risk management
    standards.
  contact:
    name: Inevitable Engineering
    url: https://inevitableco.ai
    email: engineering@inevitableco.ai
  license:
    name: Proprietary Enterprise License
    url: https://inevitableco.ai/license
servers:
  - url: https://api.inevitableco.ai
    description: Production API Gateway (US East)
  - url: https://private-vpc.inevitableco.ai
    description: Private In-VPC Dedicated Cluster
security: []
paths:
  /v1/systemone:
    post:
      summary: Execute System 1 Judgment
      description: >
        Submits an observation state and one or more structured questions to the

        calibrated decision engine. Returns deterministic categorical picks,

        exact calibrated probability distributions, and optional dual-sided
        explainability evidence.
      operationId: executeSystemOne
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SystemOneRequest'
            examples:
              choice_with_options:
                summary: Choice Evaluation with Options & Explainability
                value:
                  state: >-
                    Borrower debt-to-equity ratio reached 3.42x at Q3 close.
                    Covenant ceiling is 3.50x. EBITDA dropped 14%
                    year-over-year. Unrestricted cash is $4.2M, sufficient for 2
                    quarters.
                  model: inevitable-senatus-council
                  reasons: true
                  questions:
                    covenant_posture:
                      type: choice
                      instructions: >-
                        Classify borrower covenant posture for the subsequent
                        quarter
                      options:
                        - COMPLIANT
                        - WATCHLIST
                        - BREACH
                      criteria:
                        COMPLIANT: >-
                          Covenant cushion exceeds 15% with stable operational
                          cash flow
                        WATCHLIST: >-
                          Covenant cushion within 10% threshold or EBITDA down
                          >10%
                        BREACH: >-
                          Covenant ratio breaches 3.50x or technical default
                          declared
              binary_noul_check:
                summary: Binary Noul Proposition Check
                value:
                  state: >-
                    Supplier delivered 98.4% of order volume on time. Defect
                    rate remained at 0.12%. Payment was processed 4 days ahead
                    of scheduled term.
                  model: inevitable-augur-31b
                  questions:
                    supplier_qualified:
                      type: noul
                      instructions: Does supplier meet Tier 1 preferred vendor criteria?
              rubric_score_evaluation:
                summary: Ordinal Rubric Score Evaluation
                value:
                  state: >-
                    Portfolio concentration in commercial real estate increased
                    from 18% to 27%. Loan-to-value ratio is 74% with debt
                    service coverage ratio at 1.18x.
                  model: inevitable-censor-31b
                  questions:
                    cre_risk_rating:
                      type: score
                      instructions: Assess commercial real estate portfolio risk posture
                      levels:
                        - Critical Risk
                        - High Risk
                        - Moderate Risk
                        - Low Risk
                        - Negligible Risk
      responses:
        '200':
          description: >-
            Successful decision response with calibrated probabilities, optional
            reasons, and audit receipt
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SystemOneResponse'
              examples:
                choice_with_reasons_response:
                  summary: Choice Response with Dual-Sided Explainability
                  value:
                    model: inevitable-senatus-council
                    answers:
                      covenant_posture:
                        choice: WATCHLIST
                        confidence: 0.842
                        probabilities:
                          COMPLIANT: 0.052
                          WATCHLIST: 0.842
                          BREACH: 0.106
                        reasons:
                          for:
                            - fact: >-
                                Borrower debt-to-equity ratio reached 3.42x at
                                Q3 close. Covenant ceiling is 3.50x.
                              effect: >-
                                Cushion beneath covenant threshold has narrowed
                                to 8 basis points (2.3% margin).
                            - fact: EBITDA dropped 14% year-over-year.
                              effect: >-
                                Satisfies the watchlist trigger condition of
                                operational earnings decline exceeding 10%.
                          against:
                            - fact: >-
                                Unrestricted cash is $4.2M, sufficient for 2
                                quarters.
                              effect: >-
                                Near-term liquidity provides adequate runway
                                preventing imminent technical breach.
                    latency_ms: 114.8
                    audit:
                      hash: >-
                        sha256:1d80d1d47aea41c43a3060f99478f793eef92e92da3072bd94553315a6b7d0a2
                      standard: OCC SR 11-7 / Federal Reserve SR 11-7
                      receipt: >-
                        Deterministic linear weight trace verified against SR
                        11-7 regulatory standard.
                noul_binary_response:
                  summary: Binary Noul Response
                  value:
                    model: inevitable-augur-31b
                    answers:
                      supplier_qualified:
                        choice: 'yes'
                        noul: 0.9412
                        confidence: 0.9412
                        probabilities:
                          'true': 0.9412
                          'false': 0.0588
                    latency_ms: 54.2
                    audit:
                      hash: >-
                        sha256:c57b8303f0b2f152d2b1f8efd0d1e37bc4493e839e94bfbaaecead32ffaa8892
                      standard: OCC SR 11-7 / Federal Reserve SR 11-7
                      receipt: >-
                        Deterministic linear weight trace verified against SR
                        11-7 regulatory standard.
                score_rubric_response:
                  summary: Ordinal Rubric Score Response
                  value:
                    model: inevitable-censor-31b
                    answers:
                      cre_risk_rating:
                        choice: High Risk
                        score: 1.28
                        discrete_score: 1
                        confidence: 0.764
                        legend:
                          '0': Critical Risk
                          '1': High Risk
                          '2': Moderate Risk
                          '3': Low Risk
                          '4': Negligible Risk
                        probabilities:
                          '0': 0.124
                          '1': 0.764
                          '2': 0.098
                          '3': 0.012
                          '4': 0.002
                    latency_ms: 78.4
                    audit:
                      hash: >-
                        sha256:2f97a5b172a2db77dae360bfa4429944a9557ec66a70e7e17743ce81b0a5015e
                      standard: OCC SR 11-7 / Federal Reserve SR 11-7
                      receipt: >-
                        Deterministic linear weight trace verified against SR
                        11-7 regulatory standard.
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '422':
          $ref: '#/components/responses/UnprocessableEntity'
        '500':
          $ref: '#/components/responses/InternalServerError'
      security:
        - BearerAuth: []
components:
  schemas:
    SystemOneRequest:
      type: object
      required:
        - state
      properties:
        state:
          type: string
          description: >-
            Full context, scenario text, transaction ledger, or document
            snapshot to evaluate.
          maxLength: 100000
          example: >-
            Borrower debt-to-equity ratio reached 3.42x at Q3 close. Covenant
            ceiling is 3.50x. EBITDA dropped 14% year-over-year. Unrestricted
            cash is $4.2M.
        question:
          type: string
          description: >-
            Single decision proposition or question shorthand. Used when making
            a direct single-query decision call without nesting under questions.
          example: Should credit limit be expanded, maintained, or constrained?
        options:
          type: array
          description: >-
            Candidate decision option labels for direct evaluation. Explicit
            discrete choices to classify between.
          items:
            type: string
          example:
            - EXPAND
            - MAINTAIN
            - CONSTRAIN
        questions:
          type: object
          description: >-
            Dictionary of structured questions keyed by unique question
            identifier. Supports choice, noul, and score types.
          minProperties: 1
          maxProperties: 20
          additionalProperties:
            $ref: '#/components/schemas/QuestionSpec'
        model:
          type: string
          description: Model or council identifier to execute.
          enum:
            - inevitable-senatus-council
            - inevitable-praetor-27b
            - inevitable-censor-31b
            - inevitable-augur-31b
          example: inevitable-senatus-council
        reasons:
          type: boolean
          default: false
          description: >-
            Opt-in explainability attribution. When true, returns grounded facts
            from the input state pushing for and against the winning decision.
          example: true
        domain:
          type: string
          enum:
            - markets
            - verification
            - finance
            - legal
            - general
          description: >-
            Optional domain hint used for optimal Dual Council routing and
            weighting.
          example: finance
    SystemOneResponse:
      type: object
      required:
        - answers
        - latency_ms
        - model
      properties:
        model:
          type: string
          description: The active model ID or ensemble head that produced the judgment.
          example: inevitable-senatus-council
        answers:
          type: object
          description: Judgments for each submitted question key.
          additionalProperties:
            $ref: '#/components/schemas/QuestionAnswer'
        latency_ms:
          type: number
          description: End-to-end inference execution latency in milliseconds.
          example: 107.2
        audit:
          $ref: '#/components/schemas/AuditMetadata'
    QuestionSpec:
      type: object
      required:
        - type
        - instructions
      properties:
        type:
          type: string
          enum:
            - choice
            - noul
            - score
          description: >
            The three fundamental input question types:

            * `choice`: Multi-option discrete classification across specified
            options with full probability distribution.

            * `noul`: Binary proposition calibrated directly as P(yes) without
            separate confidence.

            * `score`: Continuous ordinal rubric rating returning expected
            position and discrete level probabilities.
          example: choice
        instructions:
          type: string
          description: The specific question, proposition, or rubric instruction to judge.
          maxLength: 4000
          example: Classify borrower covenant posture for the subsequent quarter
        options:
          type: array
          description: >-
            Candidate discrete option labels for choice questions (e.g.
            ["APPROVE", "REJECT", "HOLD"]).
          items:
            type: string
          example:
            - COMPLIANT
            - WATCHLIST
            - BREACH
        criteria:
          type: object
          description: >-
            Semantic criteria mapping option labels to descriptive decision
            boundaries.
          additionalProperties:
            type: string
          example:
            COMPLIANT: >-
              Borrower maintains covenant cushion exceeding 15% with stable cash
              flows
            WATCHLIST: Covenant cushion within 10% threshold or EBITDA down >10%
            BREACH: Covenant ratio breaches 3.50x or technical default declared
        levels:
          type: array
          description: Ordered rubric scale levels for score questions, lowest level first.
          items:
            type: string
          example:
            - Critical Risk
            - High Risk
            - Moderate Risk
            - Low Risk
            - Negligible Risk
    QuestionAnswer:
      type: object
      properties:
        choice:
          type: string
          description: The winning categorical label or boolean outcome.
          example: WATCHLIST
        confidence:
          type: number
          format: float
          description: Calibrated posterior probability assigned to the winning choice.
          example: 0.8842
        probabilities:
          type: object
          description: >-
            Complete normalized probability distribution across all considered
            options.
          additionalProperties:
            type: number
            format: float
          example:
            COMPLIANT: 0.0812
            WATCHLIST: 0.8842
            BREACH: 0.0346
        noul:
          type: number
          format: float
          description: >-
            Present only for noul questions. Direct calibrated probability of
            yes (P(yes)).
          example: 0.8842
        score:
          type: number
          format: float
          description: >-
            Present only for score questions. Continuous expected rubric
            position across the ordered scale.
          example: 2.34
        discrete_score:
          type: integer
          description: >-
            Present only for score questions. Index of the most probable
            discrete rubric level.
          example: 2
        legend:
          type: object
          description: Level index to rubric name mapping for score questions.
          additionalProperties:
            type: string
        reasons:
          $ref: '#/components/schemas/ReasonsAttribution'
    AuditMetadata:
      type: object
      required:
        - hash
        - standard
      properties:
        hash:
          type: string
          description: >-
            SHA-256 cryptographic hash uniquely sealing input state, weights,
            and predictions.
          example: >-
            sha256:1d80d1d47aea41c43a3060f99478f793eef92e92da3072bd94553315a6b7d0a2
        standard:
          type: string
          description: >-
            Supervisory model risk management standard verified for this
            inference run.
          example: OCC SR 11-7 / Federal Reserve SR 11-7
        receipt:
          type: string
          description: Human-readable trace statement.
          example: >-
            Deterministic linear weight trace verified against SR 11-7
            regulatory standard.
    ReasonsAttribution:
      type: object
      description: Dual-sided explainability evidence extracted directly from the state.
      properties:
        for:
          type: array
          description: >-
            Up to three grounded factual quotes from the state supporting the
            primary decision.
          items:
            $ref: '#/components/schemas/ReasonItem'
        against:
          type: array
          description: >-
            Up to three grounded factual quotes from the state opposing the
            primary decision.
          items:
            $ref: '#/components/schemas/ReasonItem'
    ReasonItem:
      type: object
      required:
        - fact
        - effect
      properties:
        fact:
          type: string
          description: Short quote or grounded factual extraction from the input state.
          example: Borrower debt-to-equity ratio reached 3.42x at Q3 close.
        effect:
          type: string
          description: >-
            Concise clause explaining the operational effect on the decision
            boundary.
          example: >-
            Covenant cushion has narrowed to 8 basis points beneath the 3.50x
            ceiling.
  responses:
    BadRequest:
      description: Invalid request syntax or malformed JSON.
      content:
        application/json:
          schema:
            type: object
            properties:
              detail:
                type: string
                example: Decision JSON requires string keys
    Unauthorized:
      description: Missing or invalid API authentication token.
      content:
        application/json:
          schema:
            type: object
            properties:
              detail:
                type: string
                example: Invalid Bearer token
    UnprocessableEntity:
      description: >-
        Input validation error (e.g. state exceeds 100,000 bytes or invalid
        question type).
      content:
        application/json:
          schema:
            type: object
            properties:
              detail:
                type: string
                example: Decision state exceeds 100000 byte limit
    InternalServerError:
      description: Internal inference failure or model timeout.
      content:
        application/json:
          schema:
            type: object
            properties:
              detail:
                type: string
                example: Inference engine timeout
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: Inevitable API Bearer token (`INEVITABLE_API_KEY`).

````