From f0d0d37dd0cf13c7179aeebe4f55bf530d5f71fd Mon Sep 17 00:00:00 2001 From: OpenRouter SDK Bot Date: Tue, 24 Nov 2026 00:26:08 +0000 Subject: [PATCH] chore: update OpenAPI spec [sdk-bot] --- .speakeasy/in.openapi.yaml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/.speakeasy/in.openapi.yaml b/.speakeasy/in.openapi.yaml index cbf1a892..15399d76 100644 --- a/.speakeasy/in.openapi.yaml +++ b/.speakeasy/in.openapi.yaml @@ -7446,6 +7446,7 @@ components: disabled: false id: '11111111-2222-3333-4444-555555555555' is_byok_only: false + is_exclusive: false is_fallback: false is_required: false label: 'sk-...AbCd' @@ -7516,6 +7517,10 @@ components: 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_exclusive: + description: 'Whether requests for the models this credential covers run only on exclusive credentials covering that model: never on another provider, a non-exclusive key, or OpenRouter''s shared capacity. Every exclusive credential that covers the model and is eligible for the request may serve it, so two exclusive credentials with overlapping models share those models. Only credentials eligible for the request (its API key and member restrictions) count, so a request no exclusive credential is eligible for uses normal routing. A request for a model that an eligible exclusive credential covers returns a 404 when none of those credentials can serve it. The covered models are `allowed_models` when non-empty; with no or an empty `allowed_models`, an OpenAI, Anthropic, or Google credential covers every closed-weight model by that lab (for example every `openai/*` model except open-weight models such as `openai/gpt-oss-120b`, which stay on normal routing unless listed), and other providers must set a non-empty `allowed_models`. 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. Cannot be combined with `is_byok_only`.' example: false @@ -7556,6 +7561,7 @@ components: - 'is_fallback' - 'is_required' - 'is_byok_only' + - 'is_exclusive' - 'declared_zdr' - 'declared_region' - 'allowed_models' @@ -10605,6 +10611,10 @@ components: 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_exclusive: + description: 'Whether requests for the models this credential covers run only on exclusive credentials covering that model: never on another provider, a non-exclusive key, or OpenRouter''s shared capacity. Every exclusive credential that covers the model and is eligible for the request may serve it, so two exclusive credentials with overlapping models share those models. Only credentials eligible for the request (its API key and member restrictions) count, so a request no exclusive credential is eligible for uses normal routing. A request for a model that an eligible exclusive credential covers returns a 404 when none of those credentials can serve it. The covered models are `allowed_models` when non-empty; with no or an empty `allowed_models`, an OpenAI, Anthropic, or Google credential covers every closed-weight model by that lab (for example every `openai/*` model except open-weight models such as `openai/gpt-oss-120b`, which stay on normal routing unless listed), and other providers must set a non-empty `allowed_models`. 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. Cannot be combined with `is_byok_only`.' example: false @@ -10648,6 +10658,7 @@ components: disabled: false id: '11111111-2222-3333-4444-555555555555' is_byok_only: false + is_exclusive: false is_fallback: false is_required: false label: 'sk-...AbCd' @@ -15632,6 +15643,7 @@ components: disabled: false id: '11111111-2222-3333-4444-555555555555' is_byok_only: false + is_exclusive: false is_fallback: false is_required: false label: 'sk-...AbCd' @@ -18542,6 +18554,7 @@ components: disabled: false id: '11111111-2222-3333-4444-555555555555' is_byok_only: false + is_exclusive: false is_fallback: false is_required: false label: 'sk-...AbCd' @@ -37443,6 +37456,10 @@ components: 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_exclusive: + description: 'Whether requests for the models this credential covers run only on exclusive credentials covering that model: never on another provider, a non-exclusive key, or OpenRouter''s shared capacity. Every exclusive credential that covers the model and is eligible for the request may serve it, so two exclusive credentials with overlapping models share those models. Only credentials eligible for the request (its API key and member restrictions) count, so a request no exclusive credential is eligible for uses normal routing. A request for a model that an eligible exclusive credential covers returns a 404 when none of those credentials can serve it. The covered models are `allowed_models` when non-empty; with no or an empty `allowed_models`, an OpenAI, Anthropic, or Google credential covers every closed-weight model by that lab (for example every `openai/*` model except open-weight models such as `openai/gpt-oss-120b`, which stay on normal routing unless listed), and other providers must set a non-empty `allowed_models`. 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. Cannot be combined with `is_byok_only`. Omit to leave the stored value unchanged.' example: false @@ -37476,6 +37493,7 @@ components: disabled: false id: '11111111-2222-3333-4444-555555555555' is_byok_only: false + is_exclusive: false is_fallback: false is_required: false label: 'sk-...AbCd' @@ -42990,6 +43008,7 @@ paths: disabled: false id: '11111111-2222-3333-4444-555555555555' is_byok_only: false + is_exclusive: false is_fallback: false is_required: false label: 'sk-...AbCd' @@ -43084,6 +43103,7 @@ paths: disabled: false id: '11111111-2222-3333-4444-555555555555' is_byok_only: false + is_exclusive: false is_fallback: false is_required: false label: 'sk-...AbCd' @@ -43233,6 +43253,7 @@ paths: disabled: false id: '11111111-2222-3333-4444-555555555555' is_byok_only: false + is_exclusive: false is_fallback: false is_required: false label: 'sk-...AbCd' @@ -43324,6 +43345,7 @@ paths: disabled: false id: '11111111-2222-3333-4444-555555555555' is_byok_only: false + is_exclusive: false is_fallback: false is_required: false label: 'sk-...AbCd'