Skip to content

Commit 6f0aa85

Browse files
openrouter-docs-sync[bot]OpenRouter SDK Bot
andauthored
chore: update OpenAPI spec from monorepo (#397)
Co-authored-by: OpenRouter SDK Bot <sdk-bot@openrouter.ai>
1 parent 1e88de8 commit 6f0aa85

1 file changed

Lines changed: 136 additions & 8 deletions

File tree

.speakeasy/in.openapi.yaml

Lines changed: 136 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -30231,10 +30231,10 @@ paths:
3023130231
Sort the returned models server-side. Prefer this over fetching the full list and sorting client-side.
3023230232
Options: pricing-low-to-high, pricing-high-to-low (average prompt/completion price), context-high-to-low
3023330233
(context length), throughput-high-to-low, latency-low-to-high (recent median performance), most-popular,
30234-
top-weekly (tokens processed in the last week), newest (creation date), intelligence-high-to-low (Artificial
30235-
Analysis intelligence index), design-arena-elo-high-to-low (best Design Arena ELO across arenas). Models
30236-
without a score for the chosen benchmark are placed last. When omitted, the existing default ordering is
30237-
preserved.
30234+
top-weekly (tokens processed in the last week), newest (creation date), intelligence-high-to-low,
30235+
coding-high-to-low, agentic-high-to-low (Artificial Analysis indices), design-arena-elo-high-to-low (best
30236+
Design Arena ELO across arenas). Models without a score for the chosen benchmark are placed last. When
30237+
omitted, the existing default ordering is preserved.
3023830238
in: query
3023930239
name: sort
3024030240
required: false
@@ -30243,10 +30243,10 @@ paths:
3024330243
Sort the returned models server-side. Prefer this over fetching the full list and sorting client-side.
3024430244
Options: pricing-low-to-high, pricing-high-to-low (average prompt/completion price), context-high-to-low
3024530245
(context length), throughput-high-to-low, latency-low-to-high (recent median performance), most-popular,
30246-
top-weekly (tokens processed in the last week), newest (creation date), intelligence-high-to-low
30247-
(Artificial Analysis intelligence index), design-arena-elo-high-to-low (best Design Arena ELO across
30248-
arenas). Models without a score for the chosen benchmark are placed last. When omitted, the existing
30249-
default ordering is preserved.
30246+
top-weekly (tokens processed in the last week), newest (creation date), intelligence-high-to-low,
30247+
coding-high-to-low, agentic-high-to-low (Artificial Analysis indices), design-arena-elo-high-to-low (best
30248+
Design Arena ELO across arenas). Models without a score for the chosen benchmark are placed last. When
30249+
omitted, the existing default ordering is preserved.
3025030250
enum:
3025130251
- most-popular
3025230252
- newest
@@ -30257,6 +30257,8 @@ paths:
3025730257
- throughput-high-to-low
3025830258
- latency-low-to-high
3025930259
- intelligence-high-to-low
30260+
- coding-high-to-low
30261+
- agentic-high-to-low
3026030262
- design-arena-elo-high-to-low
3026130263
example: newest
3026230264
type: string
@@ -30377,6 +30379,132 @@ paths:
3037730379
- eu
3037830380
example: eu
3037930381
type: string
30382+
- description: Minimum completion (output) price in $/M tokens.
30383+
in: query
30384+
name: min_output_price
30385+
required: false
30386+
schema:
30387+
description: Minimum completion (output) price in $/M tokens.
30388+
example: 0
30389+
minimum: 0
30390+
nullable: true
30391+
type: number
30392+
- description: Maximum completion (output) price in $/M tokens.
30393+
in: query
30394+
name: max_output_price
30395+
required: false
30396+
schema:
30397+
description: Maximum completion (output) price in $/M tokens.
30398+
example: 10
30399+
minimum: 0
30400+
nullable: true
30401+
type: number
30402+
- description: Minimum model age in days since its creation date.
30403+
in: query
30404+
name: min_age_days
30405+
required: false
30406+
schema:
30407+
description: Minimum model age in days since its creation date.
30408+
example: 0
30409+
minimum: 0
30410+
nullable: true
30411+
type: integer
30412+
- description: Maximum model age in days since its creation date.
30413+
in: query
30414+
name: max_age_days
30415+
required: false
30416+
schema:
30417+
description: Maximum model age in days since its creation date.
30418+
example: 90
30419+
minimum: 0
30420+
nullable: true
30421+
type: integer
30422+
- description: Minimum Artificial Analysis intelligence index.
30423+
in: query
30424+
name: min_intelligence_index
30425+
required: false
30426+
schema:
30427+
description: Minimum Artificial Analysis intelligence index.
30428+
example: 50
30429+
minimum: 0
30430+
nullable: true
30431+
type: number
30432+
- description: Maximum Artificial Analysis intelligence index.
30433+
in: query
30434+
name: max_intelligence_index
30435+
required: false
30436+
schema:
30437+
description: Maximum Artificial Analysis intelligence index.
30438+
example: 100
30439+
minimum: 0
30440+
nullable: true
30441+
type: number
30442+
- description: Minimum Artificial Analysis coding index.
30443+
in: query
30444+
name: min_coding_index
30445+
required: false
30446+
schema:
30447+
description: Minimum Artificial Analysis coding index.
30448+
example: 50
30449+
minimum: 0
30450+
nullable: true
30451+
type: number
30452+
- description: Maximum Artificial Analysis coding index.
30453+
in: query
30454+
name: max_coding_index
30455+
required: false
30456+
schema:
30457+
description: Maximum Artificial Analysis coding index.
30458+
example: 100
30459+
minimum: 0
30460+
nullable: true
30461+
type: number
30462+
- description: Minimum Artificial Analysis agentic index.
30463+
in: query
30464+
name: min_agentic_index
30465+
required: false
30466+
schema:
30467+
description: Minimum Artificial Analysis agentic index.
30468+
example: 50
30469+
minimum: 0
30470+
nullable: true
30471+
type: number
30472+
- description: Maximum Artificial Analysis agentic index.
30473+
in: query
30474+
name: max_agentic_index
30475+
required: false
30476+
schema:
30477+
description: Maximum Artificial Analysis agentic index.
30478+
example: 100
30479+
minimum: 0
30480+
nullable: true
30481+
type: number
30482+
- description: >-
30483+
Minimum tool-calling success rate, as a fraction in [0, 1] (e.g. 0.9 = 90% of requests finishing with a
30484+
tool_calls finish reason).
30485+
in: query
30486+
name: min_tool_success_rate
30487+
required: false
30488+
schema:
30489+
description: >-
30490+
Minimum tool-calling success rate, as a fraction in [0, 1] (e.g. 0.9 = 90% of requests finishing with a
30491+
tool_calls finish reason).
30492+
example: 0.9
30493+
maximum: 1
30494+
minimum: 0
30495+
nullable: true
30496+
type: number
30497+
- description: Maximum tool-calling success rate, as a fraction in [0, 1].
30498+
in: query
30499+
name: max_tool_success_rate
30500+
required: false
30501+
schema:
30502+
description: Maximum tool-calling success rate, as a fraction in [0, 1].
30503+
example: 1
30504+
maximum: 1
30505+
minimum: 0
30506+
nullable: true
30507+
type: number
3038030508
responses:
3038130509
'200':
3038230510
content:

0 commit comments

Comments
 (0)