# PIIMatch

> **Class** in `langchain`

📖 [View in docs](https://reference.langchain.com/python/langchain/agents/middleware/_redaction/PIIMatch)

Represents an individual match of sensitive data.

## Signature

```python
PIIMatch()
```

## Extends

- `TypedDict`

## Constructors

```python
__init__(
    type: str,
    value: str,
    start: int,
    end: int,
)
```

| Name | Type |
|------|------|
| `type` | `str` |
| `value` | `str` |
| `start` | `int` |
| `end` | `int` |


## Properties

- `type`
- `value`
- `start`
- `end`

---

[View source on GitHub](https://github.com/langchain-ai/langchain/blob/f0c5a28fa05adcda89aebcb449d897245ab21fa4/libs/langchain_v1/langchain/agents/middleware/_redaction.py#L20)