v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-1426136110.8 KB

Inspects the clinical text for a variety of medical entities and returns specific information about them such as entity category, location, and confidence score on that information. Amazon Comprehend Medical only detects medical entities in English language texts.

The DetectEntitiesV2 operation replaces the DetectEntities operation. This new action uses a different model for determining the entities in your medical text and changes the way that some entities are returned in the output. You should use the DetectEntitiesV2 operation in all new applications.

The DetectEntitiesV2 operation returns the Acuity and Direction entities as attributes instead of types.

post/#X-Amz-Target=ComprehendMedical_20181030.DetectEntitiesV2

Headers

X-Amz-Target'ComprehendMedical_20181030.DetectEntitiesV2' required

Request body

Textstring required

A UTF-8 string containing the clinical content being examined for entities. Each string must contain fewer than 20,000 bytes of characters.

Response

Success

PaginationTokenstring

If the result to the <code>DetectEntitiesV2</code> operation was truncated, include the <code>PaginationToken</code> to fetch the next page of entities.

ModelVersionstring required

The version of the model used to analyze the documents. The version number looks like X.X.X. You can use this information to track the model used for a particular batch of documents.