Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 16 additions & 7 deletions .speakeasy/in.openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2936,13 +2936,15 @@ components:
id: 'auto-beta-router'
properties:
allowed_models:
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.'
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.'
example:
- 'anthropic/*'
- 'openai/gpt-4o'
- 'google/*'
items:
maxLength: 1024
type: 'string'
maxItems: 1024
type: 'array'
cost_quality_tradeoff:
deprecated: true
Expand All @@ -2965,12 +2967,14 @@ components:
description: 'Set to false to disable the auto-beta-router plugin for this request. Defaults to true.'
type: 'boolean'
excluded_models:
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.'
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.'
example:
- 'openai/gpt-4o'
- 'meta-llama/*'
items:
maxLength: 1024
type: 'string'
maxItems: 1024
type: 'array'
id:
enum:
Expand All @@ -2992,13 +2996,15 @@ components:
pin_model: false
properties:
allowed_models:
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.'
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.'
example:
- 'anthropic/*'
- 'openai/gpt-4o'
- 'google/*'
items:
maxLength: 1024
type: 'string'
maxItems: 1024
type: 'array'
cost_quality_tradeoff:
deprecated: true
Expand All @@ -3021,12 +3027,14 @@ components:
description: 'Set to false to disable the auto-router plugin for this request. Defaults to true.'
type: 'boolean'
excluded_models:
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.'
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.'
example:
- 'openai/gpt-4o'
- 'meta-llama/*'
items:
maxLength: 1024
type: 'string'
maxItems: 1024
type: 'array'
id:
enum:
Expand Down Expand Up @@ -33791,14 +33799,15 @@ paths:
- 'true'
example: 'true'
type: 'string'
- description: 'Filter to models with endpoints in the given data region. Currently only "eu" is supported.'
- description: 'Filter to models with endpoints in the given data region ("eu" or "us").'
in: 'query'
name: 'region'
required: false
schema:
description: 'Filter to models with endpoints in the given data region. Currently only "eu" is supported.'
description: 'Filter to models with endpoints in the given data region ("eu" or "us").'
enum:
- 'eu'
- 'us'
example: 'eu'
type: 'string'
- description: 'Minimum completion (output) price in $/M tokens.'
Expand Down Expand Up @@ -34215,7 +34224,7 @@ paths:
x-speakeasy-name-override: 'count'
/models/user:
get:
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).'
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.'
operationId: 'listModelsUser'
parameters:
- description: 'Number of records to skip for pagination. When both offset and limit are omitted, the full list is returned'
Expand Down
Loading