All Products
Search
Document Center

Alibaba Cloud Model Studio:Obtain Application and Workspace IDs

Last Updated:Dec 03, 2025

When you use an API to call Alibaba Cloud Model Studio applications, such as Agents and Workflows, you must provide credentials to specify the target application and its workspace:

  • If the application is in the Default Workspace, provide only the Application ID.

  • If the application is in a Sub-workspace, provide both the Application ID and the Workspace ID.

This topic describes how to quickly get these credentials from the console.

Note

You can get the Application ID and Workspace ID only from the console, not using an API or the CLI.

Get an Application ID

When you call any application's API, you must provide its unique Application ID.

  1. Go to the My Applications page.

  2. In the application list, find the target application and copy its Application ID.

image

Get a Workspace ID

A Workspace ID is the unique identifier for a workspace. You only need to include the Workspace ID in an API request when calling an application that is in a Sub-workspace.

Get the ID of the current workspace

Quickly find the ID of the workspace that you are currently in.

  1. Go to the Model Studio console homepage (Singapore or Beijing).

  2. Click the image icon in the lower-left corner of the page, and then click Workspace Details.

  3. In the dialog box that appears, view and copy the Workspace ID.

By default, a RAM user can view only the IDs of workspaces that they have joined.

image

Get all workspace IDs

Query or manage all workspace IDs under an Alibaba Cloud account. This operation is typically performed by an administrator.

  1. Log on to the Model Studio console with an Alibaba Cloud account or an authorized RAM user.

  2. Click the image icon in the upper-right corner to go to the Workspaces (Singapore or Beijing) page.

  3. In the Workspace ID column, view and copy the ID of the required workspace.

Important

This operation requires an Alibaba Cloud account or a RAM user with the AliyunBailianFullAccess or AliyunBailianControlFullAccess permission. If you do not have the required permissions, you will receive an "insufficient permissions" error. For instructions, see Management permissions.

What to do next

After you obtain the credentials, see the DashScope API reference to build and send API requests.

FAQ

Q: Why do I receive an error when accessing the Workspaces page as a RAM user?

A: Access to the Workspaces page requires specific permissions. If you do not have the required permissions, you will receive an "insufficient permissions" error. To resolve this issue, an administrator must grant the AliyunBailianFullAccess or AliyunBailianControlFullAccess policy to the RAM user. For more information, see Management permissions.