OpenAPI 3.1.0raw.githubusercontent.com2026-08-142585163.2 MB

deb8d376faee

Detect PII

Reports whether the supplied text contains personally identifiable information, optionally with a per-type entity breakdown.

post/v2/pii/detect

Request body

textstring

Text to analyse.

languagestring

BCP-47 language code. Unset means auto-detect.

thresholdnumber double

Global minimum recognizer score (0.0-1.0). Unset uses the provider default.

include_entitiesboolean

When true, the response includes a per-type entity breakdown.

Response

OK

has_piiboolean
entitiesobject

Per-entity-type counts. Populated only when include_entities was set.