mirror of
https://github.com/wassname/openrouter-python-sdk-retry-errors.git
synced 2026-09-09 11:27:54 +08:00
chore: 🐝 Update SDK - Generate (spec change merged) 0.11.24 (#436)
Co-authored-by: speakeasybot <bot@speakeasyapi.dev> Co-authored-by: speakeasy-github[bot] <128539517+speakeasy-github[bot]@users.noreply.github.com>
This commit is contained in:
co-authored by
speakeasybot
speakeasy-github[bot]
parent
cb1b9c5ac6
commit
7010ca5c2e
+380
-122
@@ -223,7 +223,7 @@ components:
|
||||
- $ref: '#/components/schemas/FilesServerTool'
|
||||
- $ref: '#/components/schemas/FusionServerTool_OpenRouter'
|
||||
- $ref: '#/components/schemas/ImageGenerationServerTool_OpenRouter'
|
||||
- $ref: '#/components/schemas/ChatSearchModelsServerTool'
|
||||
- $ref: '#/components/schemas/SearchModelsServerTool_OpenRouter'
|
||||
- $ref: '#/components/schemas/WebFetchServerTool'
|
||||
- $ref: '#/components/schemas/WebSearchServerTool_OpenRouter'
|
||||
- $ref: '#/components/schemas/ApplyPatchServerTool_OpenRouter'
|
||||
@@ -972,6 +972,42 @@ components:
|
||||
- start_block_index
|
||||
- end_block_index
|
||||
type: object
|
||||
AnthropicCitationSearchResultLocationParam:
|
||||
example:
|
||||
cited_text: Example cited text
|
||||
end_block_index: 1
|
||||
search_result_index: 0
|
||||
source: example_source
|
||||
start_block_index: 0
|
||||
title: Example Result
|
||||
type: search_result_location
|
||||
properties:
|
||||
cited_text:
|
||||
type: string
|
||||
end_block_index:
|
||||
type: integer
|
||||
search_result_index:
|
||||
type: integer
|
||||
source:
|
||||
type: string
|
||||
start_block_index:
|
||||
type: integer
|
||||
title:
|
||||
nullable: true
|
||||
type: string
|
||||
type:
|
||||
enum:
|
||||
- search_result_location
|
||||
type: string
|
||||
required:
|
||||
- type
|
||||
- cited_text
|
||||
- search_result_index
|
||||
- source
|
||||
- title
|
||||
- start_block_index
|
||||
- end_block_index
|
||||
type: object
|
||||
AnthropicCitationWebSearchResultLocation:
|
||||
example:
|
||||
cited_text: Example cited text
|
||||
@@ -1000,6 +1036,34 @@ components:
|
||||
- title
|
||||
- url
|
||||
type: object
|
||||
AnthropicCitationWebSearchResultLocationParam:
|
||||
example:
|
||||
cited_text: Example cited text
|
||||
encrypted_index: enc_idx_0
|
||||
title: Example Page
|
||||
type: web_search_result_location
|
||||
url: https://example.com
|
||||
properties:
|
||||
cited_text:
|
||||
type: string
|
||||
encrypted_index:
|
||||
type: string
|
||||
title:
|
||||
nullable: true
|
||||
type: string
|
||||
type:
|
||||
enum:
|
||||
- web_search_result_location
|
||||
type: string
|
||||
url:
|
||||
type: string
|
||||
required:
|
||||
- type
|
||||
- cited_text
|
||||
- encrypted_index
|
||||
- title
|
||||
- url
|
||||
type: object
|
||||
AnthropicCodeExecution20250825Caller:
|
||||
example:
|
||||
tool_id: toolu_01abc
|
||||
@@ -1619,15 +1683,15 @@ components:
|
||||
char_location: '#/components/schemas/AnthropicCitationCharLocationParam'
|
||||
content_block_location: '#/components/schemas/AnthropicCitationContentBlockLocationParam'
|
||||
page_location: '#/components/schemas/AnthropicCitationPageLocationParam'
|
||||
search_result_location: '#/components/schemas/AnthropicCitationSearchResultLocation'
|
||||
web_search_result_location: '#/components/schemas/AnthropicCitationWebSearchResultLocation'
|
||||
search_result_location: '#/components/schemas/AnthropicCitationSearchResultLocationParam'
|
||||
web_search_result_location: '#/components/schemas/AnthropicCitationWebSearchResultLocationParam'
|
||||
propertyName: type
|
||||
oneOf:
|
||||
- $ref: '#/components/schemas/AnthropicCitationCharLocationParam'
|
||||
- $ref: '#/components/schemas/AnthropicCitationPageLocationParam'
|
||||
- $ref: '#/components/schemas/AnthropicCitationContentBlockLocationParam'
|
||||
- $ref: '#/components/schemas/AnthropicCitationWebSearchResultLocation'
|
||||
- $ref: '#/components/schemas/AnthropicCitationSearchResultLocation'
|
||||
- $ref: '#/components/schemas/AnthropicCitationWebSearchResultLocationParam'
|
||||
- $ref: '#/components/schemas/AnthropicCitationSearchResultLocationParam'
|
||||
nullable: true
|
||||
type: array
|
||||
text:
|
||||
@@ -4594,6 +4658,18 @@ components:
|
||||
- type
|
||||
- grammar
|
||||
type: object
|
||||
ChatFormatJsonObjectConfig:
|
||||
description: JSON object response format
|
||||
example:
|
||||
type: json_object
|
||||
properties:
|
||||
type:
|
||||
enum:
|
||||
- json_object
|
||||
type: string
|
||||
required:
|
||||
- type
|
||||
type: object
|
||||
ChatFormatJsonSchemaConfig:
|
||||
description: JSON Schema response format for structured outputs
|
||||
example:
|
||||
@@ -5025,7 +5101,7 @@ components:
|
||||
discriminator:
|
||||
mapping:
|
||||
grammar: '#/components/schemas/ChatFormatGrammarConfig'
|
||||
json_object: '#/components/schemas/FormatJsonObjectConfig'
|
||||
json_object: '#/components/schemas/ChatFormatJsonObjectConfig'
|
||||
json_schema: '#/components/schemas/ChatFormatJsonSchemaConfig'
|
||||
python: '#/components/schemas/ChatFormatPythonConfig'
|
||||
text: '#/components/schemas/ChatFormatTextConfig'
|
||||
@@ -5034,7 +5110,7 @@ components:
|
||||
type: json_object
|
||||
oneOf:
|
||||
- $ref: '#/components/schemas/ChatFormatTextConfig'
|
||||
- $ref: '#/components/schemas/FormatJsonObjectConfig'
|
||||
- $ref: '#/components/schemas/ChatFormatJsonObjectConfig'
|
||||
- $ref: '#/components/schemas/ChatFormatJsonSchemaConfig'
|
||||
- $ref: '#/components/schemas/ChatFormatGrammarConfig'
|
||||
- $ref: '#/components/schemas/ChatFormatPythonConfig'
|
||||
@@ -6758,7 +6834,7 @@ components:
|
||||
example: true
|
||||
type: boolean
|
||||
filter_rules:
|
||||
$ref: '#/components/schemas/ObservabilityFilterRulesConfig'
|
||||
$ref: '#/components/schemas/ObservabilityFilterRulesConfigNullable'
|
||||
name:
|
||||
description: Human-readable name for the destination.
|
||||
example: Production Langfuse
|
||||
@@ -9984,6 +10060,16 @@ components:
|
||||
- text
|
||||
- phase
|
||||
type: object
|
||||
ImageInputModality:
|
||||
enum:
|
||||
- text
|
||||
- image
|
||||
- file
|
||||
- audio
|
||||
- video
|
||||
example: text
|
||||
type: string
|
||||
x-speakeasy-unknown-values: allow
|
||||
ImageModelArchitecture:
|
||||
example:
|
||||
input_modalities:
|
||||
@@ -9995,7 +10081,7 @@ components:
|
||||
input_modalities:
|
||||
description: Supported input modalities
|
||||
items:
|
||||
$ref: '#/components/schemas/InputModality'
|
||||
$ref: '#/components/schemas/ImageInputModality'
|
||||
type: array
|
||||
output_modalities:
|
||||
description: Supported output modalities
|
||||
@@ -10717,11 +10803,22 @@ components:
|
||||
- input_video
|
||||
type: string
|
||||
video_url:
|
||||
$ref: '#/components/schemas/ChatContentVideoInput'
|
||||
$ref: '#/components/schemas/Legacy_ChatContentVideoInput'
|
||||
required:
|
||||
- type
|
||||
- video_url
|
||||
type: object
|
||||
Legacy_ChatContentVideoInput:
|
||||
description: Video input object
|
||||
example:
|
||||
url: https://example.com/video.mp4
|
||||
properties:
|
||||
url:
|
||||
description: 'URL of the video (data: URLs supported)'
|
||||
type: string
|
||||
required:
|
||||
- url
|
||||
type: object
|
||||
Legacy_WebSearchServerTool:
|
||||
description: Web search tool configuration
|
||||
example:
|
||||
@@ -12510,7 +12607,7 @@ components:
|
||||
- $ref: '#/components/schemas/BashServerTool'
|
||||
- $ref: '#/components/schemas/DatetimeServerTool'
|
||||
- $ref: '#/components/schemas/ImageGenerationServerTool_OpenRouter'
|
||||
- $ref: '#/components/schemas/ChatSearchModelsServerTool'
|
||||
- $ref: '#/components/schemas/MessagesSearchModelsServerTool'
|
||||
- $ref: '#/components/schemas/WebFetchServerTool'
|
||||
- $ref: '#/components/schemas/OpenRouterWebSearchServerTool'
|
||||
- additionalProperties:
|
||||
@@ -12618,6 +12715,22 @@ components:
|
||||
output_tokens: 15
|
||||
server_tool_use: null
|
||||
service_tier: standard
|
||||
MessagesSearchModelsServerTool:
|
||||
description: 'OpenRouter built-in server tool: searches and filters AI models available on OpenRouter'
|
||||
example:
|
||||
parameters:
|
||||
max_results: 5
|
||||
type: openrouter:experimental__search_models
|
||||
properties:
|
||||
parameters:
|
||||
$ref: '#/components/schemas/SearchModelsServerToolConfig'
|
||||
type:
|
||||
enum:
|
||||
- openrouter:experimental__search_models
|
||||
type: string
|
||||
required:
|
||||
- type
|
||||
type: object
|
||||
MessagesStartEvent:
|
||||
description: Event sent at the start of a streaming message
|
||||
example:
|
||||
@@ -13041,35 +13154,7 @@ components:
|
||||
$ref: '#/components/schemas/InputModality'
|
||||
type: array
|
||||
instruct_type:
|
||||
description: Instruction format type
|
||||
enum:
|
||||
- none
|
||||
- airoboros
|
||||
- alpaca
|
||||
- alpaca-modif
|
||||
- chatml
|
||||
- claude
|
||||
- code-llama
|
||||
- gemma
|
||||
- llama2
|
||||
- llama3
|
||||
- mistral
|
||||
- nemotron
|
||||
- neural
|
||||
- openchat
|
||||
- phi3
|
||||
- rwkv
|
||||
- vicuna
|
||||
- zephyr
|
||||
- deepseek-r1
|
||||
- deepseek-v3.1
|
||||
- qwq
|
||||
- qwen3
|
||||
- null
|
||||
example: chatml
|
||||
nullable: true
|
||||
type: string
|
||||
x-speakeasy-unknown-values: allow
|
||||
$ref: '#/components/schemas/InstructType'
|
||||
modality:
|
||||
description: Primary modality of the model
|
||||
example: text->text
|
||||
@@ -13275,7 +13360,7 @@ components:
|
||||
id: openai/gpt-4
|
||||
knowledge_cutoff: null
|
||||
links:
|
||||
details: /api/v1/models/openai/gpt-5.4/endpoints
|
||||
details: /api/v1/models/openai/gpt-4/endpoints
|
||||
name: GPT-4
|
||||
per_request_limits: null
|
||||
pricing:
|
||||
@@ -13294,11 +13379,31 @@ components:
|
||||
context_length: 8192
|
||||
is_moderated: true
|
||||
max_completion_tokens: 4096
|
||||
links:
|
||||
next: /api/v1/models?offset=500&limit=500
|
||||
total_count: 150
|
||||
properties:
|
||||
data:
|
||||
$ref: '#/components/schemas/ModelsListResponseData'
|
||||
links:
|
||||
description: Pagination links
|
||||
properties:
|
||||
next:
|
||||
description: URL for the next page of results, or null if this is the last page
|
||||
example: /api/v1/models?offset=500&limit=500
|
||||
nullable: true
|
||||
type: string
|
||||
required:
|
||||
- next
|
||||
type: object
|
||||
total_count:
|
||||
description: Total number of models matching the query
|
||||
example: 150
|
||||
type: integer
|
||||
required:
|
||||
- data
|
||||
- total_count
|
||||
- links
|
||||
type: object
|
||||
ModelsListResponseData:
|
||||
description: List of available models
|
||||
@@ -13320,7 +13425,7 @@ components:
|
||||
id: openai/gpt-4
|
||||
knowledge_cutoff: null
|
||||
links:
|
||||
details: /api/v1/models/openai/gpt-5.4/endpoints
|
||||
details: /api/v1/models/openai/gpt-4/endpoints
|
||||
name: GPT-4
|
||||
per_request_limits: null
|
||||
pricing:
|
||||
@@ -13886,6 +13991,69 @@ components:
|
||||
- $ref: '#/components/schemas/ObservabilitySnowflakeDestination'
|
||||
- $ref: '#/components/schemas/ObservabilityWeaveDestination'
|
||||
- $ref: '#/components/schemas/ObservabilityWebhookDestination'
|
||||
ObservabilityFilterRuleGroup:
|
||||
example:
|
||||
logic: and
|
||||
rules:
|
||||
- field: model
|
||||
operator: equals
|
||||
value: openai/gpt-4o
|
||||
properties:
|
||||
logic:
|
||||
default: and
|
||||
enum:
|
||||
- and
|
||||
- or
|
||||
type: string
|
||||
x-speakeasy-unknown-values: allow
|
||||
rules:
|
||||
items:
|
||||
properties:
|
||||
field:
|
||||
enum:
|
||||
- model
|
||||
- provider
|
||||
- session_id
|
||||
- user_id
|
||||
- api_key_name
|
||||
- finish_reason
|
||||
- input
|
||||
- output
|
||||
- total_cost
|
||||
- total_tokens
|
||||
- prompt_tokens
|
||||
- completion_tokens
|
||||
type: string
|
||||
x-speakeasy-unknown-values: allow
|
||||
operator:
|
||||
enum:
|
||||
- equals
|
||||
- not_equals
|
||||
- contains
|
||||
- not_contains
|
||||
- regex
|
||||
- starts_with
|
||||
- ends_with
|
||||
- gt
|
||||
- lt
|
||||
- gte
|
||||
- lte
|
||||
- exists
|
||||
- not_exists
|
||||
type: string
|
||||
x-speakeasy-unknown-values: allow
|
||||
value:
|
||||
anyOf:
|
||||
- type: string
|
||||
- type: number
|
||||
required:
|
||||
- field
|
||||
- operator
|
||||
type: object
|
||||
type: array
|
||||
required:
|
||||
- rules
|
||||
type: object
|
||||
ObservabilityFilterRulesConfig:
|
||||
description: Optional structured filter rules controlling which events are forwarded.
|
||||
example: null
|
||||
@@ -13896,62 +14064,22 @@ components:
|
||||
type: boolean
|
||||
groups:
|
||||
items:
|
||||
properties:
|
||||
logic:
|
||||
default: and
|
||||
enum:
|
||||
- and
|
||||
- or
|
||||
type: string
|
||||
x-speakeasy-unknown-values: allow
|
||||
rules:
|
||||
items:
|
||||
properties:
|
||||
field:
|
||||
enum:
|
||||
- model
|
||||
- provider
|
||||
- session_id
|
||||
- user_id
|
||||
- api_key_name
|
||||
- finish_reason
|
||||
- input
|
||||
- output
|
||||
- total_cost
|
||||
- total_tokens
|
||||
- prompt_tokens
|
||||
- completion_tokens
|
||||
type: string
|
||||
x-speakeasy-unknown-values: allow
|
||||
operator:
|
||||
enum:
|
||||
- equals
|
||||
- not_equals
|
||||
- contains
|
||||
- not_contains
|
||||
- regex
|
||||
- starts_with
|
||||
- ends_with
|
||||
- gt
|
||||
- lt
|
||||
- gte
|
||||
- lte
|
||||
- exists
|
||||
- not_exists
|
||||
type: string
|
||||
x-speakeasy-unknown-values: allow
|
||||
value:
|
||||
anyOf:
|
||||
- type: string
|
||||
- type: number
|
||||
required:
|
||||
- field
|
||||
- operator
|
||||
type: object
|
||||
type: array
|
||||
required:
|
||||
- rules
|
||||
type: object
|
||||
$ref: '#/components/schemas/ObservabilityFilterRuleGroup'
|
||||
type: array
|
||||
required:
|
||||
- groups
|
||||
type: object
|
||||
ObservabilityFilterRulesConfigNullable:
|
||||
description: Optional structured filter rules controlling which events are forwarded.
|
||||
example: null
|
||||
nullable: true
|
||||
properties:
|
||||
enabled:
|
||||
default: true
|
||||
type: boolean
|
||||
groups:
|
||||
items:
|
||||
$ref: '#/components/schemas/ObservabilityFilterRuleGroup'
|
||||
type: array
|
||||
required:
|
||||
- groups
|
||||
@@ -20187,7 +20315,7 @@ components:
|
||||
- $ref: '#/components/schemas/FilesServerTool'
|
||||
- $ref: '#/components/schemas/FusionServerTool_OpenRouter'
|
||||
- $ref: '#/components/schemas/ImageGenerationServerTool_OpenRouter'
|
||||
- $ref: '#/components/schemas/ChatSearchModelsServerTool'
|
||||
- $ref: '#/components/schemas/SearchModelsServerTool_OpenRouter'
|
||||
- $ref: '#/components/schemas/WebFetchServerTool'
|
||||
- $ref: '#/components/schemas/WebSearchServerTool_OpenRouter'
|
||||
- $ref: '#/components/schemas/ApplyPatchServerTool_OpenRouter'
|
||||
@@ -20284,6 +20412,22 @@ components:
|
||||
example: medium
|
||||
type: string
|
||||
x-speakeasy-unknown-values: allow
|
||||
SearchModelsServerTool_OpenRouter:
|
||||
description: 'OpenRouter built-in server tool: searches and filters AI models available on OpenRouter'
|
||||
example:
|
||||
parameters:
|
||||
max_results: 5
|
||||
type: openrouter:experimental__search_models
|
||||
properties:
|
||||
parameters:
|
||||
$ref: '#/components/schemas/SearchModelsServerToolConfig'
|
||||
type:
|
||||
enum:
|
||||
- openrouter:experimental__search_models
|
||||
type: string
|
||||
required:
|
||||
- type
|
||||
type: object
|
||||
SearchModelsServerToolConfig:
|
||||
description: Configuration for the openrouter:experimental__search_models server tool
|
||||
example:
|
||||
@@ -22362,7 +22506,7 @@ components:
|
||||
type: boolean
|
||||
filter_rules:
|
||||
allOf:
|
||||
- $ref: '#/components/schemas/ObservabilityFilterRulesConfig'
|
||||
- $ref: '#/components/schemas/ObservabilityFilterRulesConfigNullable'
|
||||
- description: Optional structured filter rules. `null` clears the rules. Omitting keeps the current value.
|
||||
name:
|
||||
description: Human-readable name for the destination.
|
||||
@@ -24933,6 +25077,7 @@ paths:
|
||||
name: offset
|
||||
required: false
|
||||
schema:
|
||||
default: 0
|
||||
description: Number of records to skip for pagination
|
||||
example: 0
|
||||
minimum: 0
|
||||
@@ -24943,6 +25088,7 @@ paths:
|
||||
name: limit
|
||||
required: false
|
||||
schema:
|
||||
default: 50
|
||||
description: Maximum number of records to return (max 100)
|
||||
example: 50
|
||||
maximum: 100
|
||||
@@ -26512,27 +26658,7 @@ paths:
|
||||
format: double
|
||||
type: number
|
||||
cost_details:
|
||||
description: Breakdown of upstream inference costs
|
||||
example:
|
||||
upstream_inference_completions_cost: 0.0004
|
||||
upstream_inference_cost: null
|
||||
upstream_inference_prompt_cost: 0.0008
|
||||
nullable: true
|
||||
properties:
|
||||
upstream_inference_completions_cost:
|
||||
format: double
|
||||
type: number
|
||||
upstream_inference_cost:
|
||||
format: double
|
||||
nullable: true
|
||||
type: number
|
||||
upstream_inference_prompt_cost:
|
||||
format: double
|
||||
type: number
|
||||
required:
|
||||
- upstream_inference_prompt_cost
|
||||
- upstream_inference_completions_cost
|
||||
type: object
|
||||
$ref: '#/components/schemas/CostDetails'
|
||||
is_byok:
|
||||
description: Whether a request was made using a Bring Your Own Key configuration
|
||||
type: boolean
|
||||
@@ -26694,6 +26820,32 @@ paths:
|
||||
get:
|
||||
description: Returns a list of all available embeddings models and their properties
|
||||
operationId: listEmbeddingsModels
|
||||
parameters:
|
||||
- description: Number of records to skip for pagination. When both offset and limit are omitted, the full list is returned
|
||||
in: query
|
||||
name: offset
|
||||
required: false
|
||||
schema:
|
||||
default: 0
|
||||
description: >-
|
||||
Number of records to skip for pagination. When both offset and limit are omitted, the full list is returned
|
||||
example: 0
|
||||
minimum: 0
|
||||
nullable: false
|
||||
type: integer
|
||||
- description: >-
|
||||
Maximum number of records to return (max 1000). When both offset and limit are omitted, the full list is returned
|
||||
in: query
|
||||
name: limit
|
||||
required: false
|
||||
schema:
|
||||
default: 500
|
||||
description: >-
|
||||
Maximum number of records to return (max 1000). When both offset and limit are omitted, the full list is returned
|
||||
example: 500
|
||||
maximum: 1000
|
||||
minimum: 1
|
||||
type: integer
|
||||
responses:
|
||||
'200':
|
||||
content:
|
||||
@@ -26758,6 +26910,17 @@ paths:
|
||||
tags:
|
||||
- Embeddings
|
||||
x-speakeasy-name-override: listModels
|
||||
x-speakeasy-pagination:
|
||||
inputs:
|
||||
- in: parameters
|
||||
name: offset
|
||||
type: offset
|
||||
- in: parameters
|
||||
name: limit
|
||||
type: limit
|
||||
outputs:
|
||||
results: $.data
|
||||
type: offsetLimit
|
||||
parameters:
|
||||
- $ref: "#/components/parameters/AppIdentifier"
|
||||
- $ref: "#/components/parameters/AppDisplayName"
|
||||
@@ -27683,6 +27846,7 @@ paths:
|
||||
name: offset
|
||||
required: false
|
||||
schema:
|
||||
default: 0
|
||||
description: Number of records to skip for pagination
|
||||
example: 0
|
||||
minimum: 0
|
||||
@@ -27693,6 +27857,7 @@ paths:
|
||||
name: limit
|
||||
required: false
|
||||
schema:
|
||||
default: 50
|
||||
description: Maximum number of records to return (max 100)
|
||||
example: 50
|
||||
maximum: 100
|
||||
@@ -28120,6 +28285,7 @@ paths:
|
||||
name: offset
|
||||
required: false
|
||||
schema:
|
||||
default: 0
|
||||
description: Number of records to skip for pagination
|
||||
example: 0
|
||||
minimum: 0
|
||||
@@ -28130,6 +28296,7 @@ paths:
|
||||
name: limit
|
||||
required: false
|
||||
schema:
|
||||
default: 50
|
||||
description: Maximum number of records to return (max 100)
|
||||
example: 50
|
||||
maximum: 100
|
||||
@@ -28378,6 +28545,7 @@ paths:
|
||||
name: offset
|
||||
required: false
|
||||
schema:
|
||||
default: 0
|
||||
description: Number of records to skip for pagination
|
||||
example: 0
|
||||
minimum: 0
|
||||
@@ -28388,6 +28556,7 @@ paths:
|
||||
name: limit
|
||||
required: false
|
||||
schema:
|
||||
default: 50
|
||||
description: Maximum number of records to return (max 100)
|
||||
example: 50
|
||||
maximum: 100
|
||||
@@ -28628,6 +28797,7 @@ paths:
|
||||
name: offset
|
||||
required: false
|
||||
schema:
|
||||
default: 0
|
||||
description: Number of records to skip for pagination
|
||||
example: 0
|
||||
minimum: 0
|
||||
@@ -28638,6 +28808,7 @@ paths:
|
||||
name: limit
|
||||
required: false
|
||||
schema:
|
||||
default: 50
|
||||
description: Maximum number of records to return (max 100)
|
||||
example: 50
|
||||
maximum: 100
|
||||
@@ -28710,6 +28881,7 @@ paths:
|
||||
name: offset
|
||||
required: false
|
||||
schema:
|
||||
default: 0
|
||||
description: Number of records to skip for pagination
|
||||
example: 0
|
||||
minimum: 0
|
||||
@@ -28720,6 +28892,7 @@ paths:
|
||||
name: limit
|
||||
required: false
|
||||
schema:
|
||||
default: 50
|
||||
description: Maximum number of records to return (max 100)
|
||||
example: 50
|
||||
maximum: 100
|
||||
@@ -30873,6 +31046,31 @@ paths:
|
||||
get:
|
||||
operationId: getModels
|
||||
parameters:
|
||||
- description: Number of records to skip for pagination. When both offset and limit are omitted, the full list is returned
|
||||
in: query
|
||||
name: offset
|
||||
required: false
|
||||
schema:
|
||||
default: 0
|
||||
description: >-
|
||||
Number of records to skip for pagination. When both offset and limit are omitted, the full list is returned
|
||||
example: 0
|
||||
minimum: 0
|
||||
nullable: false
|
||||
type: integer
|
||||
- description: >-
|
||||
Maximum number of records to return (max 1000). When both offset and limit are omitted, the full list is returned
|
||||
in: query
|
||||
name: limit
|
||||
required: false
|
||||
schema:
|
||||
default: 500
|
||||
description: >-
|
||||
Maximum number of records to return (max 1000). When both offset and limit are omitted, the full list is returned
|
||||
example: 500
|
||||
maximum: 1000
|
||||
minimum: 1
|
||||
type: integer
|
||||
- description: Filter models by use case category
|
||||
in: query
|
||||
name: category
|
||||
@@ -31230,6 +31428,17 @@ paths:
|
||||
tags:
|
||||
- Models
|
||||
x-speakeasy-name-override: list
|
||||
x-speakeasy-pagination:
|
||||
inputs:
|
||||
- in: parameters
|
||||
name: offset
|
||||
type: offset
|
||||
- in: parameters
|
||||
name: limit
|
||||
type: limit
|
||||
outputs:
|
||||
results: $.data
|
||||
type: offsetLimit
|
||||
parameters:
|
||||
- $ref: "#/components/parameters/AppIdentifier"
|
||||
- $ref: "#/components/parameters/AppDisplayName"
|
||||
@@ -31414,6 +31623,32 @@ paths:
|
||||
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).
|
||||
operationId: listModelsUser
|
||||
parameters:
|
||||
- description: Number of records to skip for pagination. When both offset and limit are omitted, the full list is returned
|
||||
in: query
|
||||
name: offset
|
||||
required: false
|
||||
schema:
|
||||
default: 0
|
||||
description: >-
|
||||
Number of records to skip for pagination. When both offset and limit are omitted, the full list is returned
|
||||
example: 0
|
||||
minimum: 0
|
||||
nullable: false
|
||||
type: integer
|
||||
- description: >-
|
||||
Maximum number of records to return (max 1000). When both offset and limit are omitted, the full list is returned
|
||||
in: query
|
||||
name: limit
|
||||
required: false
|
||||
schema:
|
||||
default: 500
|
||||
description: >-
|
||||
Maximum number of records to return (max 1000). When both offset and limit are omitted, the full list is returned
|
||||
example: 500
|
||||
maximum: 1000
|
||||
minimum: 1
|
||||
type: integer
|
||||
responses:
|
||||
'200':
|
||||
content:
|
||||
@@ -31437,7 +31672,7 @@ paths:
|
||||
id: openai/gpt-4
|
||||
knowledge_cutoff: null
|
||||
links:
|
||||
details: /api/v1/models/openai/gpt-5.4/endpoints
|
||||
details: /api/v1/models/openai/gpt-4/endpoints
|
||||
name: GPT-4
|
||||
per_request_limits: null
|
||||
pricing:
|
||||
@@ -31493,6 +31728,17 @@ paths:
|
||||
tags:
|
||||
- Models
|
||||
x-speakeasy-name-override: listForUser
|
||||
x-speakeasy-pagination:
|
||||
inputs:
|
||||
- in: parameters
|
||||
name: offset
|
||||
type: offset
|
||||
- in: parameters
|
||||
name: limit
|
||||
type: limit
|
||||
outputs:
|
||||
results: $.data
|
||||
type: offsetLimit
|
||||
parameters:
|
||||
- $ref: "#/components/parameters/AppIdentifier"
|
||||
- $ref: "#/components/parameters/AppDisplayName"
|
||||
@@ -31508,6 +31754,7 @@ paths:
|
||||
name: offset
|
||||
required: false
|
||||
schema:
|
||||
default: 0
|
||||
description: Number of records to skip for pagination
|
||||
example: 0
|
||||
minimum: 0
|
||||
@@ -31518,6 +31765,7 @@ paths:
|
||||
name: limit
|
||||
required: false
|
||||
schema:
|
||||
default: 50
|
||||
description: Maximum number of records to return (max 100)
|
||||
example: 50
|
||||
maximum: 100
|
||||
@@ -31937,6 +32185,7 @@ paths:
|
||||
name: offset
|
||||
required: false
|
||||
schema:
|
||||
default: 0
|
||||
description: Number of records to skip for pagination
|
||||
example: 0
|
||||
minimum: 0
|
||||
@@ -31947,6 +32196,7 @@ paths:
|
||||
name: limit
|
||||
required: false
|
||||
schema:
|
||||
default: 50
|
||||
description: Maximum number of records to return (max 100)
|
||||
example: 50
|
||||
maximum: 100
|
||||
@@ -32072,6 +32322,7 @@ paths:
|
||||
name: offset
|
||||
required: false
|
||||
schema:
|
||||
default: 0
|
||||
description: Number of records to skip for pagination
|
||||
example: 0
|
||||
minimum: 0
|
||||
@@ -32082,6 +32333,7 @@ paths:
|
||||
name: limit
|
||||
required: false
|
||||
schema:
|
||||
default: 50
|
||||
description: Maximum number of records to return (max 100)
|
||||
example: 50
|
||||
maximum: 100
|
||||
@@ -32654,6 +32906,7 @@ paths:
|
||||
name: offset
|
||||
required: false
|
||||
schema:
|
||||
default: 0
|
||||
description: Number of records to skip for pagination
|
||||
example: 0
|
||||
minimum: 0
|
||||
@@ -32664,6 +32917,7 @@ paths:
|
||||
name: limit
|
||||
required: false
|
||||
schema:
|
||||
default: 50
|
||||
description: Maximum number of records to return (max 100)
|
||||
example: 50
|
||||
maximum: 100
|
||||
@@ -34295,6 +34549,7 @@ paths:
|
||||
name: offset
|
||||
required: false
|
||||
schema:
|
||||
default: 0
|
||||
description: Number of records to skip for pagination
|
||||
example: 0
|
||||
minimum: 0
|
||||
@@ -34305,6 +34560,7 @@ paths:
|
||||
name: limit
|
||||
required: false
|
||||
schema:
|
||||
default: 50
|
||||
description: Maximum number of records to return (max 100)
|
||||
example: 50
|
||||
maximum: 100
|
||||
@@ -34958,6 +35214,7 @@ paths:
|
||||
name: offset
|
||||
required: false
|
||||
schema:
|
||||
default: 0
|
||||
description: Number of records to skip for pagination
|
||||
example: 0
|
||||
minimum: 0
|
||||
@@ -34968,6 +35225,7 @@ paths:
|
||||
name: limit
|
||||
required: false
|
||||
schema:
|
||||
default: 50
|
||||
description: Maximum number of records to return (max 100)
|
||||
example: 50
|
||||
maximum: 100
|
||||
|
||||
Reference in New Issue
Block a user