You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 1fb7891
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: .speakeasy/out.openapi.yaml
+19-1Lines changed: 19 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -10200,6 +10200,23 @@ components:
10200
10200
- 'pattern'
10201
10201
- 'action'
10202
10202
type: 'object'
10203
+
ContentFilterReadEntry:
10204
+
allOf:
10205
+
- $ref: '#/components/schemas/ContentFilterEntry'
10206
+
- properties:
10207
+
is_enforced:
10208
+
description: 'Whether inference applies this pattern. False for a pattern saved before pattern validation that is too complex to run safely; it is kept but skipped until replaced.'
10209
+
example: true
10210
+
type: 'boolean'
10211
+
required:
10212
+
- 'is_enforced'
10213
+
type: 'object'
10214
+
description: 'A custom regex content filter, with whether inference enforces it.'
|`action`|[components.ContentFilterAction](../components/contentfilteraction.mdx)| βοΈ | Action taken when the pattern matches | block |
13
+
|`label`|*OptionalNullable[str]*| β | Optional label used in redaction placeholders or error messages |[API_KEY]|
14
+
|`pattern`|*str*| βοΈ | A regex pattern to match against request content | \b(sk-[a-zA-Z0-9]\{48})\b |
15
+
|`is_enforced`|*bool*| βοΈ | Whether inference applies this pattern. False for a pattern saved before pattern validation that is too complex to run safely; it is kept but skipped until replaced. | true |
0 commit comments