{
  "name": "QADI AI Knowledge API",
  "version": "1.0",
  "description": "Quantum Measurement Unit authority graph for human and AI retrieval.",
  "base_url": "/api/qadi.php",
  "documentation": "/api/docs.php",
  "health": "/api/health.php",
  "ai_interface": "/ai/",
  "endpoints": {
    "help": "/api/qadi.php?action=help",
    "unit": "/api/qadi.php?action=unit&id={unit}",
    "equation": "/api/qadi.php?action=equation&id={equation}",
    "paper": "/api/qadi.php?action=paper&id={paper}",
    "search": "/api/qadi.php?action=search&q={query}&limit={limit}",
    "path": "/api/qadi.php?action=path&from={from}&to={to}",
    "neighborhood": "/api/qadi.php?action=neighborhood&id={node}",
    "knowledge_pack_sample": "/api/qadi.php?action=knowledge-pack&limit={limit}",
    "knowledge_pack_full": "/api/qadi.php?action=knowledge-pack-full"
  },
  "node_types": [
    "unit",
    "equation",
    "paper"
  ],
  "authority_sources": [
    "data/qmu-unit-authority.json",
    "data/qmu-unit-authority-pandoc.json",
    "data/qmu-unit-description-overrides.json",
    "data/qmu-equation-graph.json",
    "data/qmu-paper-index.json",
    "data/qmu_units.json"
  ],
  "recommended_ai_workflow": [
    "Use search to find relevant nodes.",
    "Open a unit, equation, or paper endpoint for structured detail.",
    "Use neighborhood to retrieve directly connected concepts.",
    "Use path to bridge two concepts.",
    "Use knowledge_pack_full for full local ingestion."
  ],
  "schema": "/api/schema.json"
}
