Skip to content

Commit 00cd7e8

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

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

‎.speakeasy/in.openapi.yaml‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32484,12 +32484,14 @@ paths:
3248432484
results: '$.data'
3248532485
type: 'offsetLimit'
3248632486
post:
32487-
description: 'Create a new guardrail for the authenticated user. A newly created guardrail enforces nothing until it is assigned to API keys or organization members; `workspace_id` places the guardrail in a workspace but does not apply it to that workspace''s traffic. To restrict all traffic in a workspace, update the workspace''s default guardrail instead. [Management key](/docs/guides/overview/auth/management-api-keys) required.'
32487+
description: 'Create a new guardrail for the authenticated user. A newly created guardrail enforces nothing until it is assigned to API keys or organization members; `workspace_id` places the guardrail in a workspace but does not apply it to that workspace''s traffic. To restrict all traffic in a workspace, update the workspace''s default guardrail instead. Set `allowed_data_regions` to enforce [In-Region Routing](/docs/guides/features/in-region-routing#enforcing-in-region-routing-with-guardrails): governed requests must arrive through one of the listed OpenRouter domains and are rejected with a 403 otherwise. [Management key](/docs/guides/overview/auth/management-api-keys) required.'
3248832488
operationId: 'createGuardrail'
3248932489
requestBody:
3249032490
content:
3249132491
application/json:
3249232492
example:
32493+
allowed_data_regions:
32494+
- 'europe'
3249332495
allowed_models: null
3249432496
allowed_providers:
3249532497
- 'openai'

0 commit comments

Comments
 (0)