openapi: 3.1.0
info:
  title: iAgentLaw API (Parked pending partnership)
  description: iAgentLaw is the proposed legal and liability infrastructure for agent operations. This OpenAPI spec previews the planned API surface. Parked pending a law-firm anchor partnership.
  version: v1-preview
  contact:
    name: iJarvis LLC
    email: hello@iagentlaw.com
    url: https://ijarvis.ai
  license:
    name: Proprietary
    url: https://iagentlaw.com/terms
servers:
  - url: https://api.iagentlaw.com/v1
    description: Planned API (Parked pending partnership)
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
