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

# POST /v1/systemone/batch

> Process up to 1,000 independent scenarios in a high-throughput pipelined batch



## OpenAPI

````yaml POST /v1/systemone/batch
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/batch:
    post:
      summary: Batch System 1 Decisions
      description: >
        Processes up to 1,000 independent decision scenarios in a single
        high-throughput

        pipelined request. Ideal for portfolio-level stress testing and
        high-volume classification.
      operationId: executeSystemOneBatch
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
                - requests
              properties:
                requests:
                  type: array
                  minItems: 1
                  maxItems: 1000
                  description: >-
                    Array of individual SystemOneRequest objects to execute
                    concurrently.
                  items:
                    $ref: '#/components/schemas/SystemOneRequest'
      responses:
        '200':
          description: Array of decision outcomes matching the order of input requests
          content:
            application/json:
              schema:
                type: object
                required:
                  - results
                  - total_scenarios
                  - batch_latency_ms
                properties:
                  total_scenarios:
                    type: integer
                    example: 250
                  batch_latency_ms:
                    type: number
                    example: 1420.5
                  results:
                    type: array
                    items:
                      $ref: '#/components/schemas/SystemOneResponse'
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '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
    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`).

````