PII

POST

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

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.

idstringOptional

Unique ID for the PII check.

objectstringOptional

Type of object (pii_check).

createdintegerOptional

Timestamp of when the PII check was created.

checkslist of objectsOptional

The set of vectorized data.

Errors