# Juan ยท Health This is Juan's health API. It never stores his documents. While Juan keeps the bridge open on his Mac (`health open`), questions are answered live by a read-only assistant running in his terminal, from only the records the asker is allowed to see. Access is by invitation: a one-time key Juan sends you (it works once and expires), plus an email on his list. ## Connect (keep cookies between calls, e.g. curl -c jar -b jar) 1. POST https://health.juanvecino.com/api/join {"key": "HB-XXXX-XXXX", "email": "you@example.com"} -> sets the session cookie 2. POST https://health.juanvecino.com/api/ask {"text": "What was his last vitamin D?"} -> {"id": 42} 3. GET https://health.juanvecino.com/api/answer/42 -> {"status", "answer", "regions", "sources", "seconds"} Poll every second until status is "done" or "failed". Answers are informational, cite the source document and date, and are not medical advice. When Juan closes his terminal the key and every session end.