From ed188937f2be777b1dfa6d624e9cd5474ff194ba Mon Sep 17 00:00:00 2001 From: OpenRouter SDK Bot Date: Tue, 24 Nov 2026 23:19:56 +0000 Subject: [PATCH] chore: update OpenAPI spec [sdk-bot] --- .speakeasy/in.openapi.yaml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/.speakeasy/in.openapi.yaml b/.speakeasy/in.openapi.yaml index 9ab811f9..274597c4 100644 --- a/.speakeasy/in.openapi.yaml +++ b/.speakeasy/in.openapi.yaml @@ -10802,6 +10802,12 @@ components: type: - 'boolean' - 'null' + allow_safety_retention_openai: + description: 'Whether ZDR-only requests to openai/* models may also use Safety Retention endpoints, which may retain prompts and responses from any request, only to prevent abuse, and do not use them for training. false allows only ZDR endpoints. Applies only while OpenAI ZDR is on for the account or this guardrail; otherwise allow_safety_retention_other applies. Follows allow_safety_retention_other when null; on update, null clears a saved choice and omitting the field leaves it unchanged. While the account enforces ZDR for OpenAI or for other models, a guardrail can only be more restrictive than that account setting.' + example: true + type: + - 'boolean' + - 'null' allow_safety_retention_other: description: 'Whether ZDR-only requests to models outside the named providers (for example open-weight models on Vertex) may also use Safety Retention endpoints, which may retain prompts and responses from any request, only to prevent abuse, and do not use them for training. false allows only ZDR endpoints. A guardrail can only be more restrictive than the account setting. Inherits the account setting when not provided.' example: true @@ -15972,6 +15978,12 @@ components: type: - 'boolean' - 'null' + allow_safety_retention_openai: + description: 'Whether ZDR-only requests to openai/* models may also use Safety Retention endpoints, which may retain prompts and responses from any request, only to prevent abuse, and do not use them for training. false allows only ZDR endpoints. Applies only while OpenAI ZDR is on for the account or this guardrail; otherwise allow_safety_retention_other applies. Follows allow_safety_retention_other when null; on update, null clears a saved choice and omitting the field leaves it unchanged. While the account enforces ZDR for OpenAI or for other models, a guardrail can only be more restrictive than that account setting.' + example: true + type: + - 'boolean' + - 'null' allow_safety_retention_other: description: 'Whether ZDR-only requests to models outside the named providers (for example open-weight models on Vertex) may also use Safety Retention endpoints, which may retain prompts and responses from any request, only to prevent abuse, and do not use them for training. false allows only ZDR endpoints. A guardrail can only be more restrictive than the account setting. Inherits the account setting when not provided.' example: true @@ -16250,6 +16262,10 @@ components: type: - 'boolean' - 'null' + allow_safety_retention_openai: + type: + - 'boolean' + - 'null' allow_safety_retention_other: type: - 'boolean' @@ -16368,6 +16384,10 @@ components: type: - 'boolean' - 'null' + allow_safety_retention_openai: + type: + - 'boolean' + - 'null' allow_safety_retention_other: type: - 'boolean' @@ -37608,6 +37628,12 @@ components: type: - 'boolean' - 'null' + allow_safety_retention_openai: + description: 'Whether ZDR-only requests to openai/* models may also use Safety Retention endpoints, which may retain prompts and responses from any request, only to prevent abuse, and do not use them for training. false allows only ZDR endpoints. Applies only while OpenAI ZDR is on for the account or this guardrail; otherwise allow_safety_retention_other applies. Follows allow_safety_retention_other when null; on update, null clears a saved choice and omitting the field leaves it unchanged. While the account enforces ZDR for OpenAI or for other models, a guardrail can only be more restrictive than that account setting.' + example: false + type: + - 'boolean' + - 'null' allow_safety_retention_other: description: 'Whether ZDR-only requests to models outside the named providers (for example open-weight models on Vertex) may also use Safety Retention endpoints, which may retain prompts and responses from any request, only to prevent abuse, and do not use them for training. false allows only ZDR endpoints. A guardrail can only be more restrictive than the account setting. Inherits the account setting when not provided.' example: false