From ebcc6f4d29e12b80f5c98677418c74132d82b295 Mon Sep 17 00:00:00 2001 From: OpenRouter SDK Bot Date: Thu, 12 Nov 2026 19:38:15 +0000 Subject: [PATCH] chore: update OpenAPI spec [sdk-bot] --- .speakeasy/in.openapi.yaml | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) diff --git a/.speakeasy/in.openapi.yaml b/.speakeasy/in.openapi.yaml index f9ae5269..b80c7e27 100644 --- a/.speakeasy/in.openapi.yaml +++ b/.speakeasy/in.openapi.yaml @@ -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' @@ -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'