All Products
Search
Document Center

Alibaba Cloud Model Studio:List of operations by function

Last Updated:Mar 13, 2025
This product(bailian/2023-12-29) OpenAPI adopts ROA Signature style. See signature details in Description of the signature mechanism. We have packaged SDKs for common programming languages for developers. Developers can directly call the OpenAPI of this product by downloading the SDK without paying attention to the technical details. If the existing SDK cannot meet the usage requirements, you can connect through the signature mechanism. It will take about 5 working days. Therefore, it is recommended to join our DingTalk service group (78410016550) and sign under the guidance of experts.
Before using the API, you need to prepare your identity account and access key (AccessKey) to effectively access the API through client tools (SDK, CLI, etc.). For details see getAccessKey.

Data Center

APITitleDescription
AddFileAddFileImports an unstructured document stored in the temporary storage space to Data Management. You cannot use the API to import structured documents. Use the console instead.
ApplyFileUploadLeaseApplyFileUploadLeaseApplies for a document upload lease to upload a document. You cannot use the API to upload structured documents. Use the console instead.
DescribeFileDescribeFileObtains the basic information of a document, including the document name, type, and status.

Knowledge Index

APITitleDescription
CreateIndexCreateIndexCreates an unstructured knowledge base and imports one or more parsed documents into the knowledge base. You cannot create a structured knowledge base by calling an API operation. Use the console instead.
GetIndexJobStatusGetIndexJobStatusQueries the current status of a specified knowledge base creation or add document job.
SubmitIndexJobSubmitIndexJobSubmits a specified CreateIndex job to complete knowledge base creation.
SubmitIndexAddDocumentsJobSubmitIndexAddDocumentsJobAdds parsed documents to an unstructured knowledge base. You cannot use the API to add knowledge to structured knowledge bases, see the Usage notes section of this topic.
RetrieveRetrieveQueries information from a specified knowledge base.
ListIndexDocumentsListIndexDocumentsQueries the details of one or more documents in a specified knowledge base.
ListChunksListChunksFor unstructured knowledge base, obtains the details of all chunks of a specified document; for structured knowledge base, obtains the details of all chunks.
ListIndicesListIndicesLists the details about the next or multiple knowledge bases in a specified workspace.
DeleteIndexDeleteIndexDeletes a specified knowledge base permanently.
DeleteIndexDocumentDeleteIndexDocumentDeletes one or more documents from a specified unstructured knowledge base permanently. You cannot use the API to delete structured documents, see the Usage notes section of this topic.

Prompt Engineering

APITitleDescription
GetPromptTemplateGetPromptTemplateObtains a prompt template based on the template ID.
UpdatePromptTemplateUpdatePromptTemplateUpdates a prompt template based on the template ID.
DeletePromptTemplateDeletePromptTemplateDeletes a prompt template based on the template ID.
ListPromptTemplatesListPromptTemplatesObtains a list of prompt templates.
ListPromptTemplatesListPromptTemplates