{"name":"EUR-Lex FMX API","version":"2.0.0","endpoints":{"GET /":"This documentation","GET /health":"Health check","GET /api/laws":"List cached FMX files","GET /api/laws/:celex?lang=ENG":"Get raw FMX XML by CELEX (fetches & caches)","GET /api/laws/:celex/parsed?lang=ENG":"Get parsed law as structured JSON (articles, recitals, definitions, annexes, cross-references)","GET /api/laws/:celex/info":"Get metadata only","GET /api/laws/by-reference?actType=directive&year=2018&number=1972&lang=ENG":"Resolve an official reference and fetch the matching FMX","GET /api/laws/:celex/case-law":"List CJEU judgments that interpret this law","GET /api/laws/:celex/recital-titles?lang=ENG":"Get cached AI-generated short titles for recitals","POST /api/laws/:celex/articles/:n/ask":"Answer a question about one article, grounded in the law and CJEU case law (body: { question })","POST /api/laws/:celex/ask":"Whole-law Q&A: planner picks relevant articles, then answers grounded in them + their recitals + case law (body: { question })","GET /api/search?q=keyword&limit=10":"Search cached primary-law metadata","GET /api/resolve-reference?actType=directive&year=2018&number=1972&lang=ENG":"Resolve an FMX-derived legal reference to CELEX via cache-first lookup with Cellar fallback","GET /api/resolve-url?url=https://eur-lex.europa.eu/...&lang=ENG":"Resolve a full EUR-Lex URL to a canonical CELEX"},"celexExamples":{"32016R0679":"GDPR","32024R1689":"AI Act","32022R1925":"DMA","32022R2065":"DSA","32022R0868":"DGA","32023R2854":"Data Act"}}