class

Anthropic::BetaOrganizationWorkspaces

Inherits Reference < Object

Organization workspaces.

Constructors

new(client : Client)
Source

Instance methods

archive(workspace_id : String) : BetaWorkspace

Archive a workspace.

Source
create(name : String, data_residency : BetaDataResidency | BetaDataResidencyCreateConfig | Hash(String, JSON::Any) | Nil = nil, display_color : String | Nil = nil, external_key_id : String | Nil = nil, tags : Hash(String, String) | Nil = nil) : BetaWorkspace

Create a workspace.

Source
list(limit : Int32 = 20, page : String | Nil = nil) : BetaWorkspaceListResponse

List workspaces with optional pagination.

Source
members
Source
rate_limits
Source
retrieve(workspace_id : String) : BetaWorkspace

Retrieve a workspace by ID.

Source
service_accounts
Source
update(workspace_id : String, name : String | Nil = nil, data_residency : BetaDataResidency | BetaDataResidencyUpdateConfig | Hash(String, JSON::Any) | Nil = nil, display_color : String | Nil = nil, external_key_id : String | Nil = nil, tags : Hash(String, String) | Nil = nil) : BetaWorkspace

Update a workspace. Pass tags: nil explicitly to leave tags unchanged; other omitted fields are left unchanged.

Source