{
  "openapi": "3.1.0",
  "info": {
    "title": "Humanizer Solutions Computational Stylometry API",
    "version": "1.0.0",
    "description": "Zero-retention public API for auditing sentence burstiness (CV), long-dash inflation, and 168 multilingual LLM writing fingerprints.",
    "license": {
      "name": "MIT",
      "url": "https://opensource.org/licenses/MIT"
    }
  },
  "servers": [
    {
      "url": "https://humanizer.solutions"
    }
  ],
  "paths": {
    "/api/v1/health": {
      "get": {
        "operationId": "getHealth",
        "summary": "Service health and dataset version",
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/v1/lexicon": {
      "get": {
        "operationId": "searchLexicon",
        "summary": "Query 168 multilingual LLM fingerprints",
        "parameters": [
          {
            "name": "lang",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "q",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Matched lexicon entries"
          }
        }
      }
    },
    "/api/v1/benchmarks": {
      "get": {
        "operationId": "getBenchmarks",
        "summary": "Retrieve 24 genre benchmark cohorts",
        "responses": {
          "200": {
            "description": "Benchmark cohorts"
          }
        }
      }
    },
    "/api/v1/guides": {
      "get": {
        "operationId": "listGuides",
        "summary": "List 38 stylometry playbooks",
        "responses": {
          "200": {
            "description": "Playbook list"
          }
        }
      }
    },
    "/api/v1/audit": {
      "post": {
        "operationId": "auditStylometry",
        "summary": "Stateless stylometry & burstiness audit",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "text": {
                    "type": "string"
                  }
                },
                "required": [
                  "text"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Stylometry metrics, matched tells, scrubbed preview, and pure-English iLang v5.0 block"
          }
        }
      }
    }
  }
}
