Skip to content

Commit 1e4c418

Browse files
openrouter-docs-sync[bot]OpenRouter SDK Bot
andauthored
chore: update OpenAPI spec from monorepo (#1008)
Co-authored-by: OpenRouter SDK Bot <sdk-bot@openrouter.ai>
1 parent 9b02398 commit 1e4c418

1 file changed

Lines changed: 37 additions & 3 deletions

File tree

‎.speakeasy/in.openapi.yaml‎

Lines changed: 37 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28700,10 +28700,27 @@ components:
2870028700
example: 'mistralai/voxtral-mini-tts-2603'
2870128701
type: 'string'
2870228702
provider:
28703-
description: 'Provider-specific passthrough configuration'
28703+
description: 'Provider configuration: data policy routing preferences (`zdr`, `data_collection`) and provider-specific passthrough options'
2870428704
properties:
28705+
data_collection:
28706+
description: "Data collection setting. If no available model provider meets the requirement, your request will return an error.\n- allow: (default) allow providers which store user data non-transiently and may train on it\n\n- deny: use only providers which do not collect user data."
28707+
enum:
28708+
- 'deny'
28709+
- 'allow'
28710+
- null
28711+
example: 'allow'
28712+
title: 'SpeechRequestDataCollection'
28713+
type:
28714+
- 'string'
28715+
- 'null'
2870528716
options:
2870628717
$ref: '#/components/schemas/ProviderOptions'
28718+
zdr:
28719+
description: 'Whether to restrict routing to only ZDR (Zero Data Retention) endpoints. When true, only endpoints that do not retain prompts will be used.'
28720+
example: true
28721+
type:
28722+
- 'boolean'
28723+
- 'null'
2870728724
type: 'object'
2870828725
response_format:
2870928726
default: 'pcm'
@@ -29256,10 +29273,27 @@ components:
2925629273
example: 'openai/whisper-large-v3'
2925729274
type: 'string'
2925829275
provider:
29259-
description: 'Provider-specific passthrough configuration'
29276+
description: 'Provider configuration: data policy routing preferences (`zdr`, `data_collection`) and provider-specific passthrough options'
2926029277
properties:
29278+
data_collection:
29279+
description: "Data collection setting. If no available model provider meets the requirement, your request will return an error.\n- allow: (default) allow providers which store user data non-transiently and may train on it\n\n- deny: use only providers which do not collect user data."
29280+
enum:
29281+
- 'deny'
29282+
- 'allow'
29283+
- null
29284+
example: 'allow'
29285+
title: 'STTRequestDataCollection'
29286+
type:
29287+
- 'string'
29288+
- 'null'
2926129289
options:
2926229290
$ref: '#/components/schemas/ProviderOptions'
29291+
zdr:
29292+
description: 'Whether to restrict routing to only ZDR (Zero Data Retention) endpoints. When true, only endpoints that do not retain prompts will be used.'
29293+
example: true
29294+
type:
29295+
- 'boolean'
29296+
- 'null'
2926329297
type: 'object'
2926429298
response_format:
2926529299
description: 'Output format. "json" (default) returns { text, usage }. "verbose_json" additionally returns task, language, duration, and segment-level timestamps; only supported by OpenAI-compatible providers.'
@@ -33958,7 +33992,7 @@ paths:
3395833992
description: 'The model to use for transcription.'
3395933993
type: 'string'
3396033994
provider:
33961-
description: 'JSON-encoded provider preferences object, the same shape as the JSON body field: { "options": { "<provider-slug>": { ... } } }. Only options for the matched provider are forwarded. Must decode to a JSON object.'
33995+
description: 'JSON-encoded provider preferences object, the same shape as the JSON body field: { "zdr": true, "data_collection": "deny", "options": { "<provider-slug>": { ... } } }. Only options for the matched provider are forwarded. Must decode to a JSON object.'
3396233996
type: 'string'
3396333997
response_format:
3396433998
description: 'The response format. "json" (default) returns { text, usage }; "verbose_json" additionally returns task, language, duration, and segment-level timestamps (OpenAI-compatible providers only).'

0 commit comments

Comments
 (0)