openapi: 3.1.0
info:
  title: iJarvis Compute API (Shipping Q3 2026)
  description: |
    Boutique inference on iJarvis-owned hardware. OpenAI-compatible chat + embeddings surface.
    Shipping Q3 2026. Pinned open-weights models (Llama 3.3, Qwen 2.5, etc.).
  version: v1-preview
  contact: {name: iJarvis LLC, email: hello@ijarvis.ai, url: https://ijarvis.ai}
  license: {name: Proprietary, url: https://compute.ijarvis.ai/terms}
servers:
  - url: https://compute.ijarvis.ai/v1
    description: Planned production API (Q3 2026)
security:
  - x402: []
  - bearerAuth: []
components:
  securitySchemes:
    x402: {type: http, scheme: x402, description: "Pay per request with x402 V2"}
    bearerAuth: {type: http, scheme: bearer, bearerFormat: API-Key}
paths:
  /status:
    get: {summary: Service health, responses: {'200': {description: healthy}}}
  /models:
    get:
      summary: List available models + pricing
      responses: {'200': {description: Model list}}
  /chat/completions:
    post:
      summary: OpenAI-compatible chat completion
      responses:
        '200': {description: Completion}
        '402': {description: Payment required}
  /embeddings:
    post:
      summary: OpenAI-compatible embedding
      responses:
        '200': {description: Embeddings}
        '402': {description: Payment required}
