{"openapi":"3.1.0","info":{"title":"One80Rx Agent API","version":"1.0.0","summary":"Read-only One80Rx treatment facts for AI agents. Not medical advice.","description":"Read-only public information about One80Rx treatments, the request process, verbatim FAQs, and One80Rx Learn guides. A licensed provider decides whether any treatment is appropriate. This API does not collect personal health information, store answers, or take payment. One80Rx operates in all 50 US states (confirmed by the One80Rx owner, Nov 27, 2026). DC and US territories return complete intake to confirm availability."},"servers":[{"url":"https://agents.one80rx.com"}],"tags":[{"name":"Treatments"},{"name":"Process"},{"name":"Education"},{"name":"Intake"}],"paths":{"/api/v1/treatments":{"get":{"operationId":"listTreatments","tags":["Treatments"],"summary":"List public treatments","responses":{"200":{"description":"Treatment summaries.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TreatmentList"}}}}}}},"/api/v1/treatments/{slug}":{"get":{"operationId":"getTreatment","tags":["Treatments"],"summary":"Get one public treatment","parameters":[{"name":"slug","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-z0-9-]+$"}}],"responses":{"200":{"description":"Treatment detail.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Treatment"}}}},"404":{"description":"Unknown slug.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/v1/how-it-works":{"get":{"operationId":"howItWorks","tags":["Process"],"summary":"Describe the public request process","responses":{"200":{"description":"Process description.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HowItWorks"}}}}}}},"/api/v1/faqs":{"get":{"operationId":"getFaqs","tags":["Education"],"summary":"FAQs copied from public pages","responses":{"200":{"description":"Verbatim FAQs with source URLs.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FaqList"}}}}}}},"/api/v1/resources":{"get":{"operationId":"listResources","tags":["Education"],"summary":"List One80Rx Learn guides","responses":{"200":{"description":"Educational guides.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResourceList"}}}}}}},"/api/v1/prescreen":{"get":{"operationId":"eligibilityPrescreen","tags":["Intake"],"summary":"Age and state prescreen","description":"Accepts age and a two-letter USPS code. Adults in any of the 50 states receive available. DC and US territories receive complete intake to confirm availability. Source: confirmed by One80Rx owner, Nov 27, 2026. Does not accept free-text health information.","parameters":[{"name":"age","in":"query","required":true,"schema":{"type":"integer","minimum":0,"maximum":120}},{"name":"state","in":"query","required":true,"schema":{"type":"string","pattern":"^[A-Za-z]{2}$"}}],"responses":{"200":{"description":"Prescreen result.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Prescreen"}}}},"400":{"description":"Age or state was not usable.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/v1/intake-link":{"get":{"operationId":"getIntakeLink","tags":["Intake"],"summary":"Public eligibility URL","parameters":[{"name":"protocol","in":"query","required":false,"schema":{"type":"string","enum":["semaglutide","tirzepatide","glp-1-microdose","trt_glp1_oral"]}}],"responses":{"200":{"description":"Eligibility URL.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/IntakeLink"}}}},"400":{"description":"Protocol is not a verified value.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}}},"components":{"schemas":{"Error":{"type":"object","required":["error"],"properties":{"error":{"type":"object","required":["code","message"],"properties":{"code":{"type":"string"},"message":{"type":"string"}}}}},"TreatmentList":{"type":"object"},"Treatment":{"type":"object"},"HowItWorks":{"type":"object"},"FaqList":{"type":"object"},"ResourceList":{"type":"object"},"Prescreen":{"type":"object"},"IntakeLink":{"type":"object"}}}}