Compare commits

...
Author SHA1 Message Date
OpenRouter SDK Bot 3a23ae6cdd chore: update OpenAPI spec [sdk-bot] 2026-04-13 23:30:20 +00:00
e8953c70bd chore: update OpenAPI spec from monorepo (#113)
Co-authored-by: OpenRouter SDK Bot <sdk-bot@openrouter.ai>
2026-04-13 12:55:39 -05:00
29fdfcedc3 chore: update OpenAPI spec from monorepo (#112)
Co-authored-by: OpenRouter SDK Bot <sdk-bot@openrouter.ai>
2026-04-13 11:15:35 -05:00
+46 -6
View File
@@ -3495,6 +3495,7 @@ components:
- function
type: object
- $ref: '#/components/schemas/DatetimeServerTool'
- $ref: '#/components/schemas/ChatSearchModelsServerTool'
- $ref: '#/components/schemas/OpenRouterWebSearchServerTool'
- $ref: '#/components/schemas/ChatWebSearchShorthand'
description: Tool definition for function calling (regular function or OpenRouter built-in server tool)
@@ -3936,6 +3937,22 @@ components:
- object
- system_fingerprint
type: object
ChatSearchModelsServerTool:
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
ChatStreamChoice:
description: Streaming completion choice chunk
example:
@@ -7531,6 +7548,7 @@ components:
- name
type: object
- $ref: '#/components/schemas/DatetimeServerTool'
- $ref: '#/components/schemas/ChatSearchModelsServerTool'
- $ref: '#/components/schemas/OpenRouterWebSearchServerTool'
type: array
top_k:
@@ -7708,6 +7726,7 @@ components:
- Crusoe
- DeepInfra
- DeepSeek
- DekaLLM
- Featherless
- Fireworks
- Friendli
@@ -7742,6 +7761,7 @@ components:
- Parasail
- Perplexity
- Phala
- Recraft
- Reka
- Relace
- SambaNova
@@ -10089,6 +10109,7 @@ components:
- Crusoe
- DeepInfra
- DeepSeek
- DekaLLM
- Featherless
- Fireworks
- Friendli
@@ -10123,6 +10144,7 @@ components:
- Parasail
- Perplexity
- Phala
- Recraft
- Reka
- Relace
- SambaNova
@@ -10400,6 +10422,7 @@ components:
- Crusoe
- DeepInfra
- DeepSeek
- DekaLLM
- Featherless
- Fireworks
- Friendli
@@ -10434,6 +10457,7 @@ components:
- Parasail
- Perplexity
- Phala
- Recraft
- Reka
- Relace
- SambaNova
@@ -11393,6 +11417,7 @@ components:
- $ref: '#/components/schemas/ApplyPatchServerTool'
- $ref: '#/components/schemas/CustomTool'
- $ref: '#/components/schemas/DatetimeServerTool'
- $ref: '#/components/schemas/ChatSearchModelsServerTool'
- $ref: '#/components/schemas/WebSearchServerTool_OpenRouter'
type: array
top_k:
@@ -11422,6 +11447,16 @@ components:
- high
example: medium
type: string
SearchModelsServerToolConfig:
description: Configuration for the openrouter:experimental__search_models server tool
example:
max_results: 5
properties:
max_results:
description: Maximum number of models to return. Defaults to 5, max 20.
example: 5
type: integer
type: object
SearchQualityLevel:
description: >-
How much context to retrieve per result. Defaults to medium (15000 chars). Only applies when using the Exa
@@ -12196,8 +12231,7 @@ components:
duration:
description: Duration of the generated video in seconds
example: 8
exclusiveMinimum: true
minimum: 0
minimum: 1
type: integer
frame_images:
description: >-
@@ -12349,6 +12383,10 @@ components:
additionalProperties:
nullable: true
type: object
dekallm:
additionalProperties:
nullable: true
type: object
enfer:
additionalProperties:
nullable: true
@@ -12549,6 +12587,10 @@ components:
additionalProperties:
nullable: true
type: object
recraft:
additionalProperties:
nullable: true
type: object
recursal:
additionalProperties:
nullable: true
@@ -13919,8 +13961,7 @@ paths:
dimensions:
description: The number of dimensions for the output embeddings
example: 1536
exclusiveMinimum: 0
minimum: 0
minimum: 1
type: integer
encoding_format:
description: The format of the output embeddings
@@ -18567,8 +18608,7 @@ paths:
top_n:
description: Number of most relevant documents to return
example: 3
exclusiveMinimum: 0
minimum: 0
minimum: 1
type: integer
required:
- model