Skip to content

Commit c095995

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

1 file changed

Lines changed: 37 additions & 0 deletions

File tree

.speakeasy/in.openapi.yaml

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4818,6 +4818,7 @@ components:
48184818
- deepseek
48194819
description: A guardrail for limiting API usage
48204820
enforce_zdr: false
4821+
ignored_models: null
48214822
ignored_providers: null
48224823
limit_usd: 50
48234824
name: My New Guardrail
@@ -4856,6 +4857,15 @@ components:
48564857
example: false
48574858
nullable: true
48584859
type: boolean
4860+
ignored_models:
4861+
description: Array of model identifiers to exclude from routing (slug or canonical_slug accepted)
4862+
example:
4863+
- openai/gpt-4o-mini
4864+
items:
4865+
type: string
4866+
minItems: 1
4867+
nullable: true
4868+
type: array
48594869
ignored_providers:
48604870
description: List of provider IDs to exclude from routing
48614871
example:
@@ -4893,6 +4903,7 @@ components:
48934903
description: A guardrail for limiting API usage
48944904
enforce_zdr: false
48954905
id: 550e8400-e29b-41d4-a716-446655440000
4906+
ignored_models: null
48964907
ignored_providers: null
48974908
limit_usd: 50
48984909
name: My New Guardrail
@@ -5557,6 +5568,7 @@ components:
55575568
description: Guardrail for production environment
55585569
enforce_zdr: false
55595570
id: 550e8400-e29b-41d4-a716-446655440000
5571+
ignored_models: null
55605572
ignored_providers: null
55615573
limit_usd: 100
55625574
name: Production Guardrail
@@ -5619,6 +5631,7 @@ components:
56195631
description: Guardrail for production environment
56205632
enforce_zdr: false
56215633
id: 550e8400-e29b-41d4-a716-446655440000
5634+
ignored_models: null
56225635
ignored_providers: null
56235636
limit_usd: 100
56245637
name: Production Guardrail
@@ -5664,6 +5677,14 @@ components:
56645677
example: 550e8400-e29b-41d4-a716-446655440000
56655678
format: uuid
56665679
type: string
5680+
ignored_models:
5681+
description: Array of model canonical_slugs to exclude from routing
5682+
example:
5683+
- openai/gpt-4o-mini-2024-07-18
5684+
items:
5685+
type: string
5686+
nullable: true
5687+
type: array
56675688
ignored_providers:
56685689
description: List of provider IDs to exclude from routing
56695690
example:
@@ -6426,6 +6447,7 @@ components:
64266447
description: Guardrail for production environment
64276448
enforce_zdr: false
64286449
id: 550e8400-e29b-41d4-a716-446655440000
6450+
ignored_models: null
64296451
ignored_providers: null
64306452
limit_usd: 100
64316453
name: Production Guardrail
@@ -12026,6 +12048,15 @@ components:
1202612048
example: true
1202712049
nullable: true
1202812050
type: boolean
12051+
ignored_models:
12052+
description: Array of model identifiers to exclude from routing (slug or canonical_slug accepted)
12053+
example:
12054+
- openai/gpt-4o-mini
12055+
items:
12056+
type: string
12057+
minItems: 1
12058+
nullable: true
12059+
type: array
1202912060
ignored_providers:
1203012061
description: List of provider IDs to exclude from routing
1203112062
example:
@@ -12059,6 +12090,7 @@ components:
1205912090
description: Updated description
1206012091
enforce_zdr: true
1206112092
id: 550e8400-e29b-41d4-a716-446655440000
12093+
ignored_models: null
1206212094
ignored_providers: null
1206312095
limit_usd: 75
1206412096
name: Updated Guardrail Name
@@ -14757,6 +14789,7 @@ paths:
1475714789
description: Guardrail for production environment
1475814790
enforce_zdr: false
1475914791
id: 550e8400-e29b-41d4-a716-446655440000
14792+
ignored_models: null
1476014793
ignored_providers: null
1476114794
limit_usd: 100
1476214795
name: Production Guardrail
@@ -14817,6 +14850,7 @@ paths:
1481714850
- deepseek
1481814851
description: A guardrail for limiting API usage
1481914852
enforce_zdr: false
14853+
ignored_models: null
1482014854
ignored_providers: null
1482114855
limit_usd: 50
1482214856
name: My New Guardrail
@@ -14839,6 +14873,7 @@ paths:
1483914873
description: A guardrail for limiting API usage
1484014874
enforce_zdr: false
1484114875
id: 550e8400-e29b-41d4-a716-446655440000
14876+
ignored_models: null
1484214877
ignored_providers: null
1484314878
limit_usd: 50
1484414879
name: My New Guardrail
@@ -14966,6 +15001,7 @@ paths:
1496615001
description: Guardrail for production environment
1496715002
enforce_zdr: false
1496815003
id: 550e8400-e29b-41d4-a716-446655440000
15004+
ignored_models: null
1496915005
ignored_providers: null
1497015006
limit_usd: 100
1497115007
name: Production Guardrail
@@ -15045,6 +15081,7 @@ paths:
1504515081
description: Updated description
1504615082
enforce_zdr: true
1504715083
id: 550e8400-e29b-41d4-a716-446655440000
15084+
ignored_models: null
1504815085
ignored_providers: null
1504915086
limit_usd: 75
1505015087
name: Updated Guardrail Name

0 commit comments

Comments
 (0)