Skip to content

Commit 8479cbb

Browse files
author
OpenRouter SDK Bot
committed
chore: update OpenAPI spec [sdk-bot]
1 parent d6ea5cf commit 8479cbb

1 file changed

Lines changed: 21 additions & 0 deletions

File tree

‎.speakeasy/in.openapi.yaml‎

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46652,6 +46652,27 @@ paths:
4665246652
description: 'Filter models by output modality. Accepts a comma-separated list of modalities (text, image, embeddings, audio, video, rerank, decisions, speech, transcription) or "all" to include all models. Defaults to "text".'
4665346653
example: 'text'
4665446654
type: 'string'
46655+
- description: 'Sort the returned models server-side. Prefer this over fetching the full list and sorting client-side. Options: pricing-low-to-high, pricing-high-to-low (average prompt/completion price), context-high-to-low (context length), throughput-high-to-low, latency-low-to-high (recent median performance), most-popular, top-weekly (tokens processed in the last week), newest (creation date), intelligence-high-to-low, coding-high-to-low, agentic-high-to-low (Artificial Analysis indices), design-arena-elo-high-to-low (best Design Arena ELO across arenas). Models without a score for the chosen benchmark are placed last. When omitted, the existing default ordering is preserved.'
46656+
in: 'query'
46657+
name: 'sort'
46658+
required: false
46659+
schema:
46660+
description: 'Sort the returned models server-side. Prefer this over fetching the full list and sorting client-side. Options: pricing-low-to-high, pricing-high-to-low (average prompt/completion price), context-high-to-low (context length), throughput-high-to-low, latency-low-to-high (recent median performance), most-popular, top-weekly (tokens processed in the last week), newest (creation date), intelligence-high-to-low, coding-high-to-low, agentic-high-to-low (Artificial Analysis indices), design-arena-elo-high-to-low (best Design Arena ELO across arenas). Models without a score for the chosen benchmark are placed last. When omitted, the existing default ordering is preserved.'
46661+
enum:
46662+
- 'most-popular'
46663+
- 'newest'
46664+
- 'top-weekly'
46665+
- 'pricing-low-to-high'
46666+
- 'pricing-high-to-low'
46667+
- 'context-high-to-low'
46668+
- 'throughput-high-to-low'
46669+
- 'latency-low-to-high'
46670+
- 'intelligence-high-to-low'
46671+
- 'coding-high-to-low'
46672+
- 'agentic-high-to-low'
46673+
- 'design-arena-elo-high-to-low'
46674+
example: 'newest'
46675+
type: 'string'
4665546676
responses:
4665646677
'200':
4665746678
content:

0 commit comments

Comments
 (0)