{"openapi":"3.1.0","info":{"title":"Health Economics Wiki API","version":"0.1.0","description":"Public read APIs for canonical health economics concepts, search, the knowledge graph, and JSON-LD."},"servers":[{"url":"https://healtheconomics.wiki"}],"paths":{"/api/concepts":{"get":{"operationId":"listConcepts","summary":"List published concepts","responses":{"200":{"description":"JSON response","content":{"application/json":{"schema":{"type":"object"}}}}}}},"/api/concepts/{slug}":{"get":{"operationId":"getConcept","summary":"Get a published concept by slug","parameters":[{"name":"slug","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"JSON response","content":{"application/json":{"schema":{"type":"object"}}}},"404":{"description":"JSON response","content":{"application/json":{"schema":{"type":"object"}}}}}}},"/api/concepts/search":{"get":{"operationId":"searchConcepts","summary":"Search published concepts by name","parameters":[{"name":"q","in":"query","schema":{"type":"string"}},{"name":"limit","in":"query","schema":{"type":"integer"}}],"responses":{"200":{"description":"JSON response","content":{"application/json":{"schema":{"type":"object"}}}}}}},"/api/search":{"get":{"operationId":"search","summary":"Typeahead search for the public encyclopaedia","parameters":[{"name":"q","in":"query","schema":{"type":"string"}},{"name":"limit","in":"query","schema":{"type":"integer"}}],"responses":{"200":{"description":"JSON response","content":{"application/json":{"schema":{"type":"object"}}}}}}},"/api/graph":{"get":{"operationId":"getGraph","summary":"Knowledge graph nodes and edges","parameters":[{"name":"l1","in":"query","schema":{"type":"string"}},{"name":"l2","in":"query","schema":{"type":"string"}},{"name":"l3","in":"query","schema":{"type":"string"}},{"name":"slug","in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":"JSON response","content":{"application/json":{"schema":{"type":"object"}}}}}}},"/api/jsonld":{"get":{"operationId":"describeJsonLdApi","summary":"JSON-LD API index","responses":{"200":{"description":"JSON response","content":{"application/json":{"schema":{"type":"object"}}}}}}},"/api/jsonld/concept/{slug}":{"get":{"operationId":"getConceptJsonLd","summary":"JSON-LD for a published concept","parameters":[{"name":"slug","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"JSON-LD document","content":{"application/ld+json":{"schema":{"type":"object"}}}},"404":{"description":"JSON response","content":{"application/json":{"schema":{"type":"object"}}}}}}},"/api/health":{"get":{"operationId":"getHealth","summary":"API health status","responses":{"200":{"description":"JSON response","content":{"application/json":{"schema":{"type":"object"}}}}}}}}}