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
{{ message }}
Repository navigation
Commit 536b473
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: .speakeasy/out.openapi.yaml
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -7255,7 +7255,7 @@ components:
7255
7255
reset_interval:
7256
7256
$ref: '#/components/schemas/GuardrailInterval'
7257
7257
workspace_id:
7258
-
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.'
7258
+
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.'
7259
7259
example: '0df9e665-d932-5740-b2c7-b52af166bc11'
7260
7260
format: 'uuid'
7261
7261
type: 'string'
@@ -10144,7 +10144,7 @@ components:
10144
10144
- 'string'
10145
10145
- 'null'
10146
10146
workspace_id:
10147
-
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.'
10147
+
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.'
10148
10148
example: '0df9e665-d932-5740-b2c7-b52af166bc11'
10149
10149
type:
10150
10150
- 'string'
@@ -31195,7 +31195,7 @@ paths:
31195
31195
results: '$.data'
31196
31196
type: 'offsetLimit'
31197
31197
post:
31198
-
description: 'Create a new guardrail for the authenticated user. [Management key](/docs/guides/overview/auth/management-api-keys) required.'
31198
+
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.'
0 commit comments