> ## Documentation Index
> Fetch the complete documentation index at: https://openrouter-d02e98a0-mintlify-5b6e02fd.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# ContentFilterEntry - Go SDK

> ContentFilterEntry type definition

<Warning>
  The Go SDK and docs are currently in beta.
  Report issues on [GitHub](https://github.com/OpenRouterTeam/go-sdk/issues).
</Warning>

A custom regex content filter that scans request messages for matching patterns.

## Fields

| Field     | Type                                                                                       | Required             | Description                                                     | Example                     |
| --------- | ------------------------------------------------------------------------------------------ | -------------------- | --------------------------------------------------------------- | --------------------------- |
| `Action`  | [components.ContentFilterAction](/client-sdks/go/api-reference/models/contentfilteraction) | :heavy\_check\_mark: | Action taken when the pattern matches                           | block                       |
| `Label`   | optionalnullable.OptionalNullable\[`string`]                                               | :heavy\_minus\_sign: | Optional label used in redaction placeholders or error messages | \[API\_KEY]                 |
| `Pattern` | `string`                                                                                   | :heavy\_check\_mark: | A regex pattern to match against request content                | \b(sk-\[a-zA-Z0-9]`{48}`)\b |
