This topic describes how to quickly obtain an application ID and a workspace ID.
Application ID
Application ID, or App ID, is the unique identifier of an application in Model Studio. It is required when you use API to call the agent, workflow, or agent orchestration applications. Replace YOUR_APP_ID
in API samples with your actual application ID.
You can go to the Application Management page, find the desired application, and view its ID.
Workspace ID
Workspace ID is the unique identifier of a workspace, which remains unchanged once generated. Example: llm-7c72iiw36kd8****
. It is required when you use API to call an application in a sub-workspace. However, you do not need it when you call applications in the default workspace.
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 will 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.
What to do next
Call a Model Studio application (agent, workflow, or agent orchestration) using the DashScope SDK or HTTP.