Skip to content

Commit c2a933f

Browse files
robert-j-yOpenRouter SDK Bot
andauthored
chore: update OpenAPI spec from monorepo (#130)
Co-authored-by: OpenRouter SDK Bot <sdk-bot@openrouter.ai>
1 parent a34a145 commit c2a933f

File tree

1 file changed

+49
-2
lines changed

1 file changed

+49
-2
lines changed

.speakeasy/in.openapi.yaml

Lines changed: 49 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7215,11 +7215,12 @@ components:
72157215
effort:
72167216
description: >-
72177217
How much effort the model should put into its response. Higher effort levels may result in more thorough
7218-
analysis but take longer. Valid values are `low`, `medium`, `high`, or `max`.
7218+
analysis but take longer. Valid values are `low`, `medium`, `high`, `xhigh`, or `max`.
72197219
enum:
72207220
- low
72217221
- medium
72227222
- high
7223+
- xhigh
72237224
- max
72247225
- null
72257226
example: medium
@@ -8841,6 +8842,8 @@ components:
88418842
service_tier:
88428843
nullable: true
88438844
type: string
8845+
text:
8846+
$ref: '#/components/schemas/TextExtendedConfig'
88448847
usage:
88458848
$ref: '#/components/schemas/Usage'
88468849
type: object
@@ -9482,6 +9485,7 @@ components:
94829485
openrouter:browser_use: '#/components/schemas/OutputBrowserUseServerToolItem'
94839486
openrouter:code_interpreter: '#/components/schemas/OutputCodeInterpreterServerToolItem'
94849487
openrouter:datetime: '#/components/schemas/OutputDatetimeItem'
9488+
openrouter:experimental__search_models: '#/components/schemas/OutputSearchModelsServerToolItem'
94859489
openrouter:file_search: '#/components/schemas/OutputFileSearchServerToolItem'
94869490
openrouter:image_generation: '#/components/schemas/OutputImageGenerationServerToolItem'
94879491
openrouter:mcp: '#/components/schemas/OutputMcpServerToolItem'
@@ -9523,6 +9527,7 @@ components:
95239527
- $ref: '#/components/schemas/OutputToolSearchServerToolItem'
95249528
- $ref: '#/components/schemas/OutputMemoryServerToolItem'
95259529
- $ref: '#/components/schemas/OutputMcpServerToolItem'
9530+
- $ref: '#/components/schemas/OutputSearchModelsServerToolItem'
95269531
OutputItemWebSearchCall:
95279532
example:
95289533
action:
@@ -9765,6 +9770,32 @@ components:
97659770
- text: Analyzed the problem and found the optimal solution.
97669771
type: summary_text
97679772
type: reasoning
9773+
OutputSearchModelsServerToolItem:
9774+
description: An openrouter:experimental__search_models server tool output item
9775+
example:
9776+
arguments: '{"query":"Claude Opus"}'
9777+
id: sm_tmp_abc123
9778+
query: Claude Opus
9779+
status: completed
9780+
type: openrouter:experimental__search_models
9781+
properties:
9782+
arguments:
9783+
description: The JSON arguments submitted to the search tool (e.g. {"query":"Claude"})
9784+
type: string
9785+
id:
9786+
type: string
9787+
query:
9788+
type: string
9789+
status:
9790+
$ref: '#/components/schemas/ToolCallStatus'
9791+
type:
9792+
enum:
9793+
- openrouter:experimental__search_models
9794+
type: string
9795+
required:
9796+
- status
9797+
- type
9798+
type: object
97689799
OutputTextEditorServerToolItem:
97699800
description: An openrouter:text_editor server tool output item
97709801
example:
@@ -11974,7 +12005,17 @@ components:
1197412005
TextExtendedConfig:
1197512006
allOf:
1197612007
- $ref: '#/components/schemas/TextConfig'
11977-
- properties: {}
12008+
- properties:
12009+
verbosity:
12010+
enum:
12011+
- low
12012+
- medium
12013+
- high
12014+
- xhigh
12015+
- max
12016+
- null
12017+
nullable: true
12018+
type: string
1197812019
type: object
1197912020
description: Text output configuration including format and verbosity
1198012021
example:
@@ -14819,6 +14860,11 @@ paths:
1481914860
description: User-Agent header from the request
1482014861
nullable: true
1482114862
type: string
14863+
web_search_engine:
14864+
description: The resolved web search engine used for this generation (e.g. exa, firecrawl, parallel)
14865+
example: exa
14866+
nullable: true
14867+
type: string
1482214868
required:
1482314869
- id
1482414870
- upstream_id
@@ -14846,6 +14892,7 @@ paths:
1484614892
- num_input_audio_prompt
1484714893
- num_media_completion
1484814894
- num_search_results
14895+
- web_search_engine
1484914896
- origin
1485014897
- usage
1485114898
- is_byok

0 commit comments

Comments
 (0)