Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 19 additions & 1 deletion .speakeasy/in.openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10106,6 +10106,23 @@ components:
- 'pattern'
- 'action'
type: 'object'
ContentFilterReadEntry:
allOf:
- $ref: '#/components/schemas/ContentFilterEntry'
- properties:
is_enforced:
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.'
example: true
type: 'boolean'
required:
- 'is_enforced'
type: 'object'
description: 'A custom regex content filter, with whether inference enforces it.'
example:
action: 'redact'
is_enforced: true
label: '[API_KEY]'
pattern: '\b(sk-[a-zA-Z0-9]{48})\b'
ContentPartAddedEvent:
allOf:
- $ref: '#/components/schemas/BaseContentPartAddedEvent'
Expand Down Expand Up @@ -15827,10 +15844,11 @@ components:
description: 'Custom regex content filters applied to request messages'
example:
- action: 'redact'
is_enforced: true
label: '[API_KEY]'
pattern: '\b(sk-[a-zA-Z0-9]{48})\b'
items:
$ref: '#/components/schemas/ContentFilterEntry'
$ref: '#/components/schemas/ContentFilterReadEntry'
type:
- 'array'
- 'null'
Expand Down
Loading