PII

Replace personal information such as names, SSNs, and emails in a given text.

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Request

This endpoint expects an object.
promptstring or list of stringsRequired
replacebooleanRequired
Whether to replace personal information.
replace_methodstringOptional

The method to use (random, fake, category, mask).

entity_listlist of stringsOptional
An array of entity types that the PII check should ignore.

Response

Successful response.
idstring or null
Unique ID for the PII check.
objectstring or null

Type of object (pii_check).

createdinteger or null
Timestamp of when the PII check was created.
checkslist of objects or null
The set of vectorized data.

Errors