{"openapi":"3.1.0","info":{"title":"FundMatch AI (Serenia-backed)","version":"0.1.0"},"paths":{"/health":{"get":{"summary":"Health","operationId":"health_health_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/v1/ingest/seed":{"post":{"summary":"Ingest Seed","operationId":"ingest_seed_v1_ingest_seed_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/IngestSeedRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/funds/{fund_id}":{"get":{"summary":"Get Fund","operationId":"get_fund_v1_funds__fund_id__get","parameters":[{"name":"fund_id","in":"path","required":true,"schema":{"type":"integer","title":"Fund Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/match":{"post":{"summary":"Match","operationId":"match_v1_match_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MatchRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/literature/search":{"post":{"summary":"Literature","operationId":"literature_v1_literature_search_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LiteratureRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/journals/recommend":{"post":{"summary":"Journals","operationId":"journals_v1_journals_recommend_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JournalRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/funds/{fund_id}/conditions":{"get":{"summary":"Conditions","operationId":"conditions_v1_funds__fund_id__conditions_get","parameters":[{"name":"fund_id","in":"path","required":true,"schema":{"type":"integer","title":"Fund Id"}},{"name":"question","in":"query","required":true,"schema":{"type":"string","title":"Question"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConditionResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/healthz":{"get":{"summary":"Healthz","operationId":"healthz_healthz_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}}},"components":{"schemas":{"ConditionResponse":{"properties":{"answer":{"type":"string","title":"Answer"},"sources":{"items":{"type":"object"},"type":"array","title":"Sources"}},"type":"object","required":["answer"],"title":"ConditionResponse"},"HTTPValidationError":{"properties":{"detail":{"items":{"$ref":"#/components/schemas/ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"},"IngestSeedRequest":{"properties":{"docx_path":{"type":"string","title":"Docx Path","default":"/data/Fon.docx"}},"type":"object","title":"IngestSeedRequest"},"JournalRequest":{"properties":{"project_summary":{"type":"string","title":"Project Summary"},"max_results":{"type":"integer","title":"Max Results","default":10}},"type":"object","required":["project_summary"],"title":"JournalRequest"},"LiteratureRequest":{"properties":{"project_summary":{"type":"string","title":"Project Summary"},"max_results":{"type":"integer","title":"Max Results","default":10}},"type":"object","required":["project_summary"],"title":"LiteratureRequest"},"MatchRequest":{"properties":{"project_summary":{"type":"string","title":"Project Summary"},"intent":{"type":"string","title":"Intent","default":"both"},"top_k":{"type":"integer","title":"Top K","default":10}},"type":"object","required":["project_summary"],"title":"MatchRequest"},"ValidationError":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"}}}}