Medical

Verify a Hebrew translation against its English source

Check Hebrew that was produced some other way, for example by your own model answering in Hebrew, against its English source. Every drug, dose, lab value, code and number from the English must appear verbatim, dates must be unambiguous, no number may be added, and negation and laterality must survive.

verification: "strict" adds an independent model review for meaning changes; names in redact_terms and identifiers are replaced before the reviewer sees the text. standard is deterministic.

Quota. Consumes the monthly character quota: the length of source plus translation.

Limits. source up to 20,000 characters, translation up to 40,000.

post/v1/medical/verify

Request

  • Base URL: https://hc.itsbaba.com
  • URL: https://hc.itsbaba.com/v1/medical/verify
  • Auth: HTTP bearer

Request body

sourcestring required

The English source, up to 20,000 characters.

translationstring required

The Hebrew to check, up to 40,000 characters.

protected_termsstring[]

Terms that must appear verbatim. Up to 500.

redact_termsstring[]

Names replaced before the reviewer sees the text. Up to 200.

glossaryobject

English term → required Hebrew rendering.

date_order'MDY' | 'DMY'

How to read ambiguous numeric dates in the source.

verification'strict' | 'standard'

standard (default) runs the deterministic checks. strict adds an independent model review for meaning changes.

Example request

{
  "source": "Metformin 500 mg BID since 03/04/2026.",
  "translation": "Metformin 50 mg BID מאז 03/04/2026.",
  "protected_terms": [
    "Metformin"
  ],
  "redact_terms": [
    "Dana Levi"
  ],
  "glossary": {
    "hypertension": "יתר לחץ דם"
  },
  "date_order": "MDY",
  "verification": "standard"
}

Response

Verdict

passboolean required

True when no issue has severity error.

Example response

{
  "issues": [
    {
      "code": "negation_lost",
      "severity": "error",
      "detail": "The source says \"no known allergies\"; the translation drops the negation."
    }
  ],
  "usage": {
    "characters": 72
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.