When multiple users in your organization need access to the service, create separate RAM users and grant each user only the permissions they need. This reduces the risk of sharing your Alibaba Cloud account password or AccessKey.
Use cases
Create RAM users and grant only the permissions required for the following two scenarios:
-
A RAM user calls AI Search Open Platform or Agentic Search through an API or SDK. The user authenticates with an AccessKey.
-
A RAM user uses the workbench in AI Search Open Platform. Common scenarios include:
-
Creating workspaces and activating AI Search Open Platform.
-
Managing API keys.
ImportantIn AI Search Open Platform, API keys are scoped to individual workspaces. A RAM user who configures an enabled workspace API key in their code can call all services in that workspace through an API or SDK without separate authorization.
-
Using the Service overview and experience to try services such as document parsing and chunking.
-
Running an evaluation on a RAG pipeline.
-
Permission policies
System policies
Alibaba Cloud creates and maintains system policies, including version updates. You can use these policies as provided. AI Search Open Platform provides the following two system policies:
-
AliyunOpenSearchFullAccess: Grants permissions to manage OpenSearch, including all permissions in the Permission list. Use caution when granting this policy to RAM users.
-
AliyunOpenSearchReadOnlyAccess: Grants read-only access to OpenSearch. This policy grants permissions for searchplat:List*, searchplat:Describe*, searchplat:Get*, searchplat:Query*, and searchplat:Search*.
Custom policies
Create custom policies for fine-grained access control.
Permission list
AI Search Open Platform control API permissions
|
Operation category |
API |
RAM Action |
Resource |
Description |
|
Workspace |
CreateWorkspace |
searchplat:WriteWorkspace |
workspaces/* |
Creates a workspace and activates AI Search Open Platform. Note
AI Search Open Platform is free to activate. You are not charged until you use services. |
|
UpdateWorkspace |
searchplat:WriteWorkspace |
workspaces/{workspaceName} |
Modifies a workspace. |
|
|
GetWorkspace |
searchplat:DescribeWorkspace |
workspaces/{workspaceName} |
Gets the details of a workspace. |
|
|
ListWorkspaces |
searchplat:ListWorkspaces |
workspaces/* |
Lists workspaces. |
|
|
ListServices |
searchplat:ListServices |
workspaces/{workspaceName} |
Lists services. |
|
|
Access credential |
CreateCredentials |
searchplat:WriteCredentials |
workspaces/{workspaceName} |
Creates an access credential. |
|
DeleteCredentials |
searchplat:WriteCredentials |
workspaces/{workspaceName} |
Deletes an access credential. |
|
|
UpdateCredentials |
searchplat:WriteCredentials |
workspaces/{workspaceName} |
Modifies an access credential. |
|
|
GetCredentials |
searchplat:DescribeCredentials |
workspaces/{workspaceName} |
Gets the details of an access credential. |
|
|
ListCredentials |
searchplat:DescribeCredentials |
workspaces/{workspaceName} |
Lists access credentials. |
|
|
Remaining free quota |
GetMeasure |
searchplat:DescribeMeasure |
workspaces/{workspaceName} |
Gets the remaining free quota for a workspace. Note
|
|
Experience data |
CreateExperienceData |
searchplat:WriteExperienceData |
workspaces/{workspaceName} |
Adds experience data. |
|
DeleteExperienceData |
searchplat:WriteExperienceData |
workspaces/{workspaceName} |
Deletes experience data. |
|
|
GetExperienceData |
searchplat:DescribeExperienceData |
workspaces/{workspaceName} |
Gets the details of experience data. |
|
|
ListExperienceData |
searchplat:DescribeExperienceData |
workspaces/{workspaceName} |
Lists experience data. |
|
|
Asynchronous task |
CreateAsyncTask |
searchplat:WriteAsyncTask |
workspaces/{workspaceName} |
Creates an asynchronous task to parse sample documents. |
|
GetAsyncTask |
searchplat:DescribeAsyncTask |
workspaces/{workspaceName} |
Gets the details of an asynchronous task to parse sample documents. |
|
|
ListAsyncTasks |
searchplat:DescribeAsyncTask |
workspaces/{workspaceName} |
Lists asynchronous tasks to parse sample documents. |
|
|
Evaluation |
CreateRagEvaluatorTask |
searchplat:WriteEvaluation |
workspaces/{workspaceName} |
Creates an evaluation task. |
|
GetRagEvaluatorTask |
searchplat:DescribeEvaluation |
workspaces/{workspaceName} |
Gets the details of an evaluation task. |
|
|
ListRagEvaluatorTasks |
searchplat:DescribeEvaluation |
workspaces/{workspaceName} |
Lists evaluation tasks. |
|
|
DeleteRagEvaluatorTask |
searchplat:WriteEvaluation |
workspaces/{workspaceName} |
Deletes an evaluation task. |
|
|
Model service |
CreateFunctionInstance |
searchplat:WriteFunction |
workspaces/{workspaceName} |
Creates a service or model. |
|
CreateFunctionTask |
workspaces/{workspaceName} |
Activates the service configuration immediately. |
||
|
UpdateFunctionInstance |
workspaces/{workspaceName} |
Modifies the service or model configuration. |
||
|
DeleteFunctionInstance |
workspaces/{workspaceName} |
Deletes the service or model configuration. |
||
|
ListFunctionInstances |
searchplat:DescribeFunction |
workspaces/{workspaceName} |
Lists service or model configurations. |
|
|
GetFunctionInstance |
workspaces/{workspaceName} |
Gets the details of a service or model configuration. |
||
|
GetTableFields |
searchplat:GetTableFields |
workspaces/{workspaceName} |
Gets the schema of a MaxCompute table. |
|
|
CeaseFunctionInstance |
searchplat:CeaseFunctionInstance |
workspaces/{workspaceName} |
Stops a service. |
|
|
ResumeFunctionInstance |
searchplat:ResumeFunctionInstance |
workspaces/{workspaceName} |
Resumes a service. |
|
|
Model service - Service deployment |
ListFunctionRestrictions |
searchplat:ListFunctionRestrictions |
workspaces/{workspaceName} |
Gets function restrictions: available deployment regions, model categories, model types, and models. |
Traffic API permissions
The following sections list permissions for Agentic services and core AI Search Open Platform services. Grant only the permissions required for the APIs you call.
Agentic service permissions
Agent chat, sessions, and usage
|
API |
Action |
Resource |
Description |
|
GenerateAgentCompletion |
searchplat:GenerateAgentCompletion |
workspaces/{workspaceName} |
Provides chat completions for agents. |
|
ListAgentSessions |
searchplat:ListAgentSessions |
workspaces/{workspaceName} |
Lists agent sessions. |
|
DeleteAgentSession |
searchplat:DeleteAgentSession |
workspaces/{workspaceName} |
Deletes an agent session. |
|
GetAgentSession |
searchplat:GetAgentSession |
workspaces/{workspaceName} |
Gets the details of an agent session. |
|
GetAgentCallProcess |
searchplat:GetAgentCallProcess |
workspaces/{workspaceName} |
Processes agent tool calls. |
|
GenerateAgentAcp |
searchplat:GenerateAgentAcp |
workspaces/{workspaceName} |
Provides the agent ACP service. |
|
GetAgentUsage |
searchplat:GetAgentUsage |
workspaces/{workspaceName} |
Gets agent usage. |
Knowledge bases and Agentic Wiki
|
API |
Action |
Resource |
Description |
|
GetKnowledgeBaseVerification |
searchplat:GetKnowledgeBaseVerification |
workspaces/{workspaceName} |
Validates a knowledge base. |
|
PushKnowledgeBaseDoc |
searchplat:PushKnowledgeBaseDoc |
workspaces/{workspaceName} |
Pushes a document to a knowledge base. |
|
ListKnowledgeBaseDocs |
searchplat:ListKnowledgeBaseDocs |
workspaces/{workspaceName} |
Lists knowledge base documents. |
|
GetKnowledgeBaseDoc |
searchplat:GetKnowledgeBaseDoc |
workspaces/{workspaceName} |
Gets the details of a knowledge base document. |
|
DeleteKnowledgeBaseDoc |
searchplat:DeleteKnowledgeBaseDoc |
workspaces/{workspaceName} |
Deletes a knowledge base document. |
|
GetAgenticWikiIndex |
searchplat:GetAgenticWikiIndex |
workspaces/{workspaceName} |
Gets the Agentic Wiki index. |
|
ListAgenticWikiPages |
searchplat:ListAgenticWikiPages |
workspaces/{workspaceName} |
Lists Agentic Wiki pages. |
|
GetAgenticWikiDetail |
searchplat:GetAgenticWikiDetail |
workspaces/{workspaceName} |
Gets the details of an Agentic Wiki page. |
|
GetAgenticWikiGlobalGraph |
searchplat:GetAgenticWikiGlobalGraph |
workspaces/{workspaceName} |
Gets the global graph for Agentic Wiki. |
|
GetKnowledgeBaseSchema |
searchplat:GetKnowledgeBaseSchema |
workspaces/{workspaceName} |
Gets the knowledge base system schema. |
|
UpdateKnowledgeBaseAttribute |
searchplat:UpdateKnowledgeBaseAttribute |
workspaces/{workspaceName} |
Updates the properties of a knowledge base document. |
Core AI Search Open Platform permissions
Models and content processing
|
API |
Action |
Resource |
Description |
|
GetTextEmbedding |
searchplat:GetTextEmbedding |
workspaces/{workspaceName} |
Text embedding service. |
|
GetTextSparseEmbedding |
searchplat:GetTextSparseEmbedding |
workspaces/{workspaceName} |
Text sparse embedding service. |
|
CreateDocumentAnalyzeTask |
searchplat:CreateDocumentAnalyzeTask |
workspaces/{workspaceName} |
Creates an asynchronous document parsing request. |
|
DescribeDocumentAnalyzeTask |
searchplat:DescribeDocumentAnalyzeTask |
workspaces/{workspaceName} |
Gets the result of an asynchronous document parsing request. |
|
GetDocumentAnalysis |
searchplat:GetDocumentAnalysis |
workspaces/{workspaceName} |
Gets the result of a synchronous document parsing request. |
|
CreateImageAnalyzeTask |
searchplat:CreateImageAnalyzeTask |
workspaces/{workspaceName} |
Creates an asynchronous image analysis request. |
|
DescribeImageAnalyzeTask |
searchplat:DescribeImageAnalyzeTask |
workspaces/{workspaceName} |
Gets the result of an asynchronous image analysis request. |
|
GetImageAnalysis |
searchplat:GetImageAnalysis |
workspaces/{workspaceName} |
Gets the result of a synchronous image analysis request. |
|
GetDocumentSplit |
searchplat:GetDocumentSplit |
workspaces/{workspaceName} |
Document chunking service. |
|
GetDocumentRank |
searchplat:GetDocumentRank |
workspaces/{workspaceName} |
Re-ranking service. |
|
GetTextGeneration |
searchplat:GetTextGeneration |
workspaces/{workspaceName} |
LLM service for content generation. |
|
GetQueryAnalysis |
searchplat:GetQueryAnalysis |
workspaces/{workspaceName} |
Query semantic analysis service. |
|
GetEmbeddingTuning |
searchplat:GetEmbeddingTuning |
workspaces/{workspaceName} |
Embedding fine-tuning service. |
|
GetWebSearch |
searchplat:SearchWeb |
workspaces/{workspaceName} |
Web search service. |
|
GetMultiModalEmbedding |
searchplat:GetMultiModalEmbedding |
workspaces/{workspaceName} |
Multimodal embedding service. |
|
CreateVideoSnapshotTask |
searchplat:CreateVideoSnapshotTask |
workspaces/{workspaceName} |
Creates an asynchronous video frame extraction task. |
|
GetVideoSnapshotTaskStatus |
searchplat:DescribeVideoSnapshotTask |
workspaces/{workspaceName} |
Gets the status of a video frame extraction task. |
|
CreateAudioAsrTask |
searchplat:CreateAudioAsrTask |
workspaces/{workspaceName} |
Creates an asynchronous audio transcription task. |
|
GetAudioAsrTaskStatus |
searchplat:DescribeAudioAsrTask |
workspaces/{workspaceName} |
Gets the status of an asynchronous audio transcription task. |
|
GetImageObjectDetection |
searchplat:GetImageObjectDetection |
workspaces/{workspaceName} |
Image object detection service. |
|
GetMultiModalReranker |
searchplat:GetMultiModalReranker |
workspaces/{workspaceName} |
Multimodal re-ranking service. |
|
CreateVideoSummarizationTask |
searchplat:CreateVideoSummarizationTask |
workspaces/{workspaceName} |
Creates an asynchronous video summarization task. |
|
GetVideoSummarizationTaskStatus |
searchplat:DescribeVideoSummarizationTask |
workspaces/{workspaceName} |
Gets the status of a video summarization task. |
|
CreateVideoSegmentationTask |
searchplat:CreateVideoSegmentationTask |
workspaces/{workspaceName} |
Creates an asynchronous video segmentation task. |
|
GetVideoSegmentationTaskStatus |
searchplat:DescribeVideoSegmentationTask |
workspaces/{workspaceName} |
Gets the status of a video segmentation task. |
|
GetVideoSnapshot |
searchplat:GetVideoSnapshot |
workspaces/{workspaceName} |
Synchronous video frame extraction service. |
|
GetAudioAsr |
searchplat:GetAudioAsr |
workspaces/{workspaceName} |
Synchronous audio transcription service. |
|
GetJinaAiReader |
searchplat:GetJinaAiReader |
workspaces/{workspaceName} |
Jina AI Reader web page parsing service. |
Free API call quota
|
API |
Action |
Resource |
Description |
|
DescribeMeasure |
searchplat:DescribeMeasure |
workspaces/{workspaceName} |
Gets the remaining free API call quota. |
Procedure
Step 1: Create a RAM user
A RAM user is a physical identity with a fixed ID and credentials, representing a person or an application. Key characteristics:
-
A RAM user can be created by an Alibaba Cloud account, or by a RAM user or RAM role with administrative rights. In either case, the created RAM user belongs to the Alibaba Cloud account of the creator.
-
A RAM user does not own resources. All usage fees are billed to the parent Alibaba Cloud account. RAM users cannot receive bills or make payments.
-
RAM users must be authorized before they can log on to the console or call API operations. After authorization, they can access resources owned by the parent Alibaba Cloud account.
-
RAM users have independent passwords or AccessKey pairs for logon.
-
An Alibaba Cloud account can create multiple RAM users to represent employees, systems, and applications.
For instructions, see Create a RAM user.
Step 2: Create a custom permission policy
See Examples of minimum required permissions, then choose the required entries from the Permission list and combine them into a policy that grants only the permissions your application needs. For instructions, see Create a custom policy.
Step 3: Authorize the RAM user
After you attach a RAM system or custom policy, the RAM user can access Alibaba Cloud resources with the permissions in that policy. Follow the principle of least privilege and grant only the permissions the user needs. For instructions, see Manage RAM user permissions.
Permission changes take effect in about 5 minutes.
Examples of minimum required permissions
Example 1: Allow a RAM user to list workspaces, check the remaining free quota, and call the document chunking service in the default workspace.
{
"Version": "1",
"Statement": [
{
"Effect": "Allow",
"Action": "searchplat:ListWorkspaces",
"Resource": "acs:searchplat:*:*:workspaces/*"
},
{
"Effect": "Allow",
"Action": [
"searchplat:DescribeWorkspace",
"searchplat:GetDocumentSplit",
"searchplat:DescribeMeasure"
],
"Resource": "acs:searchplat:*:*:workspaces/default"
}
]
}
Example 2: Allow a RAM user to list workspaces, check the remaining free service quota, manage API keys, and call the document chunking service in the default workspace.
{
"Version": "1",
"Statement": [
{
"Effect": "Allow",
"Action": [
"searchplat:ListWorkspaces"
],
"Resource": "acs:searchplat:*:*:workspaces/*"
},
{
"Effect": "Allow",
"Action": [
"searchplat:DescribeWorkspace",
"searchplat:WriteCredentials",
"searchplat:GetDocumentSplit",
"searchplat:DescribeCredentials",
"searchplat:DescribeMeasure"
],
"Resource": "acs:searchplat:*:*:workspaces/default"
}
]
}