ContentFilterBuiltinEntryInput
A builtin content filter entry for create/update requests. Labels are system-assigned and cannot be set by the caller.
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 | Optional[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. | |
scan_scope | Optional[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 |