This topic describes how to obtain the application ID and 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.
On the My Applications page, find the desired application and view its ID.
Workspace ID
Workspace ID is the unique identifier of a workspace. You must specify the workspace ID when you use API to call the applications in a sub-workspace. However, you do not need it when you call applications in the default workspace.
Only the Alibaba Cloud account or Admin accounts of a workspace can obtain the workspace ID.
Obtain the ID of the current workspace
Click
in the upper-left corner of the page.
The Workspace Details box shows the Workspace ID of the current workspace.
Obtain the IDs of all workspaces
Hover your cursor over the icon in the upper-right corner of the page. Click Manage Alibaba Cloud Account. On the Workspace Management page, you can see the IDs of all workspaces.
What to do next
Use the DashScope SDK or HTTP interface to call your applications.