Skip to content

Commit 363fad0

Browse files
authored
Merge pull request #119 from Portkey-AI/chore/provider-slug-enhancements
feat: add default provider options to integration workspace access in…
2 parents 3307e59 + a9d5b82 commit 363fad0

1 file changed

Lines changed: 13 additions & 0 deletions

File tree

openapi.yaml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31311,6 +31311,13 @@ components:
3131131311
override_existing_workspace_access:
3131231312
type: boolean
3131331313
description: Whether to override existing workspace access settings
31314+
create_default_provider:
31315+
type: boolean
31316+
default: true
31317+
description: Whether to automatically create a default provider when granting workspace access. Defaults to true. Can be overridden per workspace.
31318+
default_provider_slug:
31319+
type: string
31320+
description: Custom slug for the auto-created default provider. Applies to all workspaces unless overridden per workspace. If the slug already exists, the request will fail with a validation error.
3131431321

3131531322
WorkspaceUpdateRequest:
3131631323
type: object
@@ -31340,6 +31347,12 @@ components:
3134031347
reset_usage:
3134131348
type: boolean
3134231349
description: Whether to reset current usage. If the current status is exhausted, this will change it back to active.
31350+
create_default_provider:
31351+
type: boolean
31352+
description: Whether to automatically create a default provider for this workspace. Overrides the top-level create_default_provider setting.
31353+
default_provider_slug:
31354+
type: string
31355+
description: Custom slug for the auto-created default provider for this workspace. Overrides the top-level default_provider_slug. If the slug already exists, the request will fail with a validation error.
3134331356

3134431357
Providers:
3134531358
type: object

0 commit comments

Comments
 (0)