If you have multiple businesses or scenarios using Model Studio under your Alibaba Cloud account, you may want to manage them separately. Divide them into separate workspaces to control accessible models and isolate applications and data from each other.
Create a workspace
Go to Workspaces, click Add Workspace in the upper right corner to create a workspace (sub-workspace). Then, you can add RAM users under your Alibaba Cloud account as members of this workspace to use Model Studio together.
Use your Alibaba Cloud account to perform this operation. If you must use a RAM user, first grant management layer permissions for it (AliyunBailianFullAccess or AliyunBailianControlFullAccess). Otherwise, an error may occur.
Each Alibaba Cloud account can have up to 20 workspaces (including the default workspace).
You can also rename existing workspaces on the Workspaces page. But you cannot delete workspaces.
The above operations cannot be performed through API or command line.
Obtain workspace ID
If you need to access resources in a sub-workspace (non-default workspace) using API or SDK, you must specify its workspace ID.
The workspace ID is the unique identifier of a workspace. It remains unchanged once generated. Example: llm-7c72iiw36kd8****
.
Obtain all workspace IDs under your Alibaba Cloud account: Go to the Workspaces page.
Use your Alibaba Cloud account to perform this operation. If you must use a RAM user, first grant management layer permissions for your it (AliyunBailianFullAccess or AliyunBailianControlFullAccess). Otherwise, an error may occur.
Obtain the current workspace ID: Go to the Model Studio console homepage, click the
icon in the lower left corner of the page, then click Workspace Details.
By default, RAM users can only view the IDs of sub-workspaces they have joined.
The above operations cannot be performed through API or command line.
Authorize a sub-workspace to use models
Whether members of a sub-workspace can call a specific model (such as Qwen-Plus) depends on whether the workspace has the permission to call this model.
The following section describes how to authorize a sub-workspace to call models.
Use your Alibaba Cloud account to perform this operation. If you must use a RAM user, you must first grant management layer permissions to the RAM user (AliyunBailianFullAccess or AliyunBailianControlFullAccess), then add it to the desired workspace.
1. Select the sub-workspace to authorize
Go to Workspaces, find the sub-workspace that needs authorization. Click Authorization & Throttling Settings on the right.
2. Authorize the sub-workspace
Find the required model, click Edit on the right.
Turn on the corresponding permissions, and click Save. If the workspace has been previously authorized, you do not need to authorize it again.
The above operations cannot be performed through API or command line.