Skip to content

Commit 3abb159

Browse files
openrouter-docs-sync[bot]OpenRouter SDK Bot
andauthored
chore: update OpenAPI spec from monorepo (#1306)
Co-authored-by: OpenRouter SDK Bot <sdk-bot@openrouter.ai>
1 parent 028b49c commit 3abb159

1 file changed

Lines changed: 9 additions & 9 deletions

File tree

‎.speakeasy/in.openapi.yaml‎

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -7231,7 +7231,7 @@ components:
72317231
workspace_id: '550e8400-e29b-41d4-a716-446655440000'
72327232
properties:
72337233
allowed_api_key_hashes:
7234-
description: 'Optional allowlist of OpenRouter API key hashes (`api_keys.hash`) that may use this credential. `null` means no restriction. A workspace-scoped management key can only name API keys in its own workspace.'
7234+
description: 'Optional allowlist of OpenRouter API key hashes (`api_keys.hash`) that may use this credential. `null` means no restriction. Keys newly added to a credential pinned to a workspace must be in that workspace; a listed key that has since moved to another workspace stays listed.'
72357235
example:
72367236
- 'f01d52606dc8f0a8303a7b5cc3fa07109c2e346cec7c0a16b40de462992ce943'
72377237
items:
@@ -10308,7 +10308,7 @@ components:
1030810308
provider: 'openai'
1030910309
properties:
1031010310
allowed_api_key_hashes:
10311-
description: 'Optional allowlist of OpenRouter API key hashes (`api_keys.hash`) that may use this credential. `null` means no restriction. Must contain at least one hash if provided. Hashes that do not belong to your account return a 400; for a workspace-scoped management key, so do hashes of API keys outside its own workspace.'
10311+
description: 'Optional allowlist of OpenRouter API key hashes (`api_keys.hash`) that may use this credential. `null` means no restriction. Must contain at least one hash if provided. Hashes that do not belong to your account return a 400; for a credential pinned to a workspace, so do hashes of API keys outside that workspace.'
1031210312
example:
1031310313
- 'f01d52606dc8f0a8303a7b5cc3fa07109c2e346cec7c0a16b40de462992ce943'
1031410314
items:
@@ -10865,7 +10865,7 @@ components:
1086510865
type: 'langfuse'
1086610866
properties:
1086710867
api_key_hashes:
10868-
description: 'Optional allowlist of OpenRouter API key hashes whose traffic is forwarded. `null` or omitted means all keys. Must contain at least one hash if provided. A workspace-scoped management key can only name API keys in its own workspace; any other hash returns 400.'
10868+
description: 'Optional allowlist of OpenRouter API key hashes whose traffic is forwarded. `null` or omitted means all keys. Must contain at least one hash if provided. Every hash must belong to an API key in the destination''s workspace; any other hash returns 400.'
1086910869
example: null
1087010870
items:
1087110871
type: 'string'
@@ -36159,7 +36159,7 @@ components:
3615936159
name: 'Updated OpenAI Key'
3616036160
properties:
3616136161
allowed_api_key_hashes:
36162-
description: 'Optional allowlist of OpenRouter API key hashes (`api_keys.hash`) that may use this credential. `null` clears the restriction. Must contain at least one hash if provided. Hashes that do not belong to your account return a 400; for a workspace-scoped management key, so do hashes of API keys outside its own workspace.'
36162+
description: 'Optional allowlist of OpenRouter API key hashes (`api_keys.hash`) that may use this credential. `null` clears the restriction. Must contain at least one hash if provided. Hashes that do not belong to your account return a 400; for a credential pinned to a workspace, so do hashes of API keys outside that workspace, unless the credential already lists them (a listed key that has since moved to another workspace stays listed and can be written back).'
3616336163
example:
3616436164
- 'f01d52606dc8f0a8303a7b5cc3fa07109c2e346cec7c0a16b40de462992ce943'
3616536165
items:
@@ -36611,7 +36611,7 @@ components:
3661136611
name: 'Updated Langfuse'
3661236612
properties:
3661336613
api_key_hashes:
36614-
description: 'Optional allowlist of OpenRouter API key hashes. `null` clears the filter (all keys). Omitting leaves the current value, including any API key from another workspace that an organization-scoped key attached. Must contain at least one hash if provided. A workspace-scoped management key can only name API keys in its own workspace; any other hash returns 400.'
36614+
description: 'Optional allowlist of OpenRouter API key hashes. `null` clears the filter (all keys). Omitting leaves the current value. Must contain at least one hash if provided. Every hash must belong to an API key in the destination''s workspace; any other hash returns 400. A hash the destination already lists is kept even if that key has since moved to another workspace, so an already-listed hash can always be written back.'
3661536615
example: null
3661636616
items:
3661736617
type: 'string'
@@ -37792,7 +37792,7 @@ components:
3779237792
resolution: '720p'
3779337793
properties:
3779437794
aspect_ratio:
37795-
description: 'Aspect ratio of the generated video'
37795+
description: 'Aspect ratio of the generated video. Omit it to use the model default, which on models with adaptive aspect ratio (e.g. BytePlus Seedance) follows the input image or video.'
3779637796
enum:
3779737797
- '16:9'
3779837798
- '9:16'
@@ -37815,9 +37815,9 @@ components:
3781537815
example: 1
3781637816
type: 'integer'
3781737817
duration:
37818-
description: 'Duration of the generated video in seconds'
37818+
description: 'Duration of the generated video in seconds, or -1 to let the provider choose the length (e.g. following an input video). -1 is only accepted by models that list it in supported_durations.'
3781937819
example: 8
37820-
minimum: 1
37820+
minimum: -1
3782137821
type: 'integer'
3782237822
frame_images:
3782337823
description: 'Images to use as the first and/or last frame of the generated video. Each image must specify a frame_type of first_frame or last_frame.'
@@ -38092,7 +38092,7 @@ components:
3809238092
- 'array'
3809338093
- 'null'
3809438094
supported_durations:
38095-
description: 'Supported video durations in seconds'
38095+
description: 'Supported video durations in seconds. -1 means the model accepts duration -1 and chooses the length itself.'
3809638096
items:
3809738097
type: 'integer'
3809838098
type:

0 commit comments

Comments
 (0)