Deprecation notice: The medical comprehend API endpoint at
/v1/tools/comprehend/medical
is deprecated and will be removed on December 22, 2025.Migration path: Use the LLM tool in chat completions to delegate medical analysis tasks to the palmyra-med
model. This approach provides the same medical analysis capabilities within a chat completion workflow.Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your Writer API key.
Body
application/json
The text to analyze.
The structure of the response to return. Entities
returns medical entities, RxNorm
returns medication information, ICD-10-CM
returns diagnosis codes, and SNOMED CT
returns medical concepts.
Available options:
Entities
, RxNorm
, ICD-10-CM
, SNOMED CT
Response
200 - application/json
An array of medical entities extracted from the input text.