You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .speakeasy/in.openapi.yaml
+16-7Lines changed: 16 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -2936,13 +2936,15 @@ components:
2936
2936
id: 'auto-beta-router'
2937
2937
properties:
2938
2938
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.'
2940
2940
example:
2941
2941
- 'anthropic/*'
2942
2942
- 'openai/gpt-4o'
2943
2943
- 'google/*'
2944
2944
items:
2945
+
maxLength: 1024
2945
2946
type: 'string'
2947
+
maxItems: 1024
2946
2948
type: 'array'
2947
2949
cost_quality_tradeoff:
2948
2950
deprecated: true
@@ -2965,12 +2967,14 @@ components:
2965
2967
description: 'Set to false to disable the auto-beta-router plugin for this request. Defaults to true.'
2966
2968
type: 'boolean'
2967
2969
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.'
2969
2971
example:
2970
2972
- 'openai/gpt-4o'
2971
2973
- 'meta-llama/*'
2972
2974
items:
2975
+
maxLength: 1024
2973
2976
type: 'string'
2977
+
maxItems: 1024
2974
2978
type: 'array'
2975
2979
id:
2976
2980
enum:
@@ -2992,13 +2996,15 @@ components:
2992
2996
pin_model: false
2993
2997
properties:
2994
2998
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.'
2996
3000
example:
2997
3001
- 'anthropic/*'
2998
3002
- 'openai/gpt-4o'
2999
3003
- 'google/*'
3000
3004
items:
3005
+
maxLength: 1024
3001
3006
type: 'string'
3007
+
maxItems: 1024
3002
3008
type: 'array'
3003
3009
cost_quality_tradeoff:
3004
3010
deprecated: true
@@ -3021,12 +3027,14 @@ components:
3021
3027
description: 'Set to false to disable the auto-router plugin for this request. Defaults to true.'
3022
3028
type: 'boolean'
3023
3029
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.'
3025
3031
example:
3026
3032
- 'openai/gpt-4o'
3027
3033
- 'meta-llama/*'
3028
3034
items:
3035
+
maxLength: 1024
3029
3036
type: 'string'
3037
+
maxItems: 1024
3030
3038
type: 'array'
3031
3039
id:
3032
3040
enum:
@@ -33791,14 +33799,15 @@ paths:
33791
33799
- 'true'
33792
33800
example: 'true'
33793
33801
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").'
33795
33803
in: 'query'
33796
33804
name: 'region'
33797
33805
required: false
33798
33806
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").'
33800
33808
enum:
33801
33809
- 'eu'
33810
+
- 'us'
33802
33811
example: 'eu'
33803
33812
type: 'string'
33804
33813
- description: 'Minimum completion (output) price in $/M tokens.'
@@ -34215,7 +34224,7 @@ paths:
34215
34224
x-speakeasy-name-override: 'count'
34216
34225
/models/user:
34217
34226
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.'
34219
34228
operationId: 'listModelsUser'
34220
34229
parameters:
34221
34230
- description: 'Number of records to skip for pagination. When both offset and limit are omitted, the full list is returned'
0 commit comments