ContentFilterBuiltinEntry
A builtin content filter entry. Builtin filters include PII detectors, API-key and secret detectors, and the regex-based prompt injection detector.
Documentation Index
Fetch the complete documentation index at: /docs/llms.txt
Use this file to discover all available pages before exploring further.
| Field | Type | Required | Description | Example |
|---|---|---|---|---|
Action | components.ContentFilterBuiltinAction | :heavy_check_mark: | Action taken when the builtin filter triggers | block |
Label | *string | :heavy_minus_sign: | Read-only, system-assigned redaction placeholder derived from the slug (e.g. “[EMAIL]”, “[PHONE]”). Not settable by the caller. | [EMAIL] |
ScanScope | *components.PromptInjectionScanScope | :heavy_minus_sign: | Which message roles to scan for prompt injection. Only applies to the regex-prompt-injection builtin. Defaults to all_messages. | user_only |
Slug | components.ContentFilterBuiltinSlug | :heavy_check_mark: | The builtin filter identifier | regex-prompt-injection |