Anonymize plain text
POST/external/v1/text
Processes plain text and returns the anonymized result plus detection metadata.
- Set
usePseudonymstotrueto replace entities with stable labels (e.g.PER-1). - Set
usePseudonymstofalse(default) to suppress/redact entities. textLabelsmust list the label names to apply (seeGET /external/v1/text-labels).
Request
Responses
- 200
- 401
- 403
- 422
- 429
- 502
Text successfully processed
Missing or invalid API key / credentials.
Often an empty body. Some auth failures return application/problem+json
with type, title, status, and detail (no instance or problemCode).
Insufficient credits, invalid license, or access denied
Invalid request body (e.g. blank text or empty textLabels)
Rate limit exceeded
Upstream text model unavailable