---
title: "POST /v1/{+nlpService}:analyzeEntities"
method: POST
path: "/v1/{+nlpService}:analyzeEntities"
tags: ["projects"]
---

# POST /v1/{+nlpService}:analyzeEntities

`POST /v1/{+nlpService}:analyzeEntities`

Analyze heathcare entity in a document. Its response includes the recognized entity mentions and the relationships between them. AnalyzeEntities uses context aware models to detect entities.

## Path parameters

- `nlpService` string, required

## Request body

- AnalyzeEntitiesRequest — The request to analyze healthcare entities in a document.
  - `alternativeOutputFormat` 'ALTERNATIVE_OUTPUT_FORMAT_UNSPECIFIED' | 'FHIR_BUNDLE' — Optional. Alternative output format to be generated based on the results of analysis.
  - `licensedVocabularies` string[] — A list of licensed vocabularies to use in the request, in addition to the default unlicensed vocabularies.
  - `documentContent` string — document_content is a document to be annotated.

## Response `200`

Successful response

---

[API](https://skmtc.net/google/apis/healthcare.md) · [All operations](https://skmtc.net/google/apis/healthcare/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/google/healthcare/versions/cdec6fe2315f/schema)
