{"openapi":"3.1.0","info":{"title":"The Last Codex static agent access","version":"1","description":"GET-only pre-generated files. No authentication, server-side search, pagination or query filtering. reviewed means last editorial fact-check; year is historical and may be negative. Native/English text fallback is declared by textLanguage."},"servers":[{"url":"https://lastcodex.org"}],"paths":{"/data/{lang}/index.json":{"get":{"summary":"Compact catalogue; search and filtering happen locally after download","parameters":[{"name":"lang","in":"path","required":true,"schema":{"type":"string","enum":["en","fr","de","es","it","pt"]}}],"responses":{"200":{"description":"Pre-generated static representation","content":{"application/json":{"schema":{"$ref":"https://lastcodex.org/data/schema.json#/$defs/index"}}}}}}},"/data/{lang}/inventions/{slug}.json":{"get":{"summary":"Complete invention with inline Markdown, editorial review date and sources","parameters":[{"name":"lang","in":"path","required":true,"schema":{"type":"string","enum":["en","fr","de","es","it","pt"]}},{"name":"slug","in":"path","required":true,"schema":{"type":"string","enum":["abrasive-machining","absorption-refrigerator","adhesives","airplane","airship","alarm-clock","aluminium","anaerobic-digestion","anaesthesia","animal-domestication","antisepsis","aqueduct","arch","atmospheric-diving-suit","autogyro","automatic-railway-coupler","automobile","bagh-chal","ball-bearing","basketry","battering-ram","battery","battery-recycling","bee-venom-collector","beer","bellows","berimbau","beverage-carbonation","bicycle","bicycle-bell","bimetallic-thermostat","biodiesel","biowaste-composting","blast-furnace","blood-transfusion","body-armor","book-cipher","bordeaux-mixture","bound-codex","bow-and-arrow","braille","bread","bricks","bronze","cable-stayed-bridge","camouflage","canal-lock","candle","canning","capacitor","cavity-wall","caxixi","celestial-navigation","centrifugal-governor","charcoal","cheese","chess","chocolate-making","cipher-disc","clothes-iron","coffee-depulper","coffee-processing","cofferdam","coilgun","coinage","combination-lock","combustion-engine","compass","computer","condom","continuous-track","control-of-fire","conways-game-of-life","cooling-tower","copper-smelting","cotton-candy-machine","cotton-gin","crane","crop-rotation","crossbow","current-powered-cable-boat","deadfall-trap","dental-drill","dental-prosthetics","dental-restorative-materials","dice","distillation","drill","drinking-water","drum","duct-tape","dugout-canoe","dyeing","eccentric-motor-vibrator","electric-heating-element","electric-motor","enclosure-traps","eyeglasses","firearms","fishing-nets-and-traps","fishing-reel","fishing-rod-and-hook","flash-memory","flax-processing","flute","fly-trap","flywheel","food-smoking","fountain-pen","frame-beehive","frame-saw","fresnel-lens","gear","gear-pump","gelatin-production","generator","glass","go-game","grafting-and-cuttings","grain-storage","gunpowder","gyroscope","harrow","harvest","headphones","horn-working","horse-collar","horseshoe","hot-air-balloon","hourglass","hut","hydraulic-manipulator","hydraulic-press","hydrogen-fuel-cell","hydrometer","hydroponics","igloo","image-sensor","instant-noodles","insulated-electric-cable","integrated-circuit","internet","iron-smelting","irrigation","jacquard-loom","jaw-harp","jeans","jet-pump","kite","koji-fermentation","lathe","lead-acid-battery","lead-smelting","leather-tanning","light-bulb","lighthouse","lime-mortar","line-shaft","lithography","lock-and-key","mancala","manual-food-grinder","measures-and-standards","mechanical-clock","medical-protective-equipment","mercury-extraction","microscope","military-flail","milling-machine","mining","mirror","molten-salt-thermal-storage","monowheel","multitool","music-box","mycelium-materials","nautical-knots","needle-and-hand-sewing","neonatal-incubator","nine-mens-morris","obstetric-forceps","obstetric-vacuum-extractor","oil-lamp","oil-press","oil-well","oral-rehydration","orthopaedic-immobilization","oyster-farming","paddy-rice-cultivation","paint","paintbrush","paper","paper-guillotine","paper-recycling","papyrus","parachute","pearl-culture","pedal-boat","pencil","penicillin","perfume-extraction","phonograph","photography","pigeon-post","pipe-organ","piston-pump","pitfall-traps","plain-bearing","playing-cards","plough","poker","portland-cement","positional-numerals","potters-wheel","pottery","pregnancy-test","pressure-coffee-maker","printing-press","protective-goggles","pulsejet","quarantine","quern","quipu","radio","railway-air-brake","railway-track","rammed-earth","refrigeration","reinforced-concrete","resistor","road-construction","rolling-mill","roman-concrete","roofing","rope","rotary-converter","rotary-mercury-vacuum-pump","rotor-cipher-machine","safety-lamp","sail","salt-preservation","sand-casting","saxophone","scarecrow","seed-drill","seed-saving","self-climbing-tower-crane","sericulture","sewerage","sewing-machine","sheet-metal-shear","shoemaking","shuriken","siege-tower","sitar","slide-rule","soap","solar-cell","solar-power-tower","soldering-iron","spear","spinning-wheel","spring-traps","staff-notation","steam-bath","steam-engine","steam-locomotive","steam-turbine","steel","sternpost-rudder","stethoscope","stone-tools","stroboscopic-animation","submarine","sugar-refining","sulfuric-acid-production","sundial","surgical-instruments","surgical-sutures","surveying","sword","synthetic-nitrogen-fertilizer","synthetic-plastics","tank","tea-processing","telegraph","telephone","telescope","terrace-farming","textile-recycling","thermometer","threshing-machine","timber-framing","tin-smelting","tipi","tofu","toothbrush","toothpaste","torch","torsion-catapult","transformer","transformer-network","transistor","trebuchet","tungsten-extraction","tuning-fork","turning-grille-cipher","typewriter","ultrasonic-humidifier","ultrasound-imaging","underfloor-heating","vaccination","vacuum-tube","vernier","vertical-greenhouse","vulcanized-rubber","war-hammer-and-mace","washing-machine","waste-sorting","waste-to-energy","water-clock","water-electrolysis","water-scarecrow","water-tap","water-turbine","water-wheel","weaving","web","welding","wheel","wheelbarrow","wind-turbine","windmill","windsock","winemaking","wire-drawing","wired-circuit-board","wood-distillation","wood-waste-recovery","woodblock-printing","writing","writing-ink","x-ray","zinc-extraction","zipper"]}}],"responses":{"200":{"description":"Pre-generated static representation","content":{"application/json":{"schema":{"$ref":"https://lastcodex.org/data/schema.json#/$defs/invention"}}}}}}},"/data/codex.json":{"get":{"summary":"Existing six-language catalogue","parameters":[],"responses":{"200":{"description":"Pre-generated static representation","content":{"application/json":{"schema":{"type":"object"}}}}}}},"/data/schema.json":{"get":{"summary":"JSON Schema 2020-12 for index and invention data","parameters":[],"responses":{"200":{"description":"Pre-generated static representation","content":{"application/json":{"schema":{"type":"object"}}}}}}},"/openapi.json":{"get":{"summary":"This OpenAPI document","parameters":[],"responses":{"200":{"description":"Pre-generated static representation","content":{"application/json":{"schema":{"type":"object"}}}}}}},"/llms.txt":{"get":{"summary":"Global discovery index","parameters":[],"responses":{"200":{"description":"Pre-generated static representation","content":{"text/plain":{"schema":{"type":"string"}}}}}}},"/llms-full.txt":{"get":{"summary":"All English plate texts","parameters":[],"responses":{"200":{"description":"Pre-generated static representation","content":{"text/plain":{"schema":{"type":"string"}}}}}}},"/{lang}/llms.txt":{"get":{"summary":"Localised discovery index","parameters":[{"name":"lang","in":"path","required":true,"schema":{"type":"string","enum":["en","fr","de","es","it","pt"]}}],"responses":{"200":{"description":"Pre-generated static representation","content":{"text/plain":{"schema":{"type":"string"}}}}}}},"/{lang}/domains/{domain}/index.html.md":{"get":{"summary":"Domain and its inventions","parameters":[{"name":"lang","in":"path","required":true,"schema":{"type":"string","enum":["en","fr","de","es","it","pt"]}},{"name":"domain","in":"path","required":true,"schema":{"type":"string","enum":["survival","agriculture","food","medicine","materials","tools","building","mechanics","energy","electricity","optics","communication","land-transport","navigation","aviation","everyday","measure","defense"]}}],"responses":{"200":{"description":"Pre-generated static representation","content":{"text/markdown":{"schema":{"type":"string"}}}}}}},"/{lang}/inventions/{slug}/index.html.md":{"get":{"summary":"Existing invention Markdown; available when native or English text exists","parameters":[{"name":"lang","in":"path","required":true,"schema":{"type":"string","enum":["en","fr","de","es","it","pt"]}},{"name":"slug","in":"path","required":true,"schema":{"type":"string","enum":["abrasive-machining","absorption-refrigerator","adhesives","airplane","airship","alarm-clock","aluminium","anaerobic-digestion","anaesthesia","animal-domestication","antisepsis","aqueduct","arch","atmospheric-diving-suit","autogyro","automatic-railway-coupler","automobile","bagh-chal","ball-bearing","basketry","battering-ram","battery","battery-recycling","bee-venom-collector","beer","bellows","berimbau","beverage-carbonation","bicycle","bicycle-bell","bimetallic-thermostat","biodiesel","biowaste-composting","blast-furnace","blood-transfusion","body-armor","book-cipher","bordeaux-mixture","bound-codex","bow-and-arrow","braille","bread","bricks","bronze","cable-stayed-bridge","camouflage","canal-lock","candle","canning","capacitor","cavity-wall","caxixi","celestial-navigation","centrifugal-governor","charcoal","cheese","chess","chocolate-making","cipher-disc","clothes-iron","coffee-depulper","coffee-processing","cofferdam","coilgun","coinage","combination-lock","combustion-engine","compass","computer","condom","continuous-track","control-of-fire","conways-game-of-life","cooling-tower","copper-smelting","cotton-candy-machine","cotton-gin","crane","crop-rotation","crossbow","current-powered-cable-boat","deadfall-trap","dental-drill","dental-prosthetics","dental-restorative-materials","dice","distillation","drill","drinking-water","drum","duct-tape","dugout-canoe","dyeing","eccentric-motor-vibrator","electric-heating-element","electric-motor","enclosure-traps","eyeglasses","firearms","fishing-nets-and-traps","fishing-reel","fishing-rod-and-hook","flash-memory","flax-processing","flute","fly-trap","flywheel","food-smoking","fountain-pen","frame-beehive","frame-saw","fresnel-lens","gear","gear-pump","gelatin-production","generator","glass","go-game","grafting-and-cuttings","grain-storage","gunpowder","gyroscope","harrow","harvest","headphones","horn-working","horse-collar","horseshoe","hot-air-balloon","hourglass","hut","hydraulic-manipulator","hydraulic-press","hydrogen-fuel-cell","hydrometer","hydroponics","igloo","image-sensor","instant-noodles","insulated-electric-cable","integrated-circuit","internet","iron-smelting","irrigation","jacquard-loom","jaw-harp","jeans","jet-pump","kite","koji-fermentation","lathe","lead-acid-battery","lead-smelting","leather-tanning","light-bulb","lighthouse","lime-mortar","line-shaft","lithography","lock-and-key","mancala","manual-food-grinder","measures-and-standards","mechanical-clock","medical-protective-equipment","mercury-extraction","microscope","military-flail","milling-machine","mining","mirror","molten-salt-thermal-storage","monowheel","multitool","music-box","mycelium-materials","nautical-knots","needle-and-hand-sewing","neonatal-incubator","nine-mens-morris","obstetric-forceps","obstetric-vacuum-extractor","oil-lamp","oil-press","oil-well","oral-rehydration","orthopaedic-immobilization","oyster-farming","paddy-rice-cultivation","paint","paintbrush","paper","paper-guillotine","paper-recycling","papyrus","parachute","pearl-culture","pedal-boat","pencil","penicillin","perfume-extraction","phonograph","photography","pigeon-post","pipe-organ","piston-pump","pitfall-traps","plain-bearing","playing-cards","plough","poker","portland-cement","positional-numerals","potters-wheel","pottery","pregnancy-test","pressure-coffee-maker","printing-press","protective-goggles","pulsejet","quarantine","quern","quipu","radio","railway-air-brake","railway-track","rammed-earth","refrigeration","reinforced-concrete","resistor","road-construction","rolling-mill","roman-concrete","roofing","rope","rotary-converter","rotary-mercury-vacuum-pump","rotor-cipher-machine","safety-lamp","sail","salt-preservation","sand-casting","saxophone","scarecrow","seed-drill","seed-saving","self-climbing-tower-crane","sericulture","sewerage","sewing-machine","sheet-metal-shear","shoemaking","shuriken","siege-tower","sitar","slide-rule","soap","solar-cell","solar-power-tower","soldering-iron","spear","spinning-wheel","spring-traps","staff-notation","steam-bath","steam-engine","steam-locomotive","steam-turbine","steel","sternpost-rudder","stethoscope","stone-tools","stroboscopic-animation","submarine","sugar-refining","sulfuric-acid-production","sundial","surgical-instruments","surgical-sutures","surveying","sword","synthetic-nitrogen-fertilizer","synthetic-plastics","tank","tea-processing","telegraph","telephone","telescope","terrace-farming","textile-recycling","thermometer","threshing-machine","timber-framing","tin-smelting","tipi","tofu","toothbrush","toothpaste","torch","torsion-catapult","transformer","transformer-network","transistor","trebuchet","tungsten-extraction","tuning-fork","turning-grille-cipher","typewriter","ultrasonic-humidifier","ultrasound-imaging","underfloor-heating","vaccination","vacuum-tube","vernier","vertical-greenhouse","vulcanized-rubber","war-hammer-and-mace","washing-machine","waste-sorting","waste-to-energy","water-clock","water-electrolysis","water-scarecrow","water-tap","water-turbine","water-wheel","weaving","web","welding","wheel","wheelbarrow","wind-turbine","windmill","windsock","winemaking","wire-drawing","wired-circuit-board","wood-distillation","wood-waste-recovery","woodblock-printing","writing","writing-ink","x-ray","zinc-extraction","zipper"]}}],"responses":{"200":{"description":"Pre-generated static representation","content":{"text/markdown":{"schema":{"type":"string"}}}}}}},"/{lang}/index.html.md":{"get":{"summary":"Informational page Markdown","parameters":[{"name":"lang","in":"path","required":true,"schema":{"type":"string","enum":["en","fr","de","es","it","pt"]}}],"responses":{"200":{"description":"Pre-generated static representation","content":{"text/markdown":{"schema":{"type":"string"}}}}}}},"/{lang}/atlas/index.html.md":{"get":{"summary":"Informational page Markdown","parameters":[{"name":"lang","in":"path","required":true,"schema":{"type":"string","enum":["en","fr","de","es","it","pt"]}}],"responses":{"200":{"description":"Pre-generated static representation","content":{"text/markdown":{"schema":{"type":"string"}}}}}}},"/{lang}/timeline/index.html.md":{"get":{"summary":"Informational page Markdown","parameters":[{"name":"lang","in":"path","required":true,"schema":{"type":"string","enum":["en","fr","de","es","it","pt"]}}],"responses":{"200":{"description":"Pre-generated static representation","content":{"text/markdown":{"schema":{"type":"string"}}}}}}},"/{lang}/glossary/index.html.md":{"get":{"summary":"Informational page Markdown","parameters":[{"name":"lang","in":"path","required":true,"schema":{"type":"string","enum":["en","fr","de","es","it","pt"]}}],"responses":{"200":{"description":"Pre-generated static representation","content":{"text/markdown":{"schema":{"type":"string"}}}}}}},"/{lang}/materials/index.html.md":{"get":{"summary":"Informational page Markdown","parameters":[{"name":"lang","in":"path","required":true,"schema":{"type":"string","enum":["en","fr","de","es","it","pt"]}}],"responses":{"200":{"description":"Pre-generated static representation","content":{"text/markdown":{"schema":{"type":"string"}}}}}}},"/{lang}/about/index.html.md":{"get":{"summary":"Informational page Markdown","parameters":[{"name":"lang","in":"path","required":true,"schema":{"type":"string","enum":["en","fr","de","es","it","pt"]}}],"responses":{"200":{"description":"Pre-generated static representation","content":{"text/markdown":{"schema":{"type":"string"}}}}}}}}}