> ## Documentation Index
> Fetch the complete documentation index at: https://docs.moderationapi.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Privacy

> Detect and mask personal information, contact details, and attempts to share them in obfuscated ways.

Privacy policies catch sensitive user information before it reaches your database, public feed, or other users. They cover detection (does this content contain PII?) as well as masking (redact it from the stored content).

## Policies

| `id`                   | Type             | Supported   | What it does                                                                                                                                                                                   |
| ---------------------- | ---------------- | ----------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `personal_information` | `classifier`     | text, audio | Flags content that contains emails, phone numbers, addresses, or other sensitive numbers.                                                                                                      |
| `intent_to_share`      | `classifier`     | text, audio | Flags attempts to share contact details — directly or obfuscated (e.g. "find me on Instagram"). <Tooltip tip="In active development. Behavior and accuracy may change.">Experimental</Tooltip> |
| `pii`                  | `entity_matcher` | text, audio | Extracts specific PII entities (email, phone, address, etc.) and can return masked content with those entities redacted.                                                                       |

## Reading the result

```javascript theme={"theme":"nord"}
const pii = response.policies.find(p => p.id === "pii");

pii?.matches?.forEach(match => {
  console.log(`${match.match} at ${match.span[0]}–${match.span[1]}`);
});

if (response.content.masked) {
  await store(response.content.modified); // PII redacted
}
```

See [Understanding API responses](/content-moderation/acting-on-responses) for the full response shape and masking behavior.
