Skip to content

Commit 07a763e

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

1 file changed

Lines changed: 35 additions & 35 deletions

File tree

‎.speakeasy/in.openapi.yaml‎

Lines changed: 35 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@ components:
22
parameters: {}
33
schemas:
44
AABenchmarkEntry:
5-
description: 'Benchmark index scores published by Artificial Analysis (artificialanalysis.ai), one field per index. Each score is the model''s best on that index across the configurations Artificial Analysis evaluated (for example reasoning levels), so two indexes of one model can come from different configurations. The deprecated Coding and Agentic Index scores are the exception: both come from one configuration, the model''s strongest by Intelligence Index, then Coding Index, then Agentic Index. Attribute Artificial Analysis when you republish them. Omitted when Artificial Analysis has scored the model on none of them.'
5+
description: 'Benchmark index scores published by Artificial Analysis (artificialanalysis.ai), one field per index. Each score is the model''s best on that index across the configurations Artificial Analysis evaluated (for example reasoning levels), so two indexes of one model can come from different configurations. The deprecated Coding Index and Agentic Index fields are null for every model: Artificial Analysis has retired those indexes. Attribute Artificial Analysis when you republish them. Omitted when Artificial Analysis has scored the model on none of them.'
66
example:
7-
agentic_index: 55.8
8-
coding_index: 63.2
7+
agentic_index: null
8+
coding_index: null
99
cyber_index: 36.4
1010
decision_index: 75.7
1111
economics_index: 57.2
@@ -20,16 +20,16 @@ components:
2020
properties:
2121
agentic_index:
2222
deprecated: true
23-
description: 'Deprecated: Artificial Analysis has retired its Agentic Index and no longer publishes it. Holds the last score Artificial Analysis published for the model, on a 0-100 scale, or null; it will be null for every model once those stored scores are removed.'
24-
example: 55.8
23+
description: 'Deprecated: Artificial Analysis has retired its Agentic Index and no longer publishes it. Always null.'
24+
example: null
2525
format: 'double'
2626
type:
2727
- 'number'
2828
- 'null'
2929
coding_index:
3030
deprecated: true
31-
description: 'Deprecated: Artificial Analysis has retired its Coding Index and no longer publishes it. Holds the last score Artificial Analysis published for the model, on a 0-100 scale, or null; it will be null for every model once those stored scores are removed.'
32-
example: 63.2
31+
description: 'Deprecated: Artificial Analysis has retired its Coding Index and no longer publishes it. Always null.'
32+
example: null
3333
format: 'double'
3434
type:
3535
- 'number'
@@ -22099,8 +22099,8 @@ components:
2209922099
description: 'Third-party benchmark rankings for this model. Omitted when no benchmark data is available.'
2210022100
example:
2210122101
artificial_analysis:
22102-
agentic_index: 55.8
22103-
coding_index: 63.2
22102+
agentic_index: null
22103+
coding_index: null
2210422104
cyber_index: 36.4
2210522105
decision_index: 75.7
2210622106
economics_index: 57.2
@@ -36135,10 +36135,10 @@ components:
3613536135
- 'object'
3613636136
- 'null'
3613736137
UnifiedBenchmarksAAItem:
36138-
description: 'One model''s Artificial Analysis index scores. Each score is the model''s best on that index across the configurations Artificial Analysis evaluated (for example reasoning levels), so two indexes of one model can come from different configurations. The deprecated Coding and Agentic Index scores are the exception: both come from one configuration, the model''s strongest by Intelligence Index, then Coding Index, then Agentic Index. With `task_type` set to `intelligence`, `coding` or `agentic`, those three indexes all come from the configuration that scores best on the one named.'
36138+
description: 'One model''s Artificial Analysis index scores. Each score is the model''s best on that index across the configurations Artificial Analysis evaluated (for example reasoning levels), so two indexes of one model can come from different configurations. The deprecated Coding Index and Agentic Index fields are null for every model: Artificial Analysis has retired those indexes.'
3613936139
example:
36140-
agentic_index: 55.8
36141-
coding_index: 63.2
36140+
agentic_index: null
36141+
coding_index: null
3614236142
cyber_index: 36.4
3614336143
decision_index: 75.7
3614436144
display_name: 'GPT-4o'
@@ -36159,16 +36159,16 @@ components:
3615936159
properties:
3616036160
agentic_index:
3616136161
deprecated: true
36162-
description: 'Deprecated: Artificial Analysis has retired its Agentic Index and no longer publishes it. Holds the last score Artificial Analysis published for the model, on a 0-100 scale, or null; it will be null for every model once those stored scores are removed.'
36163-
example: 55.8
36162+
description: 'Deprecated: Artificial Analysis has retired its Agentic Index and no longer publishes it. Always null.'
36163+
example: null
3616436164
format: 'double'
3616536165
type:
3616636166
- 'number'
3616736167
- 'null'
3616836168
coding_index:
3616936169
deprecated: true
36170-
description: 'Deprecated: Artificial Analysis has retired its Coding Index and no longer publishes it. Holds the last score Artificial Analysis published for the model, on a 0-100 scale, or null; it will be null for every model once those stored scores are removed.'
36171-
example: 63.2
36170+
description: 'Deprecated: Artificial Analysis has retired its Coding Index and no longer publishes it. Always null.'
36171+
example: null
3617236172
format: 'double'
3617336173
type:
3617436174
- 'number'
@@ -36518,8 +36518,8 @@ components:
3651836518
UnifiedBenchmarksResponse:
3651936519
example:
3652036520
data:
36521-
- agentic_index: 55.8
36522-
coding_index: 63.2
36521+
- agentic_index: null
36522+
coding_index: null
3652336523
cyber_index: 36.4
3652436524
decision_index: 75.7
3652536525
display_name: 'GPT-4o'
@@ -41782,12 +41782,12 @@ paths:
4178241782
- 'openrouter'
4178341783
example: 'artificial-analysis'
4178441784
type: 'string'
41785-
- description: 'Filter results by task type. Every value except `search` names the Artificial Analysis index of the same name and returns only models scored on it, best first (`coding` and `agentic` are deprecated: Artificial Analysis has retired those indexes). Design Arena answers only `coding`, `intelligence` and `agentic`, and OpenRouter''s own evals only `intelligence` and `agentic`. `search` returns OpenRouter search benchmark results only.'
41785+
- description: 'Filter results by task type. Every value except `search` names the Artificial Analysis index of the same name and returns only models scored on it, best first (`coding` and `agentic` are deprecated: Artificial Analysis has retired those indexes and returns no item for them). Design Arena answers only `coding`, `intelligence` and `agentic`, and OpenRouter''s own evals only `intelligence` and `agentic`. `search` returns OpenRouter search benchmark results only.'
4178641786
in: 'query'
4178741787
name: 'task_type'
4178841788
required: false
4178941789
schema:
41790-
description: 'Filter results by task type. Every value except `search` names the Artificial Analysis index of the same name and returns only models scored on it, best first (`coding` and `agentic` are deprecated: Artificial Analysis has retired those indexes). Design Arena answers only `coding`, `intelligence` and `agentic`, and OpenRouter''s own evals only `intelligence` and `agentic`. `search` returns OpenRouter search benchmark results only.'
41790+
description: 'Filter results by task type. Every value except `search` names the Artificial Analysis index of the same name and returns only models scored on it, best first (`coding` and `agentic` are deprecated: Artificial Analysis has retired those indexes and returns no item for them). Design Arena answers only `coding`, `intelligence` and `agentic`, and OpenRouter''s own evals only `intelligence` and `agentic`. `search` returns OpenRouter search benchmark results only.'
4179141791
enum:
4179241792
- 'intelligence'
4179341793
- 'coding'
@@ -41802,7 +41802,7 @@ paths:
4180241802
- 'multilingual'
4180341803
- 'decision'
4180441804
- 'search'
41805-
example: 'coding'
41805+
example: 'intelligence'
4180641806
type: 'string'
4180741807
- description: 'Return results for one exact OpenRouter benchmark. A `search_*` value narrows the response to search results only; a classic value narrows the OpenRouter items and leaves other sources'' items as they are.'
4180841808
in: 'query'
@@ -41882,8 +41882,8 @@ paths:
4188241882
application/json:
4188341883
example:
4188441884
data:
41885-
- agentic_index: 55.8
41886-
coding_index: 63.2
41885+
- agentic_index: null
41886+
coding_index: null
4188741887
cyber_index: 36.4
4188841888
decision_index: 75.7
4188941889
display_name: 'GPT-4o'
@@ -52282,12 +52282,12 @@ paths:
5228252282
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".'
5228352283
example: 'text'
5228452284
type: 'string'
52285-
- 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), <index>-high-to-low for each Artificial Analysis index (the coding and agentic sorts are deprecated: Artificial Analysis has retired those indexes), design-arena-elo-high-to-low (best Design Arena ELO across arenas). Models without a score for the chosen benchmark are placed last. The decision sort ranks decision models, so pass output_modalities=decisions or all with it. When omitted, the existing default ordering is preserved.'
52285+
- 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), <index>-high-to-low for each Artificial Analysis index (the coding and agentic sorts are deprecated: Artificial Analysis has retired those indexes, so they order by canonical slug and variant alone), design-arena-elo-high-to-low (best Design Arena ELO across arenas). Models without a score for the chosen benchmark are placed last. The decision sort ranks decision models, so pass output_modalities=decisions or all with it. When omitted, the existing default ordering is preserved.'
5228652286
in: 'query'
5228752287
name: 'sort'
5228852288
required: false
5228952289
schema:
52290-
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), <index>-high-to-low for each Artificial Analysis index (the coding and agentic sorts are deprecated: Artificial Analysis has retired those indexes), design-arena-elo-high-to-low (best Design Arena ELO across arenas). Models without a score for the chosen benchmark are placed last. The decision sort ranks decision models, so pass output_modalities=decisions or all with it. When omitted, the existing default ordering is preserved.'
52290+
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), <index>-high-to-low for each Artificial Analysis index (the coding and agentic sorts are deprecated: Artificial Analysis has retired those indexes, so they order by canonical slug and variant alone), design-arena-elo-high-to-low (best Design Arena ELO across arenas). Models without a score for the chosen benchmark are placed last. The decision sort ranks decision models, so pass output_modalities=decisions or all with it. When omitted, the existing default ordering is preserved.'
5229152291
enum:
5229252292
- 'most-popular'
5229352293
- 'newest'
@@ -52507,48 +52507,48 @@ paths:
5250752507
- 'number'
5250852508
- 'null'
5250952509
- deprecated: true
52510-
description: 'Deprecated: Artificial Analysis has retired its Coding Index. Minimum score (0-100); unscored models are excluded.'
52510+
description: 'Deprecated: Artificial Analysis has retired its Coding Index; no model has a score, so this matches no model.'
5251152511
in: 'query'
5251252512
name: 'min_coding_index'
5251352513
required: false
5251452514
schema:
52515-
description: 'Deprecated: Artificial Analysis has retired its Coding Index. Minimum score (0-100); unscored models are excluded.'
52515+
description: 'Deprecated: Artificial Analysis has retired its Coding Index; no model has a score, so this matches no model.'
5251652516
example: 50
5251752517
minimum: 0
5251852518
type:
5251952519
- 'number'
5252052520
- 'null'
5252152521
- deprecated: true
52522-
description: 'Deprecated: Artificial Analysis has retired its Coding Index. Maximum score (0-100); unscored models are excluded.'
52522+
description: 'Deprecated: Artificial Analysis has retired its Coding Index; no model has a score, so this matches no model.'
5252352523
in: 'query'
5252452524
name: 'max_coding_index'
5252552525
required: false
5252652526
schema:
52527-
description: 'Deprecated: Artificial Analysis has retired its Coding Index. Maximum score (0-100); unscored models are excluded.'
52527+
description: 'Deprecated: Artificial Analysis has retired its Coding Index; no model has a score, so this matches no model.'
5252852528
example: 100
5252952529
minimum: 0
5253052530
type:
5253152531
- 'number'
5253252532
- 'null'
5253352533
- deprecated: true
52534-
description: 'Deprecated: Artificial Analysis has retired its Agentic Index. Minimum score (0-100); unscored models are excluded.'
52534+
description: 'Deprecated: Artificial Analysis has retired its Agentic Index; no model has a score, so this matches no model.'
5253552535
in: 'query'
5253652536
name: 'min_agentic_index'
5253752537
required: false
5253852538
schema:
52539-
description: 'Deprecated: Artificial Analysis has retired its Agentic Index. Minimum score (0-100); unscored models are excluded.'
52539+
description: 'Deprecated: Artificial Analysis has retired its Agentic Index; no model has a score, so this matches no model.'
5254052540
example: 50
5254152541
minimum: 0
5254252542
type:
5254352543
- 'number'
5254452544
- 'null'
5254552545
- deprecated: true
52546-
description: 'Deprecated: Artificial Analysis has retired its Agentic Index. Maximum score (0-100); unscored models are excluded.'
52546+
description: 'Deprecated: Artificial Analysis has retired its Agentic Index; no model has a score, so this matches no model.'
5254752547
in: 'query'
5254852548
name: 'max_agentic_index'
5254952549
required: false
5255052550
schema:
52551-
description: 'Deprecated: Artificial Analysis has retired its Agentic Index. Maximum score (0-100); unscored models are excluded.'
52551+
description: 'Deprecated: Artificial Analysis has retired its Agentic Index; no model has a score, so this matches no model.'
5255252552
example: 100
5255352553
minimum: 0
5255452554
type:
@@ -53201,12 +53201,12 @@ paths:
5320153201
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".'
5320253202
example: 'text'
5320353203
type: 'string'
53204-
- 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), <index>-high-to-low for each Artificial Analysis index (the coding and agentic sorts are deprecated: Artificial Analysis has retired those indexes), design-arena-elo-high-to-low (best Design Arena ELO across arenas). Models without a score for the chosen benchmark are placed last. The decision sort ranks decision models, so pass output_modalities=decisions or all with it. When omitted, the existing default ordering is preserved.'
53204+
- 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), <index>-high-to-low for each Artificial Analysis index (the coding and agentic sorts are deprecated: Artificial Analysis has retired those indexes, so they order by canonical slug and variant alone), design-arena-elo-high-to-low (best Design Arena ELO across arenas). Models without a score for the chosen benchmark are placed last. The decision sort ranks decision models, so pass output_modalities=decisions or all with it. When omitted, the existing default ordering is preserved.'
5320553205
in: 'query'
5320653206
name: 'sort'
5320753207
required: false
5320853208
schema:
53209-
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), <index>-high-to-low for each Artificial Analysis index (the coding and agentic sorts are deprecated: Artificial Analysis has retired those indexes), design-arena-elo-high-to-low (best Design Arena ELO across arenas). Models without a score for the chosen benchmark are placed last. The decision sort ranks decision models, so pass output_modalities=decisions or all with it. When omitted, the existing default ordering is preserved.'
53209+
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), <index>-high-to-low for each Artificial Analysis index (the coding and agentic sorts are deprecated: Artificial Analysis has retired those indexes, so they order by canonical slug and variant alone), design-arena-elo-high-to-low (best Design Arena ELO across arenas). Models without a score for the chosen benchmark are placed last. The decision sort ranks decision models, so pass output_modalities=decisions or all with it. When omitted, the existing default ordering is preserved.'
5321053210
enum:
5321153211
- 'most-popular'
5321253212
- 'newest'

0 commit comments

Comments
 (0)