/v2/projects/{projectId}/glossary-highlightsGet glossary term highlights for text
Retrieves glossary term highlights for supplied text in a project and language. Supply languageTag and text in the request body; the language tag must follow BCP 47 and the text can contain up to 65,536 characters. The response contains the matching highlights in an embedded collection.
- IdempotentThe SDK sends
Idempotency-Key, so a retried request is only applied once.
Text and language information used to retrieve glossary term highlights.
A 400 is returned when the request is invalid. A 401 is returned when authentication is missing or invalid. A 403 is returned when the authenticated user lacks permission to access the project, and a 404 is returned when the project cannot be found. The languageTag and text body fields are required; languageTag must be a BCP 47 tag of no more than 20 characters without commas, and text must not exceed 65,536 characters. The projectId path parameter must identify the project.