Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
38 changes: 38 additions & 0 deletions .speakeasy/in.openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7315,6 +7315,16 @@ components:
name: 'My New Guardrail'
reset_interval: 'monthly'
properties:
allowed_data_regions:
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.'
example:
- 'europe'
items:
$ref: '#/components/schemas/GuardrailDataRegion'
minItems: 1
type:
- 'array'
- 'null'
allowed_models:
description: 'Array of model identifiers (slug or canonical_slug accepted)'
example:
Expand Down Expand Up @@ -10154,6 +10164,7 @@ components:
type: 'object'
Guardrail:
example:
allowed_data_regions: null
allowed_models: null
allowed_providers:
- 'openai'
Expand Down Expand Up @@ -10185,6 +10196,15 @@ components:
updated_at: '2025-08-24T15:45:00Z'
workspace_id: '0df9e665-d932-5740-b2c7-b52af166bc11'
properties:
allowed_data_regions:
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.'
example:
- 'europe'
items:
$ref: '#/components/schemas/GuardrailDataRegion'
type:
- 'array'
- 'null'
allowed_models:
description: 'Array of model canonical_slugs (immutable identifiers)'
example:
Expand Down Expand Up @@ -10353,6 +10373,14 @@ components:
- 'created_at'
- 'workspace_id'
type: 'object'
GuardrailDataRegion:
description: 'An OpenRouter data region: `global` (https://openrouter.ai), `europe` (https://eu.openrouter.ai), or `us` (https://us.openrouter.ai)'
enum:
- 'global'
- 'europe'
- 'us'
example: 'europe'
type: 'string'
GuardrailInterval:
description: 'Interval at which the limit resets (daily, weekly, monthly)'
enum:
Expand Down Expand Up @@ -25730,6 +25758,16 @@ components:
name: 'Updated Guardrail Name'
reset_interval: 'weekly'
properties:
allowed_data_regions:
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.'
example:
- 'europe'
items:
$ref: '#/components/schemas/GuardrailDataRegion'
minItems: 1
type:
- 'array'
- 'null'
allowed_models:
description: 'Array of model identifiers (slug or canonical_slug accepted)'
example:
Expand Down
Loading