Skip to content

Commit 4796bbf

Browse files
openrouter-docs-sync[bot]OpenRouter SDK Bot
andauthored
chore: update OpenAPI spec from monorepo (#821)
Co-authored-by: OpenRouter SDK Bot <sdk-bot@openrouter.ai>
1 parent 7c72f8f commit 4796bbf

1 file changed

Lines changed: 47 additions & 3 deletions

File tree

‎.speakeasy/in.openapi.yaml‎

Lines changed: 47 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4498,7 +4498,9 @@ components:
44984498
created_at: '2025-08-24T10:30:00Z'
44994499
disabled: false
45004500
id: '11111111-2222-3333-4444-555555555555'
4501+
is_byok_only: false
45014502
is_fallback: false
4503+
is_required: false
45024504
label: 'sk-...AbCd'
45034505
name: 'Production OpenAI Key'
45044506
provider: 'openai'
@@ -4546,8 +4548,16 @@ components:
45464548
example: '11111111-2222-3333-4444-555555555555'
45474549
format: 'uuid'
45484550
type: 'string'
4551+
is_byok_only:
4552+
description: 'Whether OpenRouter''s shared endpoints on this provider are removed for every model, including models outside `allowed_models` and after all of your keys for the provider fail. The provider is skipped instead of spending OpenRouter credits. Only valid on non-fallback credentials.'
4553+
example: false
4554+
type: 'boolean'
45494555
is_fallback:
4550-
description: 'Whether this credential is treated as a fallback — used only after non-fallback keys for the same provider have been tried.'
4556+
description: 'Whether this credential is treated as a fallback — used only after non-fallback keys for the same provider have been tried. Cannot be combined with `is_byok_only`.'
4557+
example: false
4558+
type: 'boolean'
4559+
is_required:
4560+
description: 'Whether OpenRouter''s shared endpoints on this provider are removed for the models this credential applies to (its `allowed_models`, or every model when `null`). Requests for those models run only on your keys; models outside the allowlist may still fall back to shared capacity on this provider.'
45514561
example: false
45524562
type: 'boolean'
45534563
label:
@@ -4580,6 +4590,8 @@ components:
45804590
- 'label'
45814591
- 'disabled'
45824592
- 'is_fallback'
4593+
- 'is_required'
4594+
- 'is_byok_only'
45834595
- 'allowed_models'
45844596
- 'allowed_api_key_hashes'
45854597
- 'allowed_user_ids'
@@ -7272,8 +7284,16 @@ components:
72727284
description: 'Whether this credential should be created in a disabled state.'
72737285
example: false
72747286
type: 'boolean'
7287+
is_byok_only:
7288+
description: 'Whether OpenRouter''s shared endpoints on this provider are removed for every model, including models outside `allowed_models` and after all of your keys for the provider fail. The provider is skipped instead of spending OpenRouter credits. Only valid on non-fallback credentials. Defaults to `false`.'
7289+
example: false
7290+
type: 'boolean'
72757291
is_fallback:
7276-
description: 'Whether this credential is treated as a fallback — used only after non-fallback keys for the same provider have been tried.'
7292+
description: 'Whether this credential is treated as a fallback — used only after non-fallback keys for the same provider have been tried. Cannot be combined with `is_byok_only`.'
7293+
example: false
7294+
type: 'boolean'
7295+
is_required:
7296+
description: 'Whether OpenRouter''s shared endpoints on this provider are removed for the models this credential applies to (its `allowed_models`, or every model when `null`). Requests for those models run only on your keys; models outside the allowlist may still fall back to shared capacity on this provider. Defaults to `false`.'
72777297
example: false
72787298
type: 'boolean'
72797299
key:
@@ -7308,7 +7328,9 @@ components:
73087328
created_at: '2025-08-24T10:30:00Z'
73097329
disabled: false
73107330
id: '11111111-2222-3333-4444-555555555555'
7331+
is_byok_only: false
73117332
is_fallback: false
7333+
is_required: false
73127334
label: 'sk-...AbCd'
73137335
name: 'Production OpenAI Key'
73147336
provider: 'openai'
@@ -10017,7 +10039,9 @@ components:
1001710039
created_at: '2025-08-24T10:30:00Z'
1001810040
disabled: false
1001910041
id: '11111111-2222-3333-4444-555555555555'
10042+
is_byok_only: false
1002010043
is_fallback: false
10044+
is_required: false
1002110045
label: 'sk-...AbCd'
1002210046
name: 'Production OpenAI Key'
1002310047
provider: 'openai'
@@ -12008,7 +12032,9 @@ components:
1200812032
created_at: '2025-08-24T10:30:00Z'
1200912033
disabled: false
1201012034
id: '11111111-2222-3333-4444-555555555555'
12035+
is_byok_only: false
1201112036
is_fallback: false
12037+
is_required: false
1201212038
label: 'sk-...AbCd'
1201312039
name: 'Production OpenAI Key'
1201412040
provider: 'openai'
@@ -26297,8 +26323,16 @@ components:
2629726323
description: 'Whether this credential is disabled.'
2629826324
example: false
2629926325
type: 'boolean'
26326+
is_byok_only:
26327+
description: 'Whether OpenRouter''s shared endpoints on this provider are removed for every model, including models outside `allowed_models` and after all of your keys for the provider fail. The provider is skipped instead of spending OpenRouter credits. Only valid on non-fallback credentials. Omit to leave the stored value unchanged.'
26328+
example: false
26329+
type: 'boolean'
2630026330
is_fallback:
26301-
description: 'Whether this credential is treated as a fallback — used only after non-fallback keys for the same provider have been tried.'
26331+
description: 'Whether this credential is treated as a fallback — used only after non-fallback keys for the same provider have been tried. Cannot be combined with `is_byok_only`. Omit to leave the stored value unchanged.'
26332+
example: false
26333+
type: 'boolean'
26334+
is_required:
26335+
description: 'Whether OpenRouter''s shared endpoints on this provider are removed for the models this credential applies to (its `allowed_models`, or every model when `null`). Requests for those models run only on your keys; models outside the allowlist may still fall back to shared capacity on this provider. Omit to leave the stored value unchanged.'
2630226336
example: false
2630326337
type: 'boolean'
2630426338
key:
@@ -26323,7 +26357,9 @@ components:
2632326357
created_at: '2025-08-24T10:30:00Z'
2632426358
disabled: false
2632526359
id: '11111111-2222-3333-4444-555555555555'
26360+
is_byok_only: false
2632626361
is_fallback: false
26362+
is_required: false
2632726363
label: 'sk-...AbCd'
2632826364
name: 'Updated OpenAI Key'
2632926365
provider: 'openai'
@@ -29515,7 +29551,9 @@ paths:
2951529551
created_at: '2025-08-24T10:30:00Z'
2951629552
disabled: false
2951729553
id: '11111111-2222-3333-4444-555555555555'
29554+
is_byok_only: false
2951829555
is_fallback: false
29556+
is_required: false
2951929557
label: 'sk-...AbCd'
2952029558
name: 'Production OpenAI Key'
2952129559
provider: 'openai'
@@ -29595,7 +29633,9 @@ paths:
2959529633
created_at: '2025-08-24T10:30:00Z'
2959629634
disabled: false
2959729635
id: '11111111-2222-3333-4444-555555555555'
29636+
is_byok_only: false
2959829637
is_fallback: false
29638+
is_required: false
2959929639
label: 'sk-...AbCd'
2960029640
name: 'Production OpenAI Key'
2960129641
provider: 'openai'
@@ -29730,7 +29770,9 @@ paths:
2973029770
created_at: '2025-08-24T10:30:00Z'
2973129771
disabled: false
2973229772
id: '11111111-2222-3333-4444-555555555555'
29773+
is_byok_only: false
2973329774
is_fallback: false
29775+
is_required: false
2973429776
label: 'sk-...AbCd'
2973529777
name: 'Production OpenAI Key'
2973629778
provider: 'openai'
@@ -29807,7 +29849,9 @@ paths:
2980729849
created_at: '2025-08-24T10:30:00Z'
2980829850
disabled: false
2980929851
id: '11111111-2222-3333-4444-555555555555'
29852+
is_byok_only: false
2981029853
is_fallback: false
29854+
is_required: false
2981129855
label: 'sk-...AbCd'
2981229856
name: 'Updated OpenAI Key'
2981329857
provider: 'openai'

0 commit comments

Comments
 (0)