From adccb9195815ac923fb46f979f2578162bb75241 Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Fri, 17 Jul 2026 20:55:53 +0000 Subject: [PATCH 1/2] ## Typescript SDK Changes: * `openrouter.guardrails.list()`: `response.data[].contentFilters[].action.enum(flag)` **Added** * `openrouter.guardrails.create()`: * `request.createGuardrailRequest.contentFilters[].action.enum(flag)` **Added** * `response.data.contentFilters[].action.enum(flag)` **Added** * `openrouter.guardrails.get()`: `response.data.contentFilters[].action.enum(flag)` **Added** * `openrouter.guardrails.update()`: * `request.updateGuardrailRequest.contentFilters[].action.enum(flag)` **Added** * `response.data.contentFilters[].action.enum(flag)` **Added** --- .speakeasy/gen.lock | 49 +++++++++++++------------- .speakeasy/gen.yaml | 2 +- .speakeasy/out.openapi.yaml | 5 +-- .speakeasy/workflow.lock | 10 +++--- RELEASES.md | 12 ++++++- docs/models/contentfilteraction.mdx | 2 +- docs/models/createguardrailrequest.mdx | 2 +- docs/models/updateguardrailrequest.mdx | 2 +- jsr.json | 2 +- package.json | 14 ++++---- src/lib/config.ts | 4 +-- src/models/contentfilteraction.ts | 1 + src/models/createguardrailrequest.ts | 2 +- src/models/updateguardrailrequest.ts | 2 +- 14 files changed, 61 insertions(+), 48 deletions(-) diff --git a/.speakeasy/gen.lock b/.speakeasy/gen.lock index ad6be9287..34da7459b 100644 --- a/.speakeasy/gen.lock +++ b/.speakeasy/gen.lock @@ -1,19 +1,19 @@ lockVersion: "" id: "" management: - docChecksum: 55f0effc0c7c14be41874aae5139c57f + docChecksum: 79132029d68df1f691896123fc89ebed docVersion: 1.0.0 speakeasyVersion: 1.787.0 generationVersion: 2.914.0 - releaseVersion: 0.13.64 - configChecksum: 3fee279443fbb8cab244868d45bd2666 + releaseVersion: 0.13.65 + configChecksum: 5c3a0d9d1db9e7fa517e3f796c8886db repoURL: https://github.com/OpenRouterTeam/typescript-sdk.git installationURL: https://github.com/OpenRouterTeam/typescript-sdk published: true persistentEdits: - generation_id: d455251e-96fe-4a3c-a474-b121183a460b - pristine_commit_hash: 937fd412994f61d01c90f5bc75cf72a98b066aa4 - pristine_tree_hash: 243e820cb4c24e62a526c3433d5e2f5e6002594f + generation_id: f7cccb85-e745-4c2e-a35a-e67bd4ec09dd + pristine_commit_hash: c25b49d904b5b6497b10a50cc2ba785a4eef6d5a + pristine_tree_hash: 8f3708ad26681ea7f83034817ae94dda07f64a32 features: typescript: acceptHeaders: 2.81.2 @@ -2686,8 +2686,8 @@ trackedFiles: deleted: true docs/models/contentfilteraction.mdx: id: 296c65964e01 - last_write_checksum: sha1:9cda6a0f7eb1b61c175ae3d63e09d64106bef39e - pristine_git_object: 1700798b60a2a7dc651dcbd3ed3ec89d855151bd + last_write_checksum: sha1:e42e25f3b74ec9f02c191bc78ea961a851c5a2ad + pristine_git_object: 99f2a1bca2c6a93feb69a9d97be46849c1ecda0e docs/models/contentfilterbuiltinaction.md: id: 2a4d5dada01d last_write_checksum: sha1:6a24a086ca8c0c626ba71223892dee57f955832f @@ -2986,8 +2986,8 @@ trackedFiles: deleted: true docs/models/createguardrailrequest.mdx: id: 2bd986770c03 - last_write_checksum: sha1:bb646d862cba41418cc1a6541dc4dd0b8caea76d - pristine_git_object: d8b51c43d2053da1ab2109e8e5984e2bbff48ddb + last_write_checksum: sha1:15ea8a4d7f6e2e96316a96d96beb8421884f64e2 + pristine_git_object: 3a32d36b865730d2a662bd29d57c5b296cc50b0c docs/models/createguardrailresponse.md: id: 1479b9a825eb last_write_checksum: sha1:bee8fafaede91b021bff538b7beefcb0d21395b4 @@ -11718,8 +11718,8 @@ trackedFiles: deleted: true docs/models/updateguardrailrequest.mdx: id: 7ec4b1eca0c1 - last_write_checksum: sha1:c0f51b3b4ad72000feb9a79f9ad0516ee6f3640e - pristine_git_object: 0d7d6542103ad8c06f35296bb6695da281e80bdb + last_write_checksum: sha1:12f3213f9885faeb2258804c737a94b434c69660 + pristine_git_object: b9230aef96158b2eb772cf7e769849ef4fa2645a docs/models/updateguardrailresponse.md: id: e651ac0d6e06 last_write_checksum: sha1:71039f9b33227c294ef56375f70fe8335a0e94de @@ -12420,12 +12420,12 @@ trackedFiles: pristine_git_object: 410efafd6a7f50d91ccb87131fedbe0c3d47e15a jsr.json: id: 7f6ab7767282 - last_write_checksum: sha1:17b2204ae2e1c68ef97fa9939084f6cedebaebad - pristine_git_object: fc5bcb94b01e447c404a85f16d0e51143118442b + last_write_checksum: sha1:02ea2b950eca3353e9ebcc4e03ded705c1068e8d + pristine_git_object: 36d389481f1afbbe2823852a76962b9183ca2f6a package.json: id: 7030d0b2f71b - last_write_checksum: sha1:2056437debb699186c0bf8e716c1a94ebc3296af - pristine_git_object: fad0f73e2d9a13acab07ffc4f0e7d3e5f7874bda + last_write_checksum: sha1:8cd9b64157207200c0c63447297425ac435e72cb + pristine_git_object: c629d467e299928f3672f5ab0b15ef5f6ea81bc1 src/core.ts: id: f431fdbcd144 last_write_checksum: sha1:5aa66b0b6a5964f3eea7f3098c2eb3c0ee9c0131 @@ -12804,8 +12804,8 @@ trackedFiles: pristine_git_object: a187e58707bdb726ca2aff74941efe7493422d4e src/lib/config.ts: id: 320761608fb3 - last_write_checksum: sha1:b4b972ffad2c14184b862202357fcf36788667a7 - pristine_git_object: f52e16f6218b0ee40fb6ceec63bd2e72202c3ee9 + last_write_checksum: sha1:456aa3bce5605150013fe0f5cd0420fc82182c61 + pristine_git_object: d000afc41edead567471a77992d36ce30eb96adb src/lib/dlv.ts: id: b1988214835a last_write_checksum: sha1:eaac763b22717206a6199104e0403ed17a4e2711 @@ -13426,8 +13426,8 @@ trackedFiles: pristine_git_object: 3c5c6378218f7371407c00a685beb73f19302f81 src/models/contentfilteraction.ts: id: b903dba08901 - last_write_checksum: sha1:f2a961eb141032437def2beb07712de29b44f3fe - pristine_git_object: 79baa181df1cd6d16efeddd24ee0c4cf97699a11 + last_write_checksum: sha1:125c98de0bfaa21a9dbcf4aa5a30411d257f70f3 + pristine_git_object: 77d33056c7c8c7117fe41e7daeab9d7ce67b17f3 src/models/contentfilterbuiltinaction.ts: id: 63b25bbc8dbf last_write_checksum: sha1:00808a411a977f093a236f05bbaf170c8d70b291 @@ -13506,8 +13506,8 @@ trackedFiles: pristine_git_object: db7f7476736a5d486bcbfe50c06b5c80c6e2883e src/models/createguardrailrequest.ts: id: fbf07f1435fd - last_write_checksum: sha1:9be24cbdcbb4ef34c86134b3dc1a2336a7a0374d - pristine_git_object: a09877eeb7f63dbada98025fcdee0b0e3345f4b0 + last_write_checksum: sha1:f31b1395fe5720fd56fa837a653b7745728d84cc + pristine_git_object: 13e131b81ec7194bf04412a9fb11669efa559b7e src/models/createguardrailresponse.ts: id: f0b6f29656b5 last_write_checksum: sha1:f97971ea73141b6983b75e600b0df08df5511d0f @@ -15414,8 +15414,8 @@ trackedFiles: pristine_git_object: c14691083fe55e6bc7f5b5204fadbcafcf3c726b src/models/updateguardrailrequest.ts: id: 8ae5b029f2d5 - last_write_checksum: sha1:20200ef015c3546f3323d96681cfb147724d414f - pristine_git_object: 89b3c41c7d3413ea07ed50b5384300ca839075b0 + last_write_checksum: sha1:2adbb5e17fdecb9ccc89e58463317156cd254417 + pristine_git_object: 3c127fba815d24c953028fea33ce11a2c310db92 src/models/updateguardrailresponse.ts: id: a1debd60e96d last_write_checksum: sha1:818ca8d0fdd11a7a768a396708b84b5e171d73c1 @@ -17310,3 +17310,4 @@ examples: "500": application/json: {"error": {"code": 500, "message": "Internal Server Error"}} examplesVersion: 1.0.2 +releaseNotes: "## Typescript SDK Changes:\n* `openrouter.guardrails.list()`: `response.data[].contentFilters[].action.enum(flag)` **Added**\n* `openrouter.guardrails.create()`: \n * `request.createGuardrailRequest.contentFilters[].action.enum(flag)` **Added**\n * `response.data.contentFilters[].action.enum(flag)` **Added**\n* `openrouter.guardrails.get()`: `response.data.contentFilters[].action.enum(flag)` **Added**\n* `openrouter.guardrails.update()`: \n * `request.updateGuardrailRequest.contentFilters[].action.enum(flag)` **Added**\n * `response.data.contentFilters[].action.enum(flag)` **Added**\n" diff --git a/.speakeasy/gen.yaml b/.speakeasy/gen.yaml index 8cb83976a..03ab5739f 100644 --- a/.speakeasy/gen.yaml +++ b/.speakeasy/gen.yaml @@ -37,7 +37,7 @@ generation: documentation: mintlify preApplyUnionDiscriminators: true typescript: - version: 0.13.64 + version: 0.13.65 acceptHeaderEnum: false additionalDependencies: dependencies: diff --git a/.speakeasy/out.openapi.yaml b/.speakeasy/out.openapi.yaml index b08ff584f..745f51216 100644 --- a/.speakeasy/out.openapi.yaml +++ b/.speakeasy/out.openapi.yaml @@ -6313,6 +6313,7 @@ components: enum: - 'redact' - 'block' + - 'flag' example: 'block' type: 'string' x-speakeasy-unknown-values: allow @@ -6798,7 +6799,7 @@ components: - 'array' - 'null' content_filter_builtins: - description: 'Builtin content filters to apply. The "flag" action is only supported for "regex-prompt-injection"; PII slugs (email, phone, ssn, credit-card, ip-address, person-name, address) accept "block" or "redact" only.' + description: 'Builtin content filters to apply. Every builtin slug supports "block", "redact", and the detect-only "flag" action.' example: - action: 'block' slug: 'regex-prompt-injection' @@ -22835,7 +22836,7 @@ components: - 'array' - 'null' content_filter_builtins: - description: 'Builtin content filters to apply. Set to null to remove. The "flag" action is only supported for "regex-prompt-injection"; PII slugs (email, phone, ssn, credit-card, ip-address, person-name, address) accept "block" or "redact" only.' + description: 'Builtin content filters to apply. Set to null to remove. Every builtin slug supports "block", "redact", and the detect-only "flag" action.' example: - action: 'block' slug: 'regex-prompt-injection' diff --git a/.speakeasy/workflow.lock b/.speakeasy/workflow.lock index 46eaa7a61..1c022ea01 100644 --- a/.speakeasy/workflow.lock +++ b/.speakeasy/workflow.lock @@ -2,8 +2,8 @@ speakeasyVersion: 1.787.0 sources: OpenRouter API: sourceNamespace: open-router-chat-completions-api - sourceRevisionDigest: sha256:ea64506277a4ea822f1b4ed82d021c68c51ae18d04d7d1ed8d2612b1c7c30b37 - sourceBlobDigest: sha256:090f30b3641eb655b1f8bb0fcf18c8651f10c0c4c763c4db892454cd97a1bb8e + sourceRevisionDigest: sha256:846985832e45dab8c36021351cf2afa76096f5b292016418b16232954979e24d + sourceBlobDigest: sha256:475564e34c92c475683159e694479b95077550f869dce2ec679d4f3e57be0a5b tags: - latest - 1.0.0 @@ -11,10 +11,10 @@ targets: openrouter: source: OpenRouter API sourceNamespace: open-router-chat-completions-api - sourceRevisionDigest: sha256:ea64506277a4ea822f1b4ed82d021c68c51ae18d04d7d1ed8d2612b1c7c30b37 - sourceBlobDigest: sha256:090f30b3641eb655b1f8bb0fcf18c8651f10c0c4c763c4db892454cd97a1bb8e + sourceRevisionDigest: sha256:846985832e45dab8c36021351cf2afa76096f5b292016418b16232954979e24d + sourceBlobDigest: sha256:475564e34c92c475683159e694479b95077550f869dce2ec679d4f3e57be0a5b codeSamplesNamespace: open-router-chat-completions-api-typescript-code-samples - codeSamplesRevisionDigest: sha256:163b07bb88bfe178677bbc5a9e5cda5b3e1426e4ed70b4475e9087bae3acd3e5 + codeSamplesRevisionDigest: sha256:88474404493898b1174aa328d4e7c4e56c04e7de229f6a10c53cd6aded481370 workflow: workflowVersion: 1.0.0 speakeasyVersion: 1.787.0 diff --git a/RELEASES.md b/RELEASES.md index 348adad3b..03aa7bc84 100644 --- a/RELEASES.md +++ b/RELEASES.md @@ -1876,4 +1876,14 @@ Based on: ### Generated - [typescript v0.13.64] . ### Releases -- [NPM v0.13.64] https://www.npmjs.com/package/@openrouter/sdk/v/0.13.64 - . \ No newline at end of file +- [NPM v0.13.64] https://www.npmjs.com/package/@openrouter/sdk/v/0.13.64 - . + +## 2026-07-17 20:54:06 +### Changes +Based on: +- OpenAPI Doc +- Speakeasy CLI 1.787.0 (2.914.0) https://github.com/speakeasy-api/speakeasy +### Generated +- [typescript v0.13.65] . +### Releases +- [NPM v0.13.65] https://www.npmjs.com/package/@openrouter/sdk/v/0.13.65 - . \ No newline at end of file diff --git a/docs/models/contentfilteraction.mdx b/docs/models/contentfilteraction.mdx index 1700798b6..99f2a1bca 100644 --- a/docs/models/contentfilteraction.mdx +++ b/docs/models/contentfilteraction.mdx @@ -17,5 +17,5 @@ let value: ContentFilterAction = "block"; ## Values ```typescript -"redact" | "block" | Unrecognized +"redact" | "block" | "flag" | Unrecognized ``` \ No newline at end of file diff --git a/docs/models/createguardrailrequest.mdx b/docs/models/createguardrailrequest.mdx index d8b51c43d..3a32d36b8 100644 --- a/docs/models/createguardrailrequest.mdx +++ b/docs/models/createguardrailrequest.mdx @@ -18,7 +18,7 @@ let value: CreateGuardrailRequest = { | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | `allowedModels` | *string*[] | :heavy_minus_sign: | Array of model identifiers (slug or canonical_slug accepted) | [
"openai/gpt-5.2",
"anthropic/claude-4.5-opus-20251124",
"deepseek/deepseek-r1-0528:free"
] | | `allowedProviders` | *string*[] | :heavy_minus_sign: | List of allowed provider IDs | [
"openai",
"anthropic",
"deepseek"
] | -| `contentFilterBuiltins` | [models.ContentFilterBuiltinEntryInput](../models/contentfilterbuiltinentryinput.mdx)[] | :heavy_minus_sign: | Builtin content filters to apply. The "flag" action is only supported for "regex-prompt-injection"; PII slugs (email, phone, ssn, credit-card, ip-address, person-name, address) accept "block" or "redact" only. | [
\{
"action": "block",
"slug": "regex-prompt-injection"
}
] | +| `contentFilterBuiltins` | [models.ContentFilterBuiltinEntryInput](../models/contentfilterbuiltinentryinput.mdx)[] | :heavy_minus_sign: | Builtin content filters to apply. Every builtin slug supports "block", "redact", and the detect-only "flag" action. | [
\{
"action": "block",
"slug": "regex-prompt-injection"
}
] | | `contentFilters` | [models.ContentFilterEntry](../models/contentfilterentry.mdx)[] | :heavy_minus_sign: | Custom regex content filters to apply to request messages | [
\{
"action": "redact",
"label": "[API_KEY]",
"pattern": "\\b(sk-[a-zA-Z0-9]\{48})\\b"
}
] | | `description` | *string* | :heavy_minus_sign: | Description of the guardrail | A guardrail for limiting API usage | | ~~`enforceZdr`~~ | *boolean* | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

Deprecated. Use enforce_zdr_anthropic, enforce_zdr_openai, enforce_zdr_google, enforce_zdr_xai, and enforce_zdr_other instead. When provided, its value is copied into any of those per-provider fields that are not explicitly specified on the request. | false | diff --git a/docs/models/updateguardrailrequest.mdx b/docs/models/updateguardrailrequest.mdx index 0d7d65421..b9230aef9 100644 --- a/docs/models/updateguardrailrequest.mdx +++ b/docs/models/updateguardrailrequest.mdx @@ -16,7 +16,7 @@ let value: UpdateGuardrailRequest = {}; | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | `allowedModels` | *string*[] | :heavy_minus_sign: | Array of model identifiers (slug or canonical_slug accepted) | [
"openai/gpt-5.2"
] | | `allowedProviders` | *string*[] | :heavy_minus_sign: | New list of allowed provider IDs | [
"openai",
"anthropic",
"deepseek"
] | -| `contentFilterBuiltins` | [models.ContentFilterBuiltinEntryInput](../models/contentfilterbuiltinentryinput.mdx)[] | :heavy_minus_sign: | Builtin content filters to apply. Set to null to remove. The "flag" action is only supported for "regex-prompt-injection"; PII slugs (email, phone, ssn, credit-card, ip-address, person-name, address) accept "block" or "redact" only. | [
\{
"action": "block",
"slug": "regex-prompt-injection"
}
] | +| `contentFilterBuiltins` | [models.ContentFilterBuiltinEntryInput](../models/contentfilterbuiltinentryinput.mdx)[] | :heavy_minus_sign: | Builtin content filters to apply. Set to null to remove. Every builtin slug supports "block", "redact", and the detect-only "flag" action. | [
\{
"action": "block",
"slug": "regex-prompt-injection"
}
] | | `contentFilters` | [models.ContentFilterEntry](../models/contentfilterentry.mdx)[] | :heavy_minus_sign: | Custom regex content filters to apply. Set to null to remove. | null | | `description` | *string* | :heavy_minus_sign: | New description for the guardrail | Updated description | | ~~`enforceZdr`~~ | *boolean* | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

Deprecated. Use enforce_zdr_anthropic, enforce_zdr_openai, enforce_zdr_google, enforce_zdr_xai, and enforce_zdr_other instead. When provided, its value is copied into any of those per-provider fields that are not explicitly specified on the request. | true | diff --git a/jsr.json b/jsr.json index fc5bcb94b..36d389481 100644 --- a/jsr.json +++ b/jsr.json @@ -2,7 +2,7 @@ { "name": "@openrouter/sdk", - "version": "0.13.64", + "version": "0.13.65", "exports": { ".": "./src/index.ts", "./models/errors": "./src/models/errors/index.ts", diff --git a/package.json b/package.json index cf10b30bb..6404c57e8 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@openrouter/sdk", - "version": "0.13.64", + "version": "0.13.65", "author": "OpenRouter", "description": "The OpenRouter TypeScript SDK is a type-safe toolkit for building AI applications with access to 400+ language models through a unified API.", "keywords": [ @@ -21,8 +21,8 @@ "license": "Apache-2.0", "packageManager": "pnpm@10.22.0", "publishConfig": { - "access": "public", - "provenance": true + "provenance": true, + "access": "public" }, "type": "module", "main": "./esm/index.js", @@ -75,13 +75,13 @@ "prepublishOnly": "npm run build", "prepare": "npm run build", "test": "vitest --run --project unit", - "test:e2e": "vitest --run --project e2e", + "test:transit": "exit 0", "test:watch": "vitest --watch --project unit", "typecheck": "tsc --noEmit", "typecheck:transit": "exit 0", - "compile": "tsc", - "test:transit": "exit 0", - "postinstall": "node scripts/check-types.js || true" + "postinstall": "node scripts/check-types.js || true", + "test:e2e": "vitest --run --project e2e", + "compile": "tsc" }, "peerDependencies": {}, "devDependencies": { diff --git a/src/lib/config.ts b/src/lib/config.ts index f52e16f62..d000afc41 100644 --- a/src/lib/config.ts +++ b/src/lib/config.ts @@ -75,7 +75,7 @@ export function serverURLFromOptions(options: SDKOptions): URL | null { export const SDK_METADATA = { language: "typescript", openapiDocVersion: "1.0.0", - sdkVersion: "0.13.64", + sdkVersion: "0.13.65", genVersion: "2.914.0", - userAgent: "speakeasy-sdk/typescript 0.13.64 2.914.0 1.0.0 @openrouter/sdk", + userAgent: "speakeasy-sdk/typescript 0.13.65 2.914.0 1.0.0 @openrouter/sdk", } as const; diff --git a/src/models/contentfilteraction.ts b/src/models/contentfilteraction.ts index 79baa181d..77d33056c 100644 --- a/src/models/contentfilteraction.ts +++ b/src/models/contentfilteraction.ts @@ -13,6 +13,7 @@ import { OpenEnum } from "../types/enums.js"; export const ContentFilterAction = { Redact: "redact", Block: "block", + Flag: "flag", } as const; /** * Action taken when the pattern matches diff --git a/src/models/createguardrailrequest.ts b/src/models/createguardrailrequest.ts index a09877eeb..13e131b81 100644 --- a/src/models/createguardrailrequest.ts +++ b/src/models/createguardrailrequest.ts @@ -30,7 +30,7 @@ export type CreateGuardrailRequest = { */ allowedProviders?: Array | null | undefined; /** - * Builtin content filters to apply. The "flag" action is only supported for "regex-prompt-injection"; PII slugs (email, phone, ssn, credit-card, ip-address, person-name, address) accept "block" or "redact" only. + * Builtin content filters to apply. Every builtin slug supports "block", "redact", and the detect-only "flag" action. */ contentFilterBuiltins?: | Array diff --git a/src/models/updateguardrailrequest.ts b/src/models/updateguardrailrequest.ts index 89b3c41c7..3c127fba8 100644 --- a/src/models/updateguardrailrequest.ts +++ b/src/models/updateguardrailrequest.ts @@ -30,7 +30,7 @@ export type UpdateGuardrailRequest = { */ allowedProviders?: Array | null | undefined; /** - * Builtin content filters to apply. Set to null to remove. The "flag" action is only supported for "regex-prompt-injection"; PII slugs (email, phone, ssn, credit-card, ip-address, person-name, address) accept "block" or "redact" only. + * Builtin content filters to apply. Set to null to remove. Every builtin slug supports "block", "redact", and the detect-only "flag" action. */ contentFilterBuiltins?: | Array From c78c71da6bb455a5710c2f5584a3b1e5df3969f4 Mon Sep 17 00:00:00 2001 From: "speakeasy-github[bot]" <128539517+speakeasy-github[bot]@users.noreply.github.com> Date: Fri, 17 Jul 2026 20:56:00 +0000 Subject: [PATCH 2/2] empty commit to trigger [run-tests] workflow