Skip to content

Commit 653e42e

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

1 file changed

Lines changed: 35 additions & 1 deletion

File tree

‎.speakeasy/in.openapi.yaml‎

Lines changed: 35 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16836,6 +16836,17 @@ components:
1683616836
type:
1683716837
- 'boolean'
1683816838
- 'null'
16839+
data_collection:
16840+
description: "Data collection setting. If no available model provider meets the requirement, your request will return an error.\n- allow: (default) allow providers that may train on user data\n\n- deny: use only providers that do not train on user data. Providers may still retain prompts; set `zdr: true` to exclude retention."
16841+
enum:
16842+
- 'deny'
16843+
- 'allow'
16844+
- null
16845+
example: 'allow'
16846+
title: 'ImageGenerationRequestDataCollection'
16847+
type:
16848+
- 'string'
16849+
- 'null'
1683916850
ignore:
1684016851
description: 'List of provider slugs to ignore. If provided, this list is merged with your account-wide ignored provider settings for this request.'
1684116852
example:
@@ -16886,6 +16897,12 @@ components:
1688616897
- type: 'null'
1688716898
description: 'The sorting strategy to use for this request, if "order" is not specified. When set, no load balancing is performed.'
1688816899
example: 'price'
16900+
zdr:
16901+
description: 'Whether to restrict routing to only ZDR (Zero Data Retention) endpoints. When true, only endpoints that do not retain prompts will be used.'
16902+
example: true
16903+
type:
16904+
- 'boolean'
16905+
- 'null'
1688916906
type: 'object'
1689016907
ImageGenerationRequest:
1689116908
description: 'Image generation request input'
@@ -38243,8 +38260,19 @@ components:
3824338260
example: 'A serene mountain landscape at sunset'
3824438261
type: 'string'
3824538262
provider:
38246-
description: 'Provider routing preferences (order, only, ignore) and provider-specific passthrough configuration'
38263+
description: 'Provider routing preferences (order, only, ignore), request-level data policy (zdr, data_collection) and provider-specific passthrough configuration. No video endpoint currently offers Zero Data Retention, so `zdr: true` fails routing.'
3824738264
properties:
38265+
data_collection:
38266+
description: "Data collection setting. If no available model provider meets the requirement, your request will return an error.\n- allow: (default) allow providers that may train on user data\n\n- deny: use only providers that do not train on user data. Providers may still retain prompts; set `zdr: true` to exclude retention."
38267+
enum:
38268+
- 'deny'
38269+
- 'allow'
38270+
- null
38271+
example: 'allow'
38272+
title: 'VideoGenerationRequestDataCollection'
38273+
type:
38274+
- 'string'
38275+
- 'null'
3824838276
ignore:
3824938277
description: 'List of provider slugs to ignore. If provided, this list is merged with your account-wide ignored provider settings for this request.'
3825038278
example:
@@ -38288,6 +38316,12 @@ components:
3828838316
type:
3828938317
- 'array'
3829038318
- 'null'
38319+
zdr:
38320+
description: 'Whether to restrict routing to only ZDR (Zero Data Retention) endpoints. When true, only endpoints that do not retain prompts will be used.'
38321+
example: true
38322+
type:
38323+
- 'boolean'
38324+
- 'null'
3829138325
type: 'object'
3829238326
resolution:
3829338327
description: 'Resolution of the generated video'

0 commit comments

Comments
 (0)