{
  "openapi": "3.1.0",
  "info": {
    "title": "StackAudit Read-Only Biomedical Knowledge & NIH DSLD API",
    "version": "2026.11.3",
    "summary": "Deterministic supplement pharmacology corpus, drug-nutrient pathways, BioBench v1.0, and read-only NIH DSLD proxy.",
    "description": "Zero-authentication, read-only endpoints exposing CC BY 4.0 NIH ODS Upper Limits, PubMed-verified interaction rules, Drug-Nutrient Depletion monographs, StackAudit-BioBench v1.0, and live NIH DSLD product search. Zero personal health information (PHI) is collected or stored.",
    "license": {
      "name": "CC BY 4.0",
      "url": "https://creativecommons.org/licenses/by/4.0/"
    }
  },
  "servers": [
    {
      "url": "https://stackbiomed.com",
      "description": "Production Static Edge & Cloudflare Pages Functions"
    }
  ],
  "paths": {
    "/datasets/stackaudit-open-dataset-v3.json": {
      "get": {
        "operationId": "getOpenSupplementDataset",
        "summary": "Download full CC BY 4.0 ingredient UL, chemical form, and interaction ruleset JSON",
        "responses": {
          "200": {
            "description": "Complete 37-ingredient computational pharmacology dataset with NIH DSLD v9.4.0 quantiles and PubMed titles",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          }
        }
      }
    },
    "/datasets/stackaudit-pharmacology-v1.json": {
      "get": {
        "operationId": "getPharmacologyGuides",
        "summary": "Download Drug-Nutrient Depletion, CYP3A4/P-gp & Nutrigenomics Knowledge Graph JSON",
        "responses": {
          "200": {
            "description": "PubMed-verified pharmacology and nutrigenomics monographs with molecular pathways and applicability boundaries",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          }
        }
      }
    },
    "/datasets/stackaudit-llm-grounding-benchmark-v1.json": {
      "get": {
        "operationId": "getBioBenchSuite",
        "summary": "Download StackAudit-BioBench v1.0 (40 deterministic LLM grounding ground-truth cases)",
        "responses": {
          "200": {
            "description": "40 reproducible biomedical grounding evaluation prompts, rubrics, and PubMed-verified ground truths",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          }
        }
      }
    },
    "/datasets/stackaudit-mcp-tools.json": {
      "get": {
        "operationId": "getMcpToolsManifest",
        "summary": "Download Model Context Protocol (MCP) read-only tool schema manifest",
        "responses": {
          "200": {
            "description": "Standard MCP tool definitions for Claude Desktop, Cursor, and biomedical AI agents",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          }
        }
      }
    },
    "/api/dsld-search": {
      "get": {
        "operationId": "searchNihDsldLabels",
        "summary": "Read-only live proxy to NIH Dietary Supplement Label Database (DSLD v9)",
        "parameters": [
          {
            "name": "q",
            "in": "query",
            "required": true,
            "description": "Supplement brand, ingredient keyword, or numeric DSLD ID (2-80 chars)",
            "schema": {
              "type": "string",
              "minLength": 2,
              "maxLength": 80
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Normalized active On-Market NIH DSLD label matches",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          }
        }
      }
    },
    "/llms-full.txt": {
      "get": {
        "operationId": "getLlmsFullCompendium",
        "summary": "Fetch full Markdown clinical knowledge compendium optimized for LLM RAG ingestion",
        "responses": {
          "200": {
            "description": "Complete Markdown knowledge graph",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "string"
                }
              }
            }
          }
        }
      }
    }
  }
}