Skip to main content
The Go SDK and docs are currently in beta. Report issues on GitHub.
A custom regex content filter that scans request messages for matching patterns.

Fields

FieldTypeRequiredDescriptionExample
Actioncomponents.ContentFilterAction:heavy_check_mark:Action taken when the pattern matchesblock
Labeloptionalnullable.OptionalNullable[string]:heavy_minus_sign:Optional label used in redaction placeholders or error messages[API_KEY]
Patternstring:heavy_check_mark:A regex pattern to match against request content\b(sk-[a-zA-Z0-9]{48})\b