Skip to content

Commit ef6458d

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

1 file changed

Lines changed: 22 additions & 0 deletions

File tree

.speakeasy/in.openapi.yaml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6871,6 +6871,10 @@ components:
68716871
type:
68726872
- 'array'
68736873
- 'null'
6874+
include_byok_in_budgets:
6875+
description: 'Whether BYOK (bring-your-own-key) inference spend counts toward this guardrail''s limit_usd, in addition to OpenRouter credit spend. Defaults to false.'
6876+
example: false
6877+
type: 'boolean'
68746878
limit_usd:
68756879
description: 'Spending limit in USD'
68766880
example: 50
@@ -6918,6 +6922,7 @@ components:
69186922
id: '550e8400-e29b-41d4-a716-446655440000'
69196923
ignored_models: null
69206924
ignored_providers: null
6925+
include_byok_in_budgets: false
69216926
limit_usd: 50
69226927
name: 'My New Guardrail'
69236928
reset_interval: 'monthly'
@@ -9259,6 +9264,7 @@ components:
92599264
id: '550e8400-e29b-41d4-a716-446655440000'
92609265
ignored_models: null
92619266
ignored_providers: null
9267+
include_byok_in_budgets: false
92629268
limit_usd: 100
92639269
name: 'Production Guardrail'
92649270
reset_interval: 'monthly'
@@ -9440,6 +9446,7 @@ components:
94409446
id: '550e8400-e29b-41d4-a716-446655440000'
94419447
ignored_models: null
94429448
ignored_providers: null
9449+
include_byok_in_budgets: false
94439450
limit_usd: 100
94449451
name: 'Production Guardrail'
94459452
reset_interval: 'monthly'
@@ -9560,6 +9567,10 @@ components:
95609567
type:
95619568
- 'array'
95629569
- 'null'
9570+
include_byok_in_budgets:
9571+
description: 'Whether BYOK (bring-your-own-key) inference spend counts toward this guardrail''s limit_usd, in addition to OpenRouter credit spend.'
9572+
example: false
9573+
type: 'boolean'
95639574
limit_usd:
95649575
description: 'Spending limit in USD'
95659576
example: 100
@@ -9586,6 +9597,7 @@ components:
95869597
required:
95879598
- 'id'
95889599
- 'name'
9600+
- 'include_byok_in_budgets'
95899601
- 'created_at'
95909602
- 'workspace_id'
95919603
type: 'object'
@@ -11243,6 +11255,7 @@ components:
1124311255
id: '550e8400-e29b-41d4-a716-446655440000'
1124411256
ignored_models: null
1124511257
ignored_providers: null
11258+
include_byok_in_budgets: false
1124611259
limit_usd: 100
1124711260
name: 'Production Guardrail'
1124811261
reset_interval: 'monthly'
@@ -22873,6 +22886,10 @@ components:
2287322886
type:
2287422887
- 'array'
2287522888
- 'null'
22889+
include_byok_in_budgets:
22890+
description: 'Whether BYOK (bring-your-own-key) inference spend counts toward this guardrail''s limit_usd, in addition to OpenRouter credit spend. Omit to leave unchanged.'
22891+
example: true
22892+
type: 'boolean'
2287622893
limit_usd:
2287722894
description: 'New spending limit in USD'
2287822895
example: 75
@@ -22911,6 +22928,7 @@ components:
2291122928
id: '550e8400-e29b-41d4-a716-446655440000'
2291222929
ignored_models: null
2291322930
ignored_providers: null
22931+
include_byok_in_budgets: true
2291422932
limit_usd: 75
2291522933
name: 'Updated Guardrail Name'
2291622934
reset_interval: 'weekly'
@@ -28126,6 +28144,7 @@ paths:
2812628144
id: '550e8400-e29b-41d4-a716-446655440000'
2812728145
ignored_models: null
2812828146
ignored_providers: null
28147+
include_byok_in_budgets: false
2812928148
limit_usd: 100
2813028149
name: 'Production Guardrail'
2813128150
reset_interval: 'monthly'
@@ -28228,6 +28247,7 @@ paths:
2822828247
id: '550e8400-e29b-41d4-a716-446655440000'
2822928248
ignored_models: null
2823028249
ignored_providers: null
28250+
include_byok_in_budgets: false
2823128251
limit_usd: 50
2823228252
name: 'My New Guardrail'
2823328253
reset_interval: 'monthly'
@@ -28367,6 +28387,7 @@ paths:
2836728387
id: '550e8400-e29b-41d4-a716-446655440000'
2836828388
ignored_models: null
2836928389
ignored_providers: null
28390+
include_byok_in_budgets: false
2837028391
limit_usd: 100
2837128392
name: 'Production Guardrail'
2837228393
reset_interval: 'monthly'
@@ -28453,6 +28474,7 @@ paths:
2845328474
id: '550e8400-e29b-41d4-a716-446655440000'
2845428475
ignored_models: null
2845528476
ignored_providers: null
28477+
include_byok_in_budgets: true
2845628478
limit_usd: 75
2845728479
name: 'Updated Guardrail Name'
2845828480
reset_interval: 'weekly'

0 commit comments

Comments
 (0)