You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .speakeasy/in.openapi.yaml
+38Lines changed: 38 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -7315,6 +7315,16 @@ components:
7315
7315
name: 'My New Guardrail'
7316
7316
reset_interval: 'monthly'
7317
7317
properties:
7318
+
allowed_data_regions:
7319
+
description: 'Data regions through which requests governed by this guardrail must arrive. `global` is https://openrouter.ai, `europe` is https://eu.openrouter.ai, and `us` is https://us.openrouter.ai. Requests arriving through any other region are rejected. `null` leaves the ingress region unrestricted. When several guardrails apply (workspace default, member, API key), the effective regions are the intersection of every non-null value. An empty array is rejected.'
7320
+
example:
7321
+
- 'europe'
7322
+
items:
7323
+
$ref: '#/components/schemas/GuardrailDataRegion'
7324
+
minItems: 1
7325
+
type:
7326
+
- 'array'
7327
+
- 'null'
7318
7328
allowed_models:
7319
7329
description: 'Array of model identifiers (slug or canonical_slug accepted)'
description: 'Data regions through which requests governed by this guardrail must arrive. `global` is https://openrouter.ai, `europe` is https://eu.openrouter.ai, and `us` is https://us.openrouter.ai. Requests arriving through any other region are rejected. `null` leaves the ingress region unrestricted. When several guardrails apply (workspace default, member, API key), the effective regions are the intersection of every non-null value.'
10201
+
example:
10202
+
- 'europe'
10203
+
items:
10204
+
$ref: '#/components/schemas/GuardrailDataRegion'
10205
+
type:
10206
+
- 'array'
10207
+
- 'null'
10188
10208
allowed_models:
10189
10209
description: 'Array of model canonical_slugs (immutable identifiers)'
10190
10210
example:
@@ -10353,6 +10373,14 @@ components:
10353
10373
- 'created_at'
10354
10374
- 'workspace_id'
10355
10375
type: 'object'
10376
+
GuardrailDataRegion:
10377
+
description: 'An OpenRouter data region: `global` (https://openrouter.ai), `europe` (https://eu.openrouter.ai), or `us` (https://us.openrouter.ai)'
10378
+
enum:
10379
+
- 'global'
10380
+
- 'europe'
10381
+
- 'us'
10382
+
example: 'europe'
10383
+
type: 'string'
10356
10384
GuardrailInterval:
10357
10385
description: 'Interval at which the limit resets (daily, weekly, monthly)'
10358
10386
enum:
@@ -25730,6 +25758,16 @@ components:
25730
25758
name: 'Updated Guardrail Name'
25731
25759
reset_interval: 'weekly'
25732
25760
properties:
25761
+
allowed_data_regions:
25762
+
description: 'Data regions through which requests governed by this guardrail must arrive. `global` is https://openrouter.ai, `europe` is https://eu.openrouter.ai, and `us` is https://us.openrouter.ai. Requests arriving through any other region are rejected. `null` leaves the ingress region unrestricted. When several guardrails apply (workspace default, member, API key), the effective regions are the intersection of every non-null value. An empty array is rejected.'
25763
+
example:
25764
+
- 'europe'
25765
+
items:
25766
+
$ref: '#/components/schemas/GuardrailDataRegion'
25767
+
minItems: 1
25768
+
type:
25769
+
- 'array'
25770
+
- 'null'
25733
25771
allowed_models:
25734
25772
description: 'Array of model identifiers (slug or canonical_slug accepted)'
0 commit comments