Skip to main content
The Go 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
Label*string: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