From 234901509f1ce17bc39204d65351df0163326b26 Mon Sep 17 00:00:00 2001 From: robert-j-y <212159665+robert-j-y@users.noreply.github.com> Date: Wed, 3 Jun 2026 16:57:01 -0400 Subject: [PATCH] chore: update OpenAPI spec from monorepo (#285) Co-authored-by: OpenRouter SDK Bot --- .speakeasy/in.openapi.yaml | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/.speakeasy/in.openapi.yaml b/.speakeasy/in.openapi.yaml index dd865ed..c424584 100644 --- a/.speakeasy/in.openapi.yaml +++ b/.speakeasy/in.openapi.yaml @@ -5483,6 +5483,8 @@ components: example: '[EMAIL]' maxLength: 100 type: string + scan_scope: + $ref: '#/components/schemas/PromptInjectionScanScope' slug: $ref: '#/components/schemas/ContentFilterBuiltinSlug' required: @@ -5506,6 +5508,8 @@ components: but silently ignored. maxLength: 100 type: string + scan_scope: + $ref: '#/components/schemas/PromptInjectionScanScope' slug: $ref: '#/components/schemas/ContentFilterBuiltinSlug' required: @@ -15518,6 +15522,15 @@ components: required: - type type: object + PromptInjectionScanScope: + description: >- + Which message roles to scan for prompt injection. Only applies to the regex-prompt-injection builtin. Defaults + to all_messages. + enum: + - user_only + - all_messages + example: user_only + type: string ProviderName: enum: - AkashML