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

# Systemone

> [!NOTE]
>
> When called with an API key, or a scoped JWT made from one, the key needs the `inference` scope ([about scopes](https://docs.deepinfra.com/account/authentication.md#scopes)).


## OpenAPI

````yaml https://api.deepinfra.com/openapi.json post /v1/decisions
openapi: 3.1.0
info:
  title: DeepInfra API
  description: >-
    The DeepInfra API provides serverless AI inference, custom model
    deployments, and GPU rentals.
  version: 1.0.0
servers:
  - url: https://api.deepinfra.com
security: []
tags:
  - name: Chat Completions
    description: OpenAI and Anthropic-compatible chat completion endpoints for LLMs.
  - name: Text Completions
    description: OpenAI-compatible text completion endpoints.
  - name: Embeddings
    description: Generate text embeddings for search and RAG.
  - name: Image Generation
    description: Generate, edit, and create variations of images.
  - name: Audio
    description: OpenAI-compatible speech synthesis, transcription, and translation.
  - name: Text to Speech
    description: ElevenLabs-compatible TTS endpoints and voice management.
  - name: Inference
    description: Native DeepInfra inference API for models and deployments.
  - name: Dedicated Models
    description: Deploy and manage private model instances with autoscaling.
  - name: GPU Rentals
    description: Rent dedicated GPU containers.
  - name: Models
    description: Browse, search, and manage AI models.
  - name: Files & Batches
    description: File uploads and batch processing.
  - name: LoRA Adapters
    description: Create, manage, and query LoRA adapter models.
  - name: Agents
    description: Manage agent-framework instances (OpenClaw and friends).
  - name: Sandboxes
    description: Create and manage isolated sandbox environments.
  - name: Account
    description: User profile, team management, rate limits, and GPU pool limits.
  - name: Authentication
    description: API tokens, SSH keys, scoped JWTs, and login flows.
  - name: Billing
    description: Payment methods, usage tracking, and billing.
  - name: Logs & Metrics
    description: Query inference logs, deployment logs, and usage metrics.
  - name: Utilities
    description: Feedback submission and CLI version.
paths:
  /v1/decisions:
    post:
      tags:
        - Decisions
      summary: Systemone
      operationId: systemone_v1_decisions_post
      parameters:
        - name: xi-api-key
          in: header
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            title: Xi-Api-Key
        - name: x-api-key
          in: header
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            title: X-Api-Key
      requestBody:
        required: true
        content:
          application/json:
            schema:
              title: SystemOneRequest
              additionalProperties: false
              properties:
                state:
                  anyOf:
                    - type: string
                    - additionalProperties: true
                      type: object
                    - items: {}
                      type: array
                  title: State
                model:
                  type: string
                  title: Model
                questions:
                  additionalProperties:
                    discriminator:
                      propertyName: type
                    oneOf:
                      - additionalProperties: false
                        properties:
                          type:
                            const: noul
                            title: Type
                            type: string
                          instructions:
                            anyOf:
                              - type: string
                              - additionalProperties: true
                                type: object
                              - items: {}
                                type: array
                            title: Instructions
                          criteria:
                            anyOf:
                              - additionalProperties: false
                                properties:
                                  'true':
                                    anyOf:
                                      - type: string
                                      - additionalProperties: true
                                        type: object
                                      - items: {}
                                        type: array
                                      - type: 'null'
                                    title: 'True'
                                  'false':
                                    anyOf:
                                      - type: string
                                      - additionalProperties: true
                                        type: object
                                      - items: {}
                                        type: array
                                      - type: 'null'
                                    title: 'False'
                                title: NoulCriteria
                                type: object
                              - type: 'null'
                        required:
                          - type
                          - instructions
                        title: NoulQuestion
                        type: object
                      - additionalProperties: false
                        properties:
                          type:
                            const: choice
                            title: Type
                            type: string
                          instructions:
                            anyOf:
                              - type: string
                              - additionalProperties: true
                                type: object
                              - items: {}
                                type: array
                            title: Instructions
                          criteria:
                            additionalProperties:
                              anyOf:
                                - type: string
                                - additionalProperties: true
                                  type: object
                                - items: {}
                                  type: array
                                - type: 'null'
                            maxProperties: 52
                            minProperties: 2
                            title: Criteria
                            type: object
                        required:
                          - type
                          - instructions
                          - criteria
                        title: ChoiceQuestion
                        type: object
                      - additionalProperties: false
                        properties:
                          type:
                            const: score
                            title: Type
                            type: string
                          instructions:
                            anyOf:
                              - type: string
                              - additionalProperties: true
                                type: object
                              - items: {}
                                type: array
                            title: Instructions
                          criteria:
                            items:
                              anyOf:
                                - type: string
                                - additionalProperties: true
                                  type: object
                                - items: {}
                                  type: array
                            maxItems: 10
                            minItems: 2
                            title: Criteria
                            type: array
                        required:
                          - type
                          - instructions
                          - criteria
                        title: ScoreQuestion
                        type: object
                  maxProperties: 64
                  minProperties: 1
                  title: Questions
                  type: object
              required:
                - state
                - model
                - questions
              type: object
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SystemOneResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
        - HTTPBearer: []
components:
  schemas:
    SystemOneResponse:
      properties:
        model:
          type: string
          title: Model
        answers:
          additionalProperties:
            anyOf:
              - $ref: '#/components/schemas/NoulAnswer'
              - $ref: '#/components/schemas/ChoiceAnswer'
              - $ref: '#/components/schemas/ScoreAnswer'
          type: object
          title: Answers
        usage:
          $ref: '#/components/schemas/Usage'
      type: object
      required:
        - model
        - answers
        - usage
      title: SystemOneResponse
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    NoulAnswer:
      properties:
        type:
          type: string
          const: noul
          title: Type
          default: noul
        noul:
          type: number
          title: Noul
      type: object
      required:
        - noul
      title: NoulAnswer
    ChoiceAnswer:
      properties:
        type:
          type: string
          const: choice
          title: Type
          default: choice
        choice:
          type: string
          title: Choice
        probabilities:
          additionalProperties:
            type: number
          type: object
          title: Probabilities
        confidence:
          type: number
          title: Confidence
      type: object
      required:
        - choice
        - probabilities
        - confidence
      title: ChoiceAnswer
    ScoreAnswer:
      properties:
        type:
          type: string
          const: score
          title: Type
          default: score
        score:
          type: number
          title: Score
        legend:
          additionalProperties:
            type: string
          type: object
          title: Legend
        probabilities:
          additionalProperties:
            type: number
          type: object
          title: Probabilities
        confidence:
          type: number
          title: Confidence
      type: object
      required:
        - score
        - legend
        - probabilities
        - confidence
      title: ScoreAnswer
    Usage:
      properties:
        input_tokens:
          type: integer
          title: Input Tokens
        output_tokens:
          type: integer
          title: Output Tokens
      type: object
      required:
        - input_tokens
        - output_tokens
      title: Usage
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError
  securitySchemes:
    HTTPBearer:
      type: http
      scheme: bearer

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.