{"openapi":"3.1.0","info":{"title":"RabbitOS body model","version":"1.0.0","description":"Educational and research visualisation. Anatomical positions follow standard teaching references and are typical adult values; patterns are textbook-level and illustrative, not measurements from or predictions for any person. Not medical advice and not for diagnosis."},"servers":[{"url":"https://rabbit-web-cloud-supabase.rabbitsoftware-gateway.workers.dev"}],"paths":{"/api/model/body":{"get":{"summary":"The body model as JSON","description":"Organs, nerve routes, spinal-level supply, scenarios, chemical pathways, genes, layout and physiology. No personal data.","parameters":[{"name":"section","in":"query","required":false,"schema":{"type":"string","enum":["overview","organs","routes","supply","scenarios","systems","genes","layout","physiology","pathways"]}}],"responses":{"200":{"description":"The model, or one section of it"},"400":{"description":"Bad request","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}}}}}}}}},"/api/model/concepts":{"get":{"summary":"Map a medical term or research topic to MeSH","description":"Looks the term up in NLM's public MeSH vocabulary (exact label first, then contains). Organs in /api/model/body already carry their MeSH IDs.","parameters":[{"name":"term","in":"query","required":true,"schema":{"type":"string","minLength":2,"maxLength":80}}],"responses":{"200":{"description":"Matching MeSH descriptors"},"400":{"description":"Bad request","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}}}}}},"502":{"description":"NLM did not answer"}}}},"/api/model/state":{"get":{"summary":"Computed body state for a scenario","description":"Heart rate and rhythm, breathing, gut, hormones, muscle strength, pathway signal strengths and which organs are involved.","parameters":[{"name":"scenario","in":"query","schema":{"type":"string","enum":["healthy","stroke","tbi","occipital","alz","epilepsy"],"default":"healthy"}},{"name":"system","in":"query","schema":{"type":"string","enum":["none","dopamine","serotonin","norepinephrine","acetylcholine","thalamocortical","hpa"],"default":"none"}},{"name":"t","in":"query","description":"Seconds from the start; only the epilepsy scenario changes with time (an 18 second cycle).","schema":{"type":"number","minimum":0,"maximum":86400,"default":0}}],"responses":{"200":{"description":"The computed state"},"400":{"description":"Bad request","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}}}}}}}}}}}