{
  "name": "pe-exam-env reference API",
  "version": "1.0.0",
  "description": "Exact-location lookup inside the PE Civil: Structural exam-day standards (ACI 318-14, AISC 15th, ASCE 7-16, IBC 2018, AASHTO LRFD 8th, NDS 2018, SDPWS 2015, TMS 402-16, PCI 7th, OSHA 29 CFR, NCEES Handbook) plus the practice-question bank. Built for AI tutors: resolve a citation to the chapter PDF + page, link straight into the simulator, search snippets, verify solution reference paths.",
  "mcp": {
    "endpoint": "https://pe-exam-env.vercel.app/mcp",
    "transport": "streamable-http",
    "note": "Full-text reading tools need the access key: connect to /mcp/<key> or send Authorization: Bearer <key>."
  },
  "access": "public (locations, snippets, questions)",
  "endpoints": {
    "GET /api/v1/standards": "catalog: standards, chapters (PDF files), page counts",
    "GET /api/v1/standards/{id}": "one standard with chapters",
    "GET /api/v1/standards/{id}/toc?chapter=": "section headings with PDF/printed page numbers",
    "GET /api/v1/locate?cite=ACI 318-14 §22.2.2.4.1": "resolve a citation (section/table/equation/figure) to chapter + page + snippet + open link",
    "GET /api/v1/search?q=development length&standard=aci-318-14&limit=10": "ranked full-text search with snippets",
    "GET /api/v1/section?cite=…": "text of the cited section/table/equation (key required)",
    "GET /api/v1/page?standard=aci-318-14&chapter=22&page=5": "full page text (key required)",
    "GET /api/v1/exams": "practice exams",
    "GET /api/v1/exams/{id}": "exam with questions, answers, solutions",
    "GET /api/v1/exams/{id}/questions/{qid}": "one question",
    "GET /api/v1/questions": "all questions flattened",
    "POST /api/v1/verify-citations {\"solution\": \"Reference path:\\n ACI 318-14 §22.2.2.4.1 → …\"}": "check every cited location resolves in the accessible PDFs",
    "GET /api/v1/openapi.json": "OpenAPI 3.1 description"
  },
  "docs": {
    "html": "https://pe-exam-env.vercel.app/docs/",
    "llms": "https://pe-exam-env.vercel.app/llms.txt",
    "llmsFull": "https://pe-exam-env.vercel.app/llms-full.txt",
    "openapi": "https://pe-exam-env.vercel.app/api/v1/openapi.json",
    "wellKnown": "https://pe-exam-env.vercel.app/.well-known/mcp.json"
  },
  "links": {
    "simulator": "https://pe-exam-env.vercel.app/",
    "openLink": "https://pe-exam-env.vercel.app/?ref=<encoded /references/… path>&page=<pdf page>&q=<term>",
    "pdfLink": "https://pe-exam-env.vercel.app/pdfjs/web/viewer.html?file=<path>#page=<n>"
  },
  "key": "Authorization: Bearer <key> | X-API-Key: <key> | ?key=<key> | /mcp/<key>"
}