> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.aiola.ai/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.aiola.ai/_mcp/server.

# PII Redaction

> Learn about aiOla's PII redaction capabilities.

## Task Description

The PII Redaction endpoint identifies and redacts personally identifiable information (PII) from text transcripts. It replaces various types of personal information with appropriate placeholder tags to protect privacy while maintaining the overall context of the content.

## Inputs

* **Transcript Text**: The text content to be processed for PII redaction.

## Output

### Description

The API returns a JSON response containing the redacted version of the input text as a JSON with key `redacted_text`. All identified PII elements are replaced with standardized placeholder tags (e.g., \[NAME], \[EMAIL], etc.).

### Example

```json
{
  "redacted_text": "Hello, my name is [NAME]. You can reach me at [EMAIL] or [PHONE]. I live at [ADDRESS]."
}
```

The API specifically redacts the following types of PII:

* Names → \[NAME]
* Email addresses → \[EMAIL]
* Phone numbers → \[PHONE]
* Physical addresses → \[ADDRESS]
* Social Security Numbers → \[SSN]
* Credit card numbers → \[CREDIT_CARD]
* Birth dates → \[DOB]
* Other personal identifiers → \[PII]