openapi: 3.1.0
info:
  title: iAgentFarm API (Hardware roadmap 2027)
  description: iAgentFarm will host long-running agents on iJarvis hardware. This OpenAPI spec previews the planned API surface. Launches 2027.
  version: v1-preview
  contact:
    name: iJarvis LLC
    email: hello@iagentfarm.com
    url: https://ijarvis.ai
  license:
    name: Proprietary
    url: https://iagentfarm.com/terms
servers:
  - url: https://api.iagentfarm.com/v1
    description: Planned API (Hardware roadmap 2027)
security:
  - x402: []
  - bearerAuth: []
components:
  securitySchemes:
    x402:
      type: http
      scheme: x402
      description: x402 V2 payment protocol. Send HTTP request; receive 402 if unpaid; attach X-Payment header and retry.
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: API-Key
paths:
  /status:
    get:
      summary: Service health check
      description: Returns operational status and deployed version.
      responses:
        '200':
          description: Service is healthy
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    type: string
                    example: operational
                  version:
                    type: string
                    example: v1-beta
                  uptime_seconds:
                    type: integer
