Skip to content

Commit a6cd918

Browse files
author
OpenRouter SDK Bot
committed
chore: update OpenAPI spec [sdk-bot]
1 parent 0dfba28 commit a6cd918

1 file changed

Lines changed: 20 additions & 2 deletions

File tree

‎.speakeasy/in.openapi.yaml‎

Lines changed: 20 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9384,6 +9384,12 @@ components:
93849384
name: 'My New Guardrail'
93859385
reset_interval: 'monthly'
93869386
properties:
9387+
allow_safety_retention_google:
9388+
description: 'Whether ZDR-only requests to google/* models may use endpoints that may retain prompts for safety monitoring. false allows only zero-retention endpoints. A guardrail can only be more restrictive than the account setting. Inherits the account setting when not provided.'
9389+
example: true
9390+
type:
9391+
- 'boolean'
9392+
- 'null'
93879393
allowed_data_regions:
93889394
description: 'Data regions through which requests governed by this guardrail must arrive. `global` is https://openrouter.ai, `europe` is https://eu.openrouter.ai, and `us` is https://us.openrouter.ai. Requests arriving through any other region are rejected. `null` leaves the ingress region unrestricted. When several guardrails apply (workspace default, member, API key), the effective regions are the intersection of every non-null value. An empty array is rejected.'
93899395
example:
@@ -13042,6 +13048,12 @@ components:
1304213048
updated_at: '2025-08-24T15:45:00Z'
1304313049
workspace_id: '0df9e665-d932-5740-b2c7-b52af166bc11'
1304413050
properties:
13051+
allow_safety_retention_google:
13052+
description: 'Whether ZDR-only requests to google/* models may use endpoints that may retain prompts for safety monitoring. false allows only zero-retention endpoints. A guardrail can only be more restrictive than the account setting. Inherits the account setting when not provided.'
13053+
example: true
13054+
type:
13055+
- 'boolean'
13056+
- 'null'
1304513057
allowed_data_regions:
1304613058
description: 'Data regions through which requests governed by this guardrail must arrive. `global` is https://openrouter.ai, `europe` is https://eu.openrouter.ai, and `us` is https://us.openrouter.ai. Requests arriving through any other region are rejected. `null` leaves the ingress region unrestricted. When several guardrails apply (workspace default, member, API key), the effective regions are the intersection of every non-null value.'
1304713059
example:
@@ -29183,7 +29195,7 @@ components:
2918329195
$ref: '#/components/schemas/SpeechTurn'
2918429196
minItems: 1
2918529197
type: 'array'
29186-
description: 'Text to synthesize, or a list of turns for multi-speaker input. Each turn has its own text, voice, and instructions. Multi-speaker input is currently supported by Gemini TTS models only.'
29198+
description: 'Text to synthesize, or a list of turns for multi-speaker input. Each turn has its own text, voice, and instructions. Multi-speaker input is supported by Gemini TTS models and by Fish Audio models other than S1.'
2918729199
example: 'Hello world'
2918829200
SpeechInputReference:
2918929201
description: 'Reference content part for stateless voice cloning or voice design'
@@ -29305,7 +29317,7 @@ components:
2930529317
$ref: '#/components/schemas/SpeechInputReference'
2930629318
type: 'array'
2930729319
instructions:
29308-
description: 'Delivery instructions for the whole request, such as tone, pacing, or emotion. Supported by OpenAI gpt-4o-mini-tts and Gemini TTS models. Ignored by other providers.'
29320+
description: 'Delivery instructions for the whole request, such as tone, pacing, or emotion. Supported by OpenAI gpt-4o-mini-tts, Gemini TTS, and Fish Audio models. Ignored by other providers.'
2930929321
example: 'Speak in a warm and friendly tone.'
2931029322
type: 'string'
2931129323
model:
@@ -31776,6 +31788,12 @@ components:
3177631788
name: 'Updated Guardrail Name'
3177731789
reset_interval: 'weekly'
3177831790
properties:
31791+
allow_safety_retention_google:
31792+
description: 'Whether ZDR-only requests to google/* models may use endpoints that may retain prompts for safety monitoring. false allows only zero-retention endpoints. A guardrail can only be more restrictive than the account setting. Inherits the account setting when not provided.'
31793+
example: false
31794+
type:
31795+
- 'boolean'
31796+
- 'null'
3177931797
allowed_data_regions:
3178031798
description: 'Data regions through which requests governed by this guardrail must arrive. `global` is https://openrouter.ai, `europe` is https://eu.openrouter.ai, and `us` is https://us.openrouter.ai. Requests arriving through any other region are rejected. `null` leaves the ingress region unrestricted. When several guardrails apply (workspace default, member, API key), the effective regions are the intersection of every non-null value. An empty array is rejected.'
3178131799
example:

0 commit comments

Comments
 (0)