Medical
Translate clinical English, streamed as Server-Sent Events
Same body and checks as /v1/medical/translate, answered as Server-Sent Events so the first verified sentence can be shown before the last is done.
Events: segment (a MedicalSegment, strictly in order), then done ({ stats, usage }) or error ({ error: { type, message } }). For English that your model is still generating, use the WebSocket at wss://hc.itsbaba.com/v1/medical/stream instead (see the docs).
Quota. Charged up front for the length of text; refunded when the provider fails for every sentence.
post/v1/medical/translate/stream
Request
- Base URL: https://hc.itsbaba.com
- URL: https://hc.itsbaba.com/v1/medical/translate/stream
- Auth: HTTP bearer
Request body
Example request
{
"audience": "patient",
"reader_gender": "female",
"patient_gender": "male",
"protected_terms": [
"Eliquis 5 mg BID",
"atrial fibrillation"
],
"redact_terms": [
"Dana Levi"
],
"glossary": {
"hypertension": "יתר לחץ דם"
},
"date_order": "MDY",
"date_style": "hebrew",
"bidi": "isolate",
"text": "Based on your records, you are taking Eliquis 5 mg twice a day. Your dose was changed on 03/04/2026."
}Response
A stream of segment events, then done or error.
Changes
No recorded changes to this operation across all 1 revision of this API.