PII

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

Headers

AuthorizationstringRequired

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

Request

This endpoint expects an object.
promptstringRequired
The prompt to check for personal information.
replacebooleanRequired
Whether to replace personal information.
replace_methodstringRequired

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

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