Skip to content

Commit 2f52767

Browse files
author
OpenRouter SDK Bot
committed
chore: update OpenAPI spec [sdk-bot]
1 parent 3601429 commit 2f52767

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

‎.speakeasy/in.openapi.yaml‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7189,7 +7189,7 @@ components:
71897189
reset_interval:
71907190
$ref: '#/components/schemas/GuardrailInterval'
71917191
workspace_id:
7192-
description: 'The workspace to create the guardrail in. When omitted, the guardrail is created in the default workspace; if that default has been deleted, the request returns a 400 and you must pass `workspace_id` explicitly.'
7192+
description: 'The workspace to create the guardrail in. When omitted, the guardrail is created in the default workspace; if that default has been deleted, the request returns a 400 and you must pass `workspace_id` explicitly. This only places the guardrail in the workspace; the created guardrail enforces nothing for that workspace''s traffic until it is assigned to API keys or members. To restrict all traffic in a workspace, update the workspace''s default guardrail instead.'
71937193
example: '0df9e665-d932-5740-b2c7-b52af166bc11'
71947194
format: 'uuid'
71957195
type: 'string'
@@ -10062,7 +10062,7 @@ components:
1006210062
- 'string'
1006310063
- 'null'
1006410064
workspace_id:
10065-
description: 'The workspace this guardrail is scoped to, or `null` for an unscoped legacy guardrail predating workspaces. A `null` value does not mean the default workspace, and does not apply the guardrail across every workspace.'
10065+
description: 'The workspace this guardrail belongs to, or `null` for an unscoped legacy guardrail predating workspaces. Workspace membership organizes the guardrail; it does not apply the guardrail to the workspace''s traffic. A `null` value does not mean the default workspace, and does not apply the guardrail across every workspace.'
1006610066
example: '0df9e665-d932-5740-b2c7-b52af166bc11'
1006710067
type:
1006810068
- 'string'
@@ -30870,7 +30870,7 @@ paths:
3087030870
results: '$.data'
3087130871
type: 'offsetLimit'
3087230872
post:
30873-
description: 'Create a new guardrail for the authenticated user. [Management key](/docs/guides/overview/auth/management-api-keys) required.'
30873+
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.'
3087430874
operationId: 'createGuardrail'
3087530875
requestBody:
3087630876
content:

0 commit comments

Comments
 (0)