Skip to content

Commit 8359ce1

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

1 file changed

Lines changed: 18 additions & 3 deletions

File tree

‎.speakeasy/in.openapi.yaml‎

Lines changed: 18 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2823,7 +2823,7 @@ components:
28232823
allowed_models:
28242824
- 'anthropic/*'
28252825
- 'openai/gpt-4o'
2826-
cost_quality_tradeoff: 7
2826+
cost_quality_tradeoff: 9
28272827
enabled: true
28282828
id: 'auto-beta-router'
28292829
properties:
@@ -2837,8 +2837,8 @@ components:
28372837
type: 'string'
28382838
type: 'array'
28392839
cost_quality_tradeoff:
2840-
description: 'Balances routing between cost and quality on a 0-10 scale. The auto-beta-router ranks models for the classified task type by community spend share, then filters candidates by their average cost per generation for that task. Higher values favor cheaper models: 10 keeps only models around the cheapest 10th percentile, while 0 permits models up to the 90th percentile for cost. Defaults to 7.'
2841-
example: 7
2840+
description: 'Balances routing between cost and quality on a 0-10 scale. The auto-beta-router ranks models for the classified task type by community spend share, then filters candidates by their average cost per generation for that task. Higher values favor cheaper models: 10 keeps only models around the cheapest 10th percentile, while 0 permits models up to the 90th percentile for cost. Defaults to 9.'
2841+
example: 9
28422842
maximum: 10
28432843
minimum: 0
28442844
type: 'integer'
@@ -7137,6 +7137,7 @@ components:
71377137
data:
71387138
created_at: '2025-08-24T10:30:00Z'
71397139
created_by: 'user_abc123'
7140+
default_guardrail_id: '595d5849-7e86-51fd-a7c0-705c34e4afff'
71407141
default_image_model: 'openai/dall-e-3'
71417142
default_provider_sort: 'price'
71427143
default_text_model: 'openai/gpt-4o'
@@ -9342,6 +9343,7 @@ components:
93429343
data:
93439344
created_at: '2025-08-24T10:30:00Z'
93449345
created_by: 'user_abc123'
9346+
default_guardrail_id: '595d5849-7e86-51fd-a7c0-705c34e4afff'
93459347
default_image_model: 'openai/dall-e-3'
93469348
default_provider_sort: 'price'
93479349
default_text_model: 'openai/gpt-4o'
@@ -11430,6 +11432,7 @@ components:
1143011432
data:
1143111433
- created_at: '2025-08-24T10:30:00Z'
1143211434
created_by: 'user_abc123'
11435+
default_guardrail_id: '595d5849-7e86-51fd-a7c0-705c34e4afff'
1143311436
default_image_model: 'openai/dall-e-3'
1143411437
default_provider_sort: 'price'
1143511438
default_text_model: 'openai/gpt-4o'
@@ -23023,6 +23026,7 @@ components:
2302323026
data:
2302423027
created_at: '2025-08-24T10:30:00Z'
2302523028
created_by: 'user_abc123'
23029+
default_guardrail_id: '595d5849-7e86-51fd-a7c0-705c34e4afff'
2302623030
default_image_model: 'openai/dall-e-3'
2302723031
default_provider_sort: 'price'
2302823032
default_text_model: 'openai/gpt-4o'
@@ -23913,6 +23917,7 @@ components:
2391323917
example:
2391423918
created_at: '2025-08-24T10:30:00Z'
2391523919
created_by: 'user_abc123'
23920+
default_guardrail_id: '595d5849-7e86-51fd-a7c0-705c34e4afff'
2391623921
default_image_model: 'openai/dall-e-3'
2391723922
default_provider_sort: 'price'
2391823923
default_text_model: 'openai/gpt-4o'
@@ -23937,6 +23942,11 @@ components:
2393723942
type:
2393823943
- 'string'
2393923944
- 'null'
23945+
default_guardrail_id:
23946+
description: 'Deterministic ID of the workspace''s implicitly-created default guardrail'
23947+
example: '595d5849-7e86-51fd-a7c0-705c34e4afff'
23948+
format: 'uuid'
23949+
type: 'string'
2394023950
default_image_model:
2394123951
description: 'Default image model for this workspace'
2394223952
example: 'openai/dall-e-3'
@@ -24007,6 +24017,7 @@ components:
2400724017
- 'null'
2400824018
required:
2400924019
- 'id'
24020+
- 'default_guardrail_id'
2401024021
- 'name'
2401124022
- 'slug'
2401224023
- 'description'
@@ -34751,6 +34762,7 @@ paths:
3475134762
data:
3475234763
- created_at: '2025-08-24T10:30:00Z'
3475334764
created_by: 'user_abc123'
34765+
default_guardrail_id: '595d5849-7e86-51fd-a7c0-705c34e4afff'
3475434766
default_image_model: 'openai/dall-e-3'
3475534767
default_provider_sort: 'price'
3475634768
default_text_model: 'openai/gpt-4o'
@@ -34827,6 +34839,7 @@ paths:
3482734839
data:
3482834840
created_at: '2025-08-24T10:30:00Z'
3482934841
created_by: 'user_abc123'
34842+
default_guardrail_id: '595d5849-7e86-51fd-a7c0-705c34e4afff'
3483034843
default_image_model: 'openai/dall-e-3'
3483134844
default_provider_sort: 'price'
3483234845
default_text_model: 'openai/gpt-4o'
@@ -34985,6 +34998,7 @@ paths:
3498534998
data:
3498634999
created_at: '2025-08-24T10:30:00Z'
3498735000
created_by: 'user_abc123'
35001+
default_guardrail_id: '595d5849-7e86-51fd-a7c0-705c34e4afff'
3498835002
default_image_model: 'openai/dall-e-3'
3498935003
default_provider_sort: 'price'
3499035004
default_text_model: 'openai/gpt-4o'
@@ -35065,6 +35079,7 @@ paths:
3506535079
data:
3506635080
created_at: '2025-08-24T10:30:00Z'
3506735081
created_by: 'user_abc123'
35082+
default_guardrail_id: '595d5849-7e86-51fd-a7c0-705c34e4afff'
3506835083
default_image_model: 'openai/dall-e-3'
3506935084
default_provider_sort: 'price'
3507035085
default_text_model: 'openai/gpt-4o'

0 commit comments

Comments
 (0)