Skip to main content
The Python SDK and docs are currently in beta. Report issues on GitHub.
A builtin content filter entry for create/update requests. Labels are system-assigned and cannot be set by the caller.

Fields

FieldTypeRequiredDescriptionExample
actioncomponents.ContentFilterBuiltinAction:heavy_check_mark:Action taken when the builtin filter triggersblock
labelOptional[str]:heavy_minus_sign:: warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

Deprecated: labels are system-assigned and cannot be set by the caller. Accepted for backward compatibility but silently ignored.
slugcomponents.ContentFilterBuiltinSlug:heavy_check_mark:The builtin filter identifierregex-prompt-injection