From 9c18139d3042711bb984b1eeddbd1b4528193c98 Mon Sep 17 00:00:00 2001 From: OpenRouter SDK Bot Date: Wed, 9 Sep 2026 17:49:54 +0000 Subject: [PATCH] chore: update OpenAPI spec [sdk-bot] --- .speakeasy/in.openapi.yaml | 50 +++++++++++++++++++++++++++++++++++--- 1 file changed, 47 insertions(+), 3 deletions(-) diff --git a/.speakeasy/in.openapi.yaml b/.speakeasy/in.openapi.yaml index 59ea46bb..408785d6 100644 --- a/.speakeasy/in.openapi.yaml +++ b/.speakeasy/in.openapi.yaml @@ -4498,7 +4498,9 @@ components: created_at: '2025-08-24T10:30:00Z' disabled: false id: '11111111-2222-3333-4444-555555555555' + is_byok_only: false is_fallback: false + is_required: false label: 'sk-...AbCd' name: 'Production OpenAI Key' provider: 'openai' @@ -4546,8 +4548,16 @@ components: example: '11111111-2222-3333-4444-555555555555' format: 'uuid' type: 'string' + is_byok_only: + 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.' + example: false + type: 'boolean' is_fallback: - description: 'Whether this credential is treated as a fallback — used only after non-fallback keys for the same provider have been tried.' + 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`.' + example: false + type: 'boolean' + is_required: + 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.' example: false type: 'boolean' label: @@ -4580,6 +4590,8 @@ components: - 'label' - 'disabled' - 'is_fallback' + - 'is_required' + - 'is_byok_only' - 'allowed_models' - 'allowed_api_key_hashes' - 'allowed_user_ids' @@ -7272,8 +7284,16 @@ components: description: 'Whether this credential should be created in a disabled state.' example: false type: 'boolean' + is_byok_only: + 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`.' + example: false + type: 'boolean' is_fallback: - description: 'Whether this credential is treated as a fallback — used only after non-fallback keys for the same provider have been tried.' + 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`.' + example: false + type: 'boolean' + is_required: + 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`.' example: false type: 'boolean' key: @@ -7308,7 +7328,9 @@ components: created_at: '2025-08-24T10:30:00Z' disabled: false id: '11111111-2222-3333-4444-555555555555' + is_byok_only: false is_fallback: false + is_required: false label: 'sk-...AbCd' name: 'Production OpenAI Key' provider: 'openai' @@ -10017,7 +10039,9 @@ components: created_at: '2025-08-24T10:30:00Z' disabled: false id: '11111111-2222-3333-4444-555555555555' + is_byok_only: false is_fallback: false + is_required: false label: 'sk-...AbCd' name: 'Production OpenAI Key' provider: 'openai' @@ -12008,7 +12032,9 @@ components: created_at: '2025-08-24T10:30:00Z' disabled: false id: '11111111-2222-3333-4444-555555555555' + is_byok_only: false is_fallback: false + is_required: false label: 'sk-...AbCd' name: 'Production OpenAI Key' provider: 'openai' @@ -26297,8 +26323,16 @@ components: description: 'Whether this credential is disabled.' example: false type: 'boolean' + is_byok_only: + 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.' + example: false + type: 'boolean' is_fallback: - description: 'Whether this credential is treated as a fallback — used only after non-fallback keys for the same provider have been tried.' + 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.' + example: false + type: 'boolean' + is_required: + 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.' example: false type: 'boolean' key: @@ -26323,7 +26357,9 @@ components: created_at: '2025-08-24T10:30:00Z' disabled: false id: '11111111-2222-3333-4444-555555555555' + is_byok_only: false is_fallback: false + is_required: false label: 'sk-...AbCd' name: 'Updated OpenAI Key' provider: 'openai' @@ -29515,7 +29551,9 @@ paths: created_at: '2025-08-24T10:30:00Z' disabled: false id: '11111111-2222-3333-4444-555555555555' + is_byok_only: false is_fallback: false + is_required: false label: 'sk-...AbCd' name: 'Production OpenAI Key' provider: 'openai' @@ -29595,7 +29633,9 @@ paths: created_at: '2025-08-24T10:30:00Z' disabled: false id: '11111111-2222-3333-4444-555555555555' + is_byok_only: false is_fallback: false + is_required: false label: 'sk-...AbCd' name: 'Production OpenAI Key' provider: 'openai' @@ -29730,7 +29770,9 @@ paths: created_at: '2025-08-24T10:30:00Z' disabled: false id: '11111111-2222-3333-4444-555555555555' + is_byok_only: false is_fallback: false + is_required: false label: 'sk-...AbCd' name: 'Production OpenAI Key' provider: 'openai' @@ -29807,7 +29849,9 @@ paths: created_at: '2025-08-24T10:30:00Z' disabled: false id: '11111111-2222-3333-4444-555555555555' + is_byok_only: false is_fallback: false + is_required: false label: 'sk-...AbCd' name: 'Updated OpenAI Key' provider: 'openai'