Skip to content

Commit 511c54e

Browse files
author
OpenRouter SDK Bot
committed
chore: update OpenAPI spec [sdk-bot]
1 parent e79cb8c commit 511c54e

1 file changed

Lines changed: 16 additions & 7 deletions

File tree

‎.speakeasy/in.openapi.yaml‎

Lines changed: 16 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2936,13 +2936,15 @@ components:
29362936
id: 'auto-beta-router'
29372937
properties:
29382938
allowed_models:
2939-
description: 'List of model patterns to filter which models the auto-beta-router can route between. Supports wildcards (e.g., "anthropic/*" matches all Anthropic models). When not specified, every model ranked for the classified task type is a candidate, falling back to a default model set when rankings are unavailable.'
2939+
description: 'List of model patterns to filter which models the auto-beta-router can route between. Supports wildcards (e.g., "anthropic/*" matches all Anthropic models). Up to 1024 patterns, each at most 1024 characters, with 65536 total characters across all patterns. When not specified, every model ranked for the classified task type is a candidate, falling back to a default model set when rankings are unavailable.'
29402940
example:
29412941
- 'anthropic/*'
29422942
- 'openai/gpt-4o'
29432943
- 'google/*'
29442944
items:
2945+
maxLength: 1024
29452946
type: 'string'
2947+
maxItems: 1024
29462948
type: 'array'
29472949
cost_quality_tradeoff:
29482950
deprecated: true
@@ -2965,12 +2967,14 @@ components:
29652967
description: 'Set to false to disable the auto-beta-router plugin for this request. Defaults to true.'
29662968
type: 'boolean'
29672969
excluded_models:
2968-
description: 'List of model patterns to exclude from auto-beta-router selection. Supports wildcards (e.g., "meta-llama/*" excludes all Llama models). Applied after allowed_models, so an excluded pattern always wins over an allowed one.'
2970+
description: 'List of model patterns to exclude from auto-beta-router selection. Supports wildcards (e.g., "meta-llama/*" excludes all Llama models). Up to 1024 patterns, each at most 1024 characters, with 65536 total characters across all patterns. Applied after allowed_models, so an excluded pattern always wins over an allowed one.'
29692971
example:
29702972
- 'openai/gpt-4o'
29712973
- 'meta-llama/*'
29722974
items:
2975+
maxLength: 1024
29732976
type: 'string'
2977+
maxItems: 1024
29742978
type: 'array'
29752979
id:
29762980
enum:
@@ -2992,13 +2996,15 @@ components:
29922996
pin_model: false
29932997
properties:
29942998
allowed_models:
2995-
description: 'List of model patterns to filter which models the auto-router can route between. Supports wildcards (e.g., "anthropic/*" matches all Anthropic models). When not specified, every model ranked for the classified task type is a candidate, falling back to a default model set when rankings are unavailable.'
2999+
description: 'List of model patterns to filter which models the auto-router can route between. Supports wildcards (e.g., "anthropic/*" matches all Anthropic models). Up to 1024 patterns, each at most 1024 characters, with 65536 total characters across all patterns. When not specified, every model ranked for the classified task type is a candidate, falling back to a default model set when rankings are unavailable.'
29963000
example:
29973001
- 'anthropic/*'
29983002
- 'openai/gpt-4o'
29993003
- 'google/*'
30003004
items:
3005+
maxLength: 1024
30013006
type: 'string'
3007+
maxItems: 1024
30023008
type: 'array'
30033009
cost_quality_tradeoff:
30043010
deprecated: true
@@ -3021,12 +3027,14 @@ components:
30213027
description: 'Set to false to disable the auto-router plugin for this request. Defaults to true.'
30223028
type: 'boolean'
30233029
excluded_models:
3024-
description: 'List of model patterns to exclude from auto-router selection. Supports wildcards (e.g., "meta-llama/*" excludes all Llama models). Applied after allowed_models, so an excluded pattern always wins over an allowed one.'
3030+
description: 'List of model patterns to exclude from auto-router selection. Supports wildcards (e.g., "meta-llama/*" excludes all Llama models). Up to 1024 patterns, each at most 1024 characters, with 65536 total characters across all patterns. Applied after allowed_models, so an excluded pattern always wins over an allowed one.'
30253031
example:
30263032
- 'openai/gpt-4o'
30273033
- 'meta-llama/*'
30283034
items:
3035+
maxLength: 1024
30293036
type: 'string'
3037+
maxItems: 1024
30303038
type: 'array'
30313039
id:
30323040
enum:
@@ -33791,14 +33799,15 @@ paths:
3379133799
- 'true'
3379233800
example: 'true'
3379333801
type: 'string'
33794-
- description: 'Filter to models with endpoints in the given data region. Currently only "eu" is supported.'
33802+
- description: 'Filter to models with endpoints in the given data region ("eu" or "us").'
3379533803
in: 'query'
3379633804
name: 'region'
3379733805
required: false
3379833806
schema:
33799-
description: 'Filter to models with endpoints in the given data region. Currently only "eu" is supported.'
33807+
description: 'Filter to models with endpoints in the given data region ("eu" or "us").'
3380033808
enum:
3380133809
- 'eu'
33810+
- 'us'
3380233811
example: 'eu'
3380333812
type: 'string'
3380433813
- description: 'Minimum completion (output) price in $/M tokens.'
@@ -34215,7 +34224,7 @@ paths:
3421534224
x-speakeasy-name-override: 'count'
3421634225
/models/user:
3421734226
get:
34218-
description: 'List models filtered by user provider preferences, [privacy settings](https://openrouter.ai/docs/guides/privacy/provider-logging), and [guardrails](https://openrouter.ai/docs/guides/features/guardrails). If requesting through `eu.openrouter.ai/api/v1/...` the results will be filtered to models that satisfy [EU in-region routing](https://openrouter.ai/docs/guides/privacy/provider-logging#enterprise-eu-in-region-routing).'
34227+
description: 'List models filtered by user provider preferences, [privacy settings](https://openrouter.ai/docs/guides/privacy/provider-logging), and [guardrails](https://openrouter.ai/docs/guides/features/guardrails). If requesting through a regional hostname, the results will be filtered to models that satisfy in-region routing for that region.'
3421934228
operationId: 'listModelsUser'
3422034229
parameters:
3422134230
- description: 'Number of records to skip for pagination. When both offset and limit are omitted, the full list is returned'

0 commit comments

Comments
 (0)