Skip to main content
The Go SDK and docs are currently in beta. Report issues on GitHub.
A builtin content filter entry. Builtin filters include PII detectors and the regex-based prompt injection detector.

Fields

FieldTypeRequiredDescriptionExample
Actioncomponents.ContentFilterBuiltinAction:heavy_check_mark:Action taken when the builtin filter triggersblock
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]
Slugcomponents.ContentFilterBuiltinSlug:heavy_check_mark:The builtin filter identifierregex-prompt-injection