{"openapi":"3.1.0","info":{"title":"Goodmorrow agent API","version":"1.0.0","description":"Read-only facts for AI assistants. Every assistant gets the same answers. Never send names, contact details or health information to this API. Health details belong only in the approved hosted scheduler after booking is enabled. The opening list is not intake."},"servers":[{"url":"https://everygoodmorrow.com"}],"paths":{"/agent/v1/clinic":{"get":{"operationId":"clinic","summary":"Clinic facts, status, booking rules, agent rate and links","parameters":[],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","required":["name","status","booking","sameFactsForEveryAssistant"],"properties":{"name":{"type":"string"},"status":{"enum":["prelaunch","open"]},"booking":{"type":"object","required":["enabled","url"],"properties":{"enabled":{"type":"boolean"},"url":{"type":"string","format":"uri"}}},"sameFactsForEveryAssistant":{"const":true}}}}}}}}},"/agent/v1/services":{"get":{"operationId":"services","summary":"Services with prices, including the agent rate","parameters":[],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","required":["services","agentRate"],"properties":{"services":{"type":"array","items":{"type":"object","required":["id","name","price","agentPrice","bookableOnline"],"properties":{"id":{"type":"string"},"name":{"type":"string"},"bookableOnline":{"type":"boolean"},"price":{"type":"object","required":["amount","currency","billing","planned"],"properties":{"amount":{"type":"number","minimum":0},"currency":{"const":"USD"},"billing":{"type":"string"},"planned":{"type":"boolean"}}},"agentPrice":{"anyOf":[{"type":"object","required":["amount","currency","billing","planned"],"properties":{"amount":{"type":"number","minimum":0},"currency":{"const":"USD"},"billing":{"type":"string"},"planned":{"type":"boolean"}}},{"type":"null"}]},"url":{"type":"string","format":"uri"}}}},"agentRate":{"type":["string","null"]}}}}}}}}},"/agent/v1/availability":{"get":{"operationId":"availability","summary":"Open consult times and the link to book them","parameters":[{"name":"service","in":"query","required":false,"description":"Only consult-call is bookable online.","schema":{"type":"string","enum":["consult-call"]}},{"name":"from","in":"query","required":false,"description":"First day to search, Dallas time.","schema":{"type":"string","format":"date"}},{"name":"days","in":"query","required":false,"description":"Days to search, 1 to 14. Default 7.","schema":{"type":"integer","minimum":1,"maximum":14}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","required":["service","open","bookingEnabled","source","timeZone","slots","bookingUrl","note"],"properties":{"service":{"const":"consult-call"},"open":{"type":"boolean"},"bookingEnabled":{"type":"boolean"},"source":{"enum":["none","acuity"]},"timeZone":{"const":"America/Chicago"},"slots":{"type":"array","items":{"type":"object","required":["start"],"properties":{"start":{"type":"string","format":"date-time"}}}},"bookingUrl":{"type":"string","format":"uri"},"note":{"type":"string"}}}}}},"400":{"description":"Bad query"}}}},"/agent/v1/peptides":{"get":{"operationId":"peptides","summary":"FDA status of every peptide we cover, with the dated timeline","parameters":[],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","required":["peptides","reviewStatus","checkedOn"],"properties":{"peptides":{"type":"array","items":{"type":"object","required":["slug","name","status","offer","treatmentAvailable","reviewStatus","checkedOn"],"properties":{"slug":{"type":"string"},"name":{"type":"string"},"status":{"type":"string"},"offer":{"type":"string"},"treatmentAvailable":{"type":"boolean"},"reviewStatus":{"enum":["draft","reviewed"]},"checkedOn":{"type":"string","format":"date"}}}},"reviewStatus":{"enum":["draft","reviewed"]},"checkedOn":{"type":"string","format":"date"}}}}}}}}},"/agent/v1/peptides/{slug}":{"get":{"operationId":"peptidesSlug","summary":"One peptide's FDA status and whether Goodmorrow offers it","parameters":[{"name":"slug","in":"path","required":true,"description":"Slug or name, for example bpc-157.","schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","required":["slug","name","status","offer","treatmentAvailable","reviewStatus","checkedOn"],"properties":{"slug":{"type":"string"},"name":{"type":"string"},"status":{"type":"string"},"offer":{"type":"string"},"treatmentAvailable":{"type":"boolean"},"reviewStatus":{"enum":["draft","reviewed"]},"checkedOn":{"type":"string","format":"date"}}}}}},"404":{"description":"Not found"}}}},"/agent/v1/verification":{"get":{"operationId":"verification","summary":"Licenses, pharmacies, lot tests and policies","parameters":[],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","required":["clinic","clinicians","compoundingPharmacies","verificationStatus"],"properties":{"clinic":{"type":"object"},"clinicians":{"type":"array","items":{"type":"object"}},"compoundingPharmacies":{"type":"array","items":{"type":"object"}},"verificationStatus":{"const":"incomplete"}}}}}}}}},"/agent/v1/intake":{"get":{"operationId":"intake","summary":"What the consult intake asks, and the rules for filling it in","parameters":[],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","required":["status","approved","available","fields","rules"],"properties":{"status":{"enum":["draft","approved"]},"approved":{"type":"boolean"},"available":{"type":"boolean"},"fields":{"type":"array","items":{"type":"object"}},"rules":{"type":"array","items":{"type":"string"}}}}}}}}}},"/agent/v1/desk/{channel}":{"get":{"operationId":"deskChannel","summary":"Draft desk and scheduler confirmation templates, as text","parameters":[{"name":"channel","in":"path","required":true,"description":"Template kind","schema":{"type":"string","enum":["email","sms","confirmation"]}}],"responses":{"200":{"description":"OK","content":{"text/plain":{"schema":{"type":"string"}}}},"404":{"description":"Not found"}}}}}}