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

# ContentFilterReadEntry

A custom regex content filter, with whether inference enforces it.

## Fields

| Field | Type | Required | Description | Example |
| - | - | - | - | - |
| `action` | [components.ContentFilterAction](../components/contentfilteraction.mdx) | ✔️ | Action taken when the pattern matches | block |
| `label` | *OptionalNullable\[str]* | ➖ | Optional label used in redaction placeholders or error messages | \[API\_KEY] |
| `pattern` | *str* | ✔️ | A regex pattern to match against request content | \b(sk-\[a-zA-Z0-9]\{48})\b |
| `is_enforced` | *bool* | ✔️ | Whether inference applies this pattern. False for a pattern saved before pattern validation that is too complex to run safely; it is kept but skipped until replaced. | true |
