{"openapi":"3.1.0","info":{"title":"Apizie","version":"2.0.0","description":"One API key, one envelope, many public data sources."},"servers":[{"url":"https://apizie.tech"}],"security":[{"ApiKeyAuth":[]}],"paths":{"/v1/cloud:aliyun-bailian/add-category":{"post":{"operationId":"cloud_aliyun_bailian_add_category","summary":"Creates a category in a specified workspace for classifying and managing files. A maximum of 500 categories…","description":"POST /{WorkspaceId}/datacenter/category/","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["WorkspaceId","CategoryName","CategoryType"],"properties":{"endpoint":{"type":"string","enum":["https://bailian.ap-southeast-1.aliyuncs.com","https://bailian.cn-beijing.aliyuncs.com"],"default":"https://bailian.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://bailian.ap-southeast-1.aliyuncs.com"},"WorkspaceId":{"type":"string","description":"The workspace ID. The category is created in this workspace. For more information about how to obtain the workspace ID, see…"},"CategoryName":{"type":"string","description":"The category name. The name must be 1 to 20 characters in length and can contain characters in the Unicode letter category, including…"},"CategoryType":{"type":"string","enum":["UNSTRUCTURED"],"description":"The category type. Valid values: UNSTRUCTURED: category"},"ParentCategoryId":{"type":"string","description":"The ID of the parent category. The new category is created under this parent category. If this parameter is left empty, a first-level…"},"ConnectorId":{"type":"string","description":"The instance ID of the data connector (Connector). Obtain this value from the Model Studio console"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-bailian/add-chunk":{"post":{"operationId":"cloud_aliyun_bailian_add_chunk","summary":"Adds chunks to a document search (document), data query (table), or image Q&A (image) knowledge base","description":"POST /{WorkspaceId}/chunk/create","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["PipelineId","WorkspaceId"],"properties":{"endpoint":{"type":"string","enum":["https://bailian.ap-southeast-1.aliyuncs.com","https://bailian.cn-beijing.aliyuncs.com"],"default":"https://bailian.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://bailian.ap-southeast-1.aliyuncs.com"},"PipelineId":{"type":"string","description":"The knowledge base ID"},"WorkspaceId":{"type":"string","description":"The workspace ID"},"dataId":{"type":"string","description":"The file ID"},"field":{"type":"string","description":"The chunk content to insert, passed as key-value pairs. For document search knowledge bases, use the following fixed key list: content…"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-bailian/add-connector":{"post":{"operationId":"cloud_aliyun_bailian_add_connector","summary":"Creates a connector. Currently, this operation supports creating only file-type connectors","description":"POST /{WorkspaceId}/datacenter/connector","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["WorkspaceId","ConnectorName","ConnectorType","Description"],"properties":{"endpoint":{"type":"string","enum":["https://bailian.ap-southeast-1.aliyuncs.com","https://bailian.cn-beijing.aliyuncs.com"],"default":"https://bailian.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://bailian.ap-southeast-1.aliyuncs.com"},"WorkspaceId":{"type":"string","description":"The ID of the workspace where the knowledge base resides"},"ConnectorName":{"type":"string","description":"The name of the connector"},"ConnectorType":{"type":"string","enum":["FILE"],"description":"The type of the connector"},"Description":{"type":"string","description":"The description of the connector"},"FileConnectorConfig":{"type":"string","description":"The configuration parameters for the file connector (JSON-encoded)"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-bailian/add-file":{"post":{"operationId":"cloud_aliyun_bailian_add_file","summary":"Imports a file from the temporary storage space of Alibaba Cloud Model Studio into an Alibaba Cloud Model…","description":"PUT /{WorkspaceId}/datacenter/file","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["LeaseId","Parser","CategoryId","WorkspaceId"],"properties":{"endpoint":{"type":"string","enum":["https://bailian.ap-southeast-1.aliyuncs.com","https://bailian.cn-beijing.aliyuncs.com"],"default":"https://bailian.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://bailian.ap-southeast-1.aliyuncs.com"},"LeaseId":{"type":"string","description":"The upload lease ID, which corresponds to the `FileUploadLeaseId` returned by the ApplyFileUploadLease operation"},"Parser":{"type":"string","description":"The parser type. Valid values: DOCMIND: intelligent document parsing. DOCMIND_DIGITAL: electronic document parsing. DOCMIND_LLM_VERSION:…"},"CategoryId":{"type":"string","description":"When CategoryType is set to UNSTRUCTURED, specify the category ID to which the uploaded file belongs. This is the `CategoryId` returned by…"},"WorkspaceId":{"type":"string","description":"The workspace ID. The file is uploaded to this workspace. For information about how to obtain the workspace ID, see…"},"Tags":{"type":"string","description":"The list of tags associated with the file. You can specify up to 100 tags, and the total character length of all tags cannot exceed 700.…"},"CategoryType":{"type":"string","enum":["UNSTRUCTURED","SESSION_FILE"],"description":"The category type. Optional. Default value: UNSTRUCTURED. Valid values: UNSTRUCTURED: category, used for building knowledge base…"},"OriginalFileUrl":{"type":"string","description":"Adds a URL to the file through this parameter. The system records this link when building a…"},"ParserConfig":{"type":"string","description":"The parser configuration. This parameter is required only when the parser type is set to Qwen VL parsing (JSON-encoded)"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-bailian/add-files-from-authorized-oss":{"post":{"operationId":"cloud_aliyun_bailian_add_files_from_authorized_oss","summary":"Imports files from an authorized OSS bucket into Alibaba Cloud Model Studio application data","description":"POST /{WorkspaceId}/datacenter/file/fromoss","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["WorkspaceId","CategoryId","CategoryType","OssRegionId","OssBucketName","FileDetails"],"properties":{"endpoint":{"type":"string","enum":["https://bailian.ap-southeast-1.aliyuncs.com","https://bailian.cn-beijing.aliyuncs.com"],"default":"https://bailian.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://bailian.ap-southeast-1.aliyuncs.com"},"WorkspaceId":{"type":"string","description":"The workspace ID. Files are imported to this workspace. For more information about how to obtain the ID, see…"},"CategoryId":{"type":"string","description":"The ID of the destination category for the imported files. This is the CategoryId returned by the AddCategory operation. You can also…"},"CategoryType":{"type":"string","enum":["UNSTRUCTURED","SESSION_FILE"],"description":"The category type. This parameter is optional. Default value: UNSTRUCTURED. Valid values: UNSTRUCTURED: category, used for building…"},"OssRegionId":{"type":"string","description":"The region ID of the OSS bucket. For more information about how to obtain the ID, see https://help.aliyun.com/document_detail/31837.html"},"OssBucketName":{"type":"string","description":"The name of the OSS bucket. For more information, see https://help.aliyun.com/document_detail/177682.html. Before you import data from OSS…"},"FileDetails":{"type":"string","description":"The list of files to import. You can upload up to 10 files at a time. You can upload up to 10 files at a time (JSON-encoded)"},"Tags":{"type":"string","description":"The list of tags associated with the file. Default value: empty, which means the file is not associated with any tags. You can specify up…"},"OverWriteFileByOssKey":{"type":"string","description":"Specifies whether to overwrite identical files in the category based on the OssKey. Default value: false, which means identical files are…"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-bailian/add-table":{"post":{"operationId":"cloud_aliyun_bailian_add_table","summary":"Adds a table to a tabular data connector","description":"POST /{WorkspaceId}/datacenter/table","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["WorkspaceId","TableName","ConnectorId","TableColumns"],"properties":{"endpoint":{"type":"string","enum":["https://bailian.ap-southeast-1.aliyuncs.com","https://bailian.cn-beijing.aliyuncs.com"],"default":"https://bailian.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://bailian.ap-southeast-1.aliyuncs.com"},"WorkspaceId":{"type":"string","description":"The ID of the workspace to which the file belongs. For information about how to obtain the workspace ID, see…"},"TableName":{"type":"string","description":"The table name"},"TableDesc":{"type":"string","description":"The table description"},"ConnectorId":{"type":"string","description":"The connector ID"},"TableColumns":{"type":"string","description":"The column information of the table (JSON-encoded)"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-bailian/apply-file-upload-lease":{"post":{"operationId":"cloud_aliyun_bailian_apply_file_upload_lease","summary":"Requests an upload lease for uploading a knowledge base file or a file for agent application session…","description":"POST /{WorkspaceId}/datacenter/category/{CategoryId}","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["CategoryId","FileName","Md5","SizeInBytes","WorkspaceId"],"properties":{"endpoint":{"type":"string","enum":["https://bailian.ap-southeast-1.aliyuncs.com","https://bailian.cn-beijing.aliyuncs.com"],"default":"https://bailian.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://bailian.ap-southeast-1.aliyuncs.com"},"CategoryId":{"type":"string","description":"When uploading a file for building a https://help.aliyun.com/document_detail/2807740.html: This parameter specifies the category ID to…"},"FileName":{"type":"string","description":"When uploading a file for building a https://help.aliyun.com/document_detail/2807740.html: This parameter specifies the name of the file…"},"Md5":{"type":"string","description":"The MD5 value of the file to upload. The server validates this parameter (validation is not currently enabled). Specify the correct value"},"SizeInBytes":{"type":"string","description":"The size of the file to upload, in bytes. The server validates this parameter (validation is not currently enabled). Specify the correct…"},"WorkspaceId":{"type":"string","description":"The workspace ID to which the uploaded file belongs. For information about how to obtain the workspace ID, see…"},"CategoryType":{"type":"string","enum":["UNSTRUCTURED","SESSION_FILE"],"description":"The category type. If this parameter is not specified, the default value is UNSTRUCTURED. Valid values: UNSTRUCTURED: category, used for…"},"UseInternalEndpoint":{"type":"string","description":"If you use Alibaba Cloud Model Studio secure storage…"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-bailian/apply-temp-storage-lease":{"post":{"operationId":"cloud_aliyun_bailian_apply_temp_storage_lease","summary":"This interface is intended for pro-code deployment only; other scenarios are currently not supported. It is…","description":"POST /{WorkspaceId}/datacenter","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["FileName","SizeInBytes","WorkspaceId"],"properties":{"endpoint":{"type":"string","enum":["https://bailian.ap-southeast-1.aliyuncs.com","https://bailian.cn-beijing.aliyuncs.com"],"default":"https://bailian.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://bailian.ap-southeast-1.aliyuncs.com"},"FileName":{"type":"string","description":"The file name, including the file extension"},"SizeInBytes":{"type":"integer","description":"The size of the file, in bytes"},"WorkspaceId":{"type":"string","description":"The Model Studio workspace ID"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-bailian/batch-update-file-tag":{"post":{"operationId":"cloud_aliyun_bailian_batch_update_file_tag","summary":"Batch updates document tags in a data connection","description":"PUT /{WorkspaceId}/datacenter/batchupdatetag","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["WorkspaceId","FileInfos"],"properties":{"endpoint":{"type":"string","enum":["https://bailian.ap-southeast-1.aliyuncs.com","https://bailian.cn-beijing.aliyuncs.com"],"default":"https://bailian.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://bailian.ap-southeast-1.aliyuncs.com"},"WorkspaceId":{"type":"string","description":"The workspace ID. On the console homepage (https://bailian.console.aliyun.com/knowledge-base#/home) console homepage…"},"FileInfos":{"type":"string","description":"The list of documents to update (JSON-encoded)"},"UpdateMode":{"type":"string","enum":["OVERWRITE","APPEND"],"description":"The update mode. Valid values: APPEND (append) and OVERWRITE (overwrite)"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-bailian/change-parse-setting":{"post":{"operationId":"cloud_aliyun_bailian_change_parse_setting","summary":"Configures the parsing method for specific file types. For example, specifies large model document parsing…","description":"PUT /{WorkspaceId}/datacenter/parser/settings","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["WorkspaceId","CategoryId","FileType","Parser"],"properties":{"endpoint":{"type":"string","enum":["https://bailian.ap-southeast-1.aliyuncs.com","https://bailian.cn-beijing.aliyuncs.com"],"default":"https://bailian.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://bailian.ap-southeast-1.aliyuncs.com"},"WorkspaceId":{"type":"string","description":"The ID of the workspace to which the category belongs. For more information about how to obtain the workspace ID, see…"},"CategoryId":{"type":"string","description":"The category ID, which is the `CategoryId` returned by the AddCategory operation. You can also obtain it by clicking the ID icon next to…"},"FileType":{"type":"string","enum":["doc","docx","ppt","pptx","xls","xlsx","md","txt","pdf","png","jpg","jpeg","bmp","gif","html"],"description":"The file type (extension). Valid values: doc docx ppt pptx xls xlsx md txt pdf png jpg jpeg bmp gif html"},"Parser":{"type":"string","enum":["DOCMIND","DOCMIND_DIGITAL","DOCMIND_LLM_VERSION","DASH_SENSEVOICE","RAG_VIDEO_PARSER","DASH_QWEN_VL_PARSER","BAILIAN_TXT_PARSER"],"description":"The parser identifier code. Different parsers are applicable to different scenarios. For more information, see \"Knowledge Base\". Valid…"},"ParserConfig":{"type":"string","description":"The parser configuration. This parameter is required only when the parser is set to Qwen VL parsing (JSON-encoded)"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-bailian/create-index":{"post":{"operationId":"cloud_aliyun_bailian_create_index","summary":"Creates two types of knowledge bases: unstructured knowledge bases based on documents or audio and video,…","description":"POST /{WorkspaceId}/index/create","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["WorkspaceId","Name","StructureType","SinkType"],"properties":{"endpoint":{"type":"string","enum":["https://bailian.ap-southeast-1.aliyuncs.com","https://bailian.cn-beijing.aliyuncs.com"],"default":"https://bailian.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://bailian.ap-southeast-1.aliyuncs.com"},"WorkspaceId":{"type":"string","description":"The workspace ID. The knowledge base is created in this workspace. For more information about how to obtain the ID, refer to…"},"Name":{"type":"string","description":"The name of the knowledge base. The name must be 1 to 20 characters in length and can contain Chinese characters, English letters, digits,…"},"StructureType":{"type":"string","description":"The type of the knowledge base. Valid values: unstructured: a knowledge base for document search or audio and video. The default use…"},"EmbeddingModelName":{"type":"string","description":"The embedding model used by the knowledge base. The embedding model is used to transform the original input prompt and knowledge text into…"},"RerankModelName":{"type":"string","description":"The reranking model used by the knowledge base. The reranking model is a scoring system external to the knowledge base. It calculates the…"},"RerankMinScore":{"type":"number","description":"The similarity threshold. Only text chunks with a similarity score greater than this value are recalled. This parameter is used to filter…"},"ChunkSize":{"type":"integer","description":"The chunk size, which is the maximum number of characters in each text chunk. If the text exceeds this length: Intelligent chunking…"},"OverlapSize":{"type":"integer","description":"The chunk overlap size, which indicates the number of overlapping characters between the current text chunk and the previous text chunk.…"},"Separator":{"type":"string","description":"The sentence separator. This parameter takes effect only when chunkMode is set to regex. In other modes, this parameter does not take…"},"SourceType":{"type":"string","description":"This parameter is required in the latest SDK version. Otherwise, an error is reported when you call the SubmitIndexJob operation: Required…"},"DocumentIds":{"type":"string","description":"You can import files synchronously when you create a knowledge base. Here, you can specify the list of files to be imported by passing…"},"CategoryIds":{"type":"string","description":"You can import files synchronously when you create a knowledge base. Here, you can import all files under a specified category by…"},"TableIds":{"type":"string","description":"You can obtain the ID by clicking the ID icon next to the table name on the Tables tab of the Table Connector in Data Connection…"},"SinkType":{"type":"string","description":"The vector storage type of the knowledge base. For more information, refer to https://help.aliyun.com/document_detail/2807740.html. Valid…"},"SinkInstanceId":{"type":"string","description":"The ID of the AnalyticDB for PostgreSQL instance. This parameter is required only when SinkType is set to ADB. Go to the AnalyticDB for…"},"SinkRegion":{"type":"string","description":"The region where the AnalyticDB for PostgreSQL instance resides. This parameter is required only when SinkType is set to ADB. You can call…"},"Columns":{"type":"string","description":"The structure of the data table, such as column names and types. This parameter is not available. Do not pass this parameter. (JSON-encoded)"},"Description":{"type":"string","description":"The description of the knowledge base. The description must be 0 to 200 characters in length and can contain English and Chinese…"},"metaExtractColumns":{"type":"string","description":"The metadata extraction configuration. Metadata is a series of additional attributes related to the content of unstructured data. These…"},"enableHeaders":{"type":"string","description":"Specifies whether to use the first row of all .xlsx and .xls files as the header and concatenate it to each text chunk to prevent the…"},"chunkMode":{"type":"string","description":"Enables custom chunking and specifies the chunking strategy. For more information, refer to…"},"EnableRewrite":{"type":"string","description":"Specifies whether to enable multi-turn conversation rewriting. Valid values: true: enabled. false: disabled. Default value: true"},"CreateIndexType":{"type":"string","description":"This parameter is not available. Do not pass this parameter"},"pipelineCommercialType":{"type":"string","enum":["enterprise","standard"],"description":"The https://help.aliyun.com/document_detail/2997110.html of the knowledge base. Valid values: standard: Standard Edition enterprise:…"},"pipelineCommercialCu":{"type":"integer","description":"The number of RCUs for the knowledge base. This parameter is required only when pipelineCommercialType is set to enterprise. Valid values:…"},"pipelineRetrieveRateLimitStrategy":{"type":"string","enum":["downgrade"],"description":"The throttling handling strategy for the knowledge base dependency link. This parameter is required only when pipelineCommercialType is…"},"datasourceCode":{"type":"string","description":"The datasourceCode"},"table":{"type":"string","description":"The table"},"database":{"type":"string","description":"The database"},"knowledgeType":{"type":"string","description":"The specific knowledge type, which is used to further specify the type of data processed by the knowledge base. This parameter must be…"},"knowledgeScene":{"type":"string","description":"The knowledgeScene"},"connectId":{"type":"string","description":"连接器标识符"},"channelType":{"type":"string","description":"渠道类型"},"RerankMode":{"type":"string","description":"Specifies the instruction intervention mode of the reranking model to determine its scoring preference. Valid values: qa: question…"},"RerankInstruct":{"type":"string","description":"This parameter is not available. Do not specify this parameter. Provides a natural language instruction to fine-tune the behavior of the…"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-bailian/create-memory":{"post":{"operationId":"cloud_aliyun_bailian_create_memory","summary":"Creates a long-term memory","description":"POST /{workspaceId}/memories","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["workspaceId"],"properties":{"endpoint":{"type":"string","enum":["https://bailian.ap-southeast-1.aliyuncs.com","https://bailian.cn-beijing.aliyuncs.com"],"default":"https://bailian.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://bailian.ap-southeast-1.aliyuncs.com"},"workspaceId":{"type":"string","description":"The ID of the workspace to which the long-term memory belongs. For information about how to obtain the workspace ID, see…"},"description":{"type":"string","description":"The description of the long-term memory. The description is empty by default. The value must be 1 to 50 characters in length and can…"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-bailian/create-memory-node":{"post":{"operationId":"cloud_aliyun_bailian_create_memory_node","summary":"Creates a memory node","description":"POST /{workspaceId}/memories/{memoryId}/memoryNodes","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["workspaceId","memoryId","content"],"properties":{"endpoint":{"type":"string","enum":["https://bailian.ap-southeast-1.aliyuncs.com","https://bailian.cn-beijing.aliyuncs.com"],"default":"https://bailian.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://bailian.ap-southeast-1.aliyuncs.com"},"workspaceId":{"type":"string","description":"The ID of the workspace to which the long-term memory belongs. For information about how to obtain the workspace ID, see…"},"memoryId":{"type":"string","description":"The long-term memory ID, which is the memoryId returned by the CreateMemory operation"},"content":{"type":"string","description":"The content of the memory node. The content must be 1 to 200 characters in length and can contain letters, digits, underscores (_),…"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-bailian/create-prompt-template":{"post":{"operationId":"cloud_aliyun_bailian_create_prompt_template","summary":"Create a prompt template","description":"POST /{workspaceId}/promptTemplates","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["workspaceId","name","content"],"properties":{"endpoint":{"type":"string","enum":["https://bailian.ap-southeast-1.aliyuncs.com","https://bailian.cn-beijing.aliyuncs.com"],"default":"https://bailian.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://bailian.ap-southeast-1.aliyuncs.com"},"workspaceId":{"type":"string","description":"Workspace ID"},"name":{"type":"string","description":"Template name"},"content":{"type":"string","description":"Prompt template content"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-bailian/delete-category":{"post":{"operationId":"cloud_aliyun_bailian_delete_category","summary":"Permanently deletes a specified category","description":"DELETE /{WorkspaceId}/datacenter/category/{CategoryId}/","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["CategoryId","WorkspaceId"],"properties":{"endpoint":{"type":"string","enum":["https://bailian.ap-southeast-1.aliyuncs.com","https://bailian.cn-beijing.aliyuncs.com"],"default":"https://bailian.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://bailian.ap-southeast-1.aliyuncs.com"},"CategoryId":{"type":"string","description":"The category ID, which is the `CategoryId` returned by the AddCategory operation. You can also obtain it on the Application Data…"},"WorkspaceId":{"type":"string","description":"The ID of the workspace to which the category belongs. For information about how to obtain the workspace ID, see…"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-bailian/delete-chunk":{"post":{"operationId":"cloud_aliyun_bailian_delete_chunk","summary":"Deletes a specified text chunk from a knowledge base. Deleted text chunks cannot be retrieved or recalled","description":"POST /{WorkspaceId}/chunk/delete","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["PipelineId","WorkspaceId","ChunkIds"],"properties":{"endpoint":{"type":"string","enum":["https://bailian.ap-southeast-1.aliyuncs.com","https://bailian.cn-beijing.aliyuncs.com"],"default":"https://bailian.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://bailian.ap-southeast-1.aliyuncs.com"},"PipelineId":{"type":"string","description":"The knowledge base ID, which is the `Data.Id` returned by the CreateIndex operation"},"WorkspaceId":{"type":"string","description":"The ID of the workspace to which the knowledge base belongs. For information about how to obtain the ID, see…"},"ChunkIds":{"type":"string","description":"The list of text chunk IDs to delete. A maximum of 10 text chunk IDs can be passed in a single request (JSON-encoded)"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-bailian/delete-connector":{"post":{"operationId":"cloud_aliyun_bailian_delete_connector","summary":"Deletes a connector","description":"DELETE /{WorkspaceId}/datacenter/connector/{ConnectorId}","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["ConnectorId","WorkspaceId"],"properties":{"endpoint":{"type":"string","enum":["https://bailian.ap-southeast-1.aliyuncs.com","https://bailian.cn-beijing.aliyuncs.com"],"default":"https://bailian.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://bailian.ap-southeast-1.aliyuncs.com"},"ConnectorId":{"type":"string","description":"The instance ID of the data connector. Obtain this from the Model Studio console"},"WorkspaceId":{"type":"string","description":"The workspace ID where the knowledge base resides"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-bailian/delete-file":{"post":{"operationId":"cloud_aliyun_bailian_delete_file","summary":"Permanently deletes a specified file from application data. Deleting data tables through the API is not…","description":"DELETE /{WorkspaceId}/datacenter/file/{FileId}/","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["FileId","WorkspaceId"],"properties":{"endpoint":{"type":"string","enum":["https://bailian.ap-southeast-1.aliyuncs.com","https://bailian.cn-beijing.aliyuncs.com"],"default":"https://bailian.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://bailian.ap-southeast-1.aliyuncs.com"},"FileId":{"type":"string","description":"The file ID, which is the `FileId` returned by the AddFile operation. The value is 32 to 128 characters in length. You can also obtain the…"},"WorkspaceId":{"type":"string","description":"The workspace ID to which the file belongs. For information about how to obtain the workspace ID, see…"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-bailian/delete-files":{"post":{"operationId":"cloud_aliyun_bailian_delete_files","summary":"Deletes files in batches","description":"POST /{WorkspaceId}/datacenter/file/delete","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["WorkspaceId","FileIds"],"properties":{"endpoint":{"type":"string","enum":["https://bailian.ap-southeast-1.aliyuncs.com","https://bailian.cn-beijing.aliyuncs.com"],"default":"https://bailian.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://bailian.ap-southeast-1.aliyuncs.com"},"WorkspaceId":{"type":"string","description":"The workspace ID to which the category belongs. For information about how to obtain the workspace ID, see…"},"FileIds":{"type":"string","description":"The list of file IDs to delete. A maximum of 20 files can be deleted at a time (JSON-encoded)"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-bailian/delete-index":{"post":{"operationId":"cloud_aliyun_bailian_delete_index","summary":"Permanently deletes a specified knowledge base","description":"POST /{WorkspaceId}/index/delete","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["IndexId","WorkspaceId"],"properties":{"endpoint":{"type":"string","enum":["https://bailian.ap-southeast-1.aliyuncs.com","https://bailian.cn-beijing.aliyuncs.com"],"default":"https://bailian.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://bailian.ap-southeast-1.aliyuncs.com"},"IndexId":{"type":"string","description":"The knowledge base ID, which is the `Data.Id` returned by the CreateIndex operation"},"WorkspaceId":{"type":"string","description":"The workspace ID of the knowledge base. For information about how to obtain the workspace ID, see…"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-bailian/delete-index-document":{"post":{"operationId":"cloud_aliyun_bailian_delete_index_document","summary":"Permanently deletes files from a specified knowledge base","description":"POST /{WorkspaceId}/index/delete_index_document","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["WorkspaceId","IndexId","DocumentIds"],"properties":{"endpoint":{"type":"string","enum":["https://bailian.ap-southeast-1.aliyuncs.com","https://bailian.cn-beijing.aliyuncs.com"],"default":"https://bailian.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://bailian.ap-southeast-1.aliyuncs.com"},"WorkspaceId":{"type":"string","description":"The ID of the workspace to which the knowledge base belongs. For information about how to obtain the workspace ID, see…"},"IndexId":{"type":"string","description":"The knowledge base ID, which is the `Data.Id` returned by the CreateIndex operation"},"DocumentIds":{"type":"string","description":"The list of file IDs (JSON-encoded)"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-bailian/delete-memory":{"post":{"operationId":"cloud_aliyun_bailian_delete_memory","summary":"Permanently deletes a specified long-term memory","description":"DELETE /{workspaceId}/memories/{memoryId}","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["workspaceId","memoryId"],"properties":{"endpoint":{"type":"string","enum":["https://bailian.ap-southeast-1.aliyuncs.com","https://bailian.cn-beijing.aliyuncs.com"],"default":"https://bailian.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://bailian.ap-southeast-1.aliyuncs.com"},"workspaceId":{"type":"string","description":"The ID of the workspace to which the long-term memory belongs. For information about how to obtain the workspace ID, see…"},"memoryId":{"type":"string","description":"The ID of the long-term memory, which corresponds to the memoryId returned by the CreateMemory…"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-bailian/delete-memory-node":{"post":{"operationId":"cloud_aliyun_bailian_delete_memory_node","summary":"Deletes a memory fragment","description":"DELETE /{workspaceId}/memories/{memoryId}/memoryNodes/{memoryNodeId}","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["workspaceId","memoryId","memoryNodeId"],"properties":{"endpoint":{"type":"string","enum":["https://bailian.ap-southeast-1.aliyuncs.com","https://bailian.cn-beijing.aliyuncs.com"],"default":"https://bailian.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://bailian.ap-southeast-1.aliyuncs.com"},"workspaceId":{"type":"string","description":"The workspace ID"},"memoryId":{"type":"string","description":"The long-term memory ID"},"memoryNodeId":{"type":"string","description":"The memory fragment ID"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-bailian/delete-prompt-template":{"post":{"operationId":"cloud_aliyun_bailian_delete_prompt_template","summary":"Deletes a prompt template based on the template ID","description":"DELETE /{workspaceId}/promptTemplates/{promptTemplateId}","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["workspaceId","promptTemplateId"],"properties":{"endpoint":{"type":"string","enum":["https://bailian.ap-southeast-1.aliyuncs.com","https://bailian.cn-beijing.aliyuncs.com"],"default":"https://bailian.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://bailian.ap-southeast-1.aliyuncs.com"},"workspaceId":{"type":"string","description":"The workspace ID"},"promptTemplateId":{"type":"string","description":"The template ID"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-bailian/describe-file":{"get":{"operationId":"cloud_aliyun_bailian_describe_file","summary":"Queries the basic information of a file in application data, including the file name, type, and status","description":"GET /{WorkspaceId}/datacenter/file/{FileId}/","tags":["cloud"],"parameters":[{"name":"endpoint","in":"query","required":false,"description":"Regional endpoint, for example https://bailian.ap-southeast-1.aliyuncs.com","schema":{"type":"string","enum":["https://bailian.ap-southeast-1.aliyuncs.com","https://bailian.cn-beijing.aliyuncs.com"],"default":"https://bailian.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://bailian.ap-southeast-1.aliyuncs.com"}},{"name":"WorkspaceId","in":"query","required":true,"description":"The ID of the workspace to which the file belongs. For more information about how to obtain the ID, see…","schema":{"type":"string","description":"The ID of the workspace to which the file belongs. For more information about how to obtain the ID, see…"}},{"name":"FileId","in":"query","required":true,"description":"The ID of the file, which is the `FileId` returned by the AddFile operation. You can also obtain the ID by clicking the ID icon next to…","schema":{"type":"string","description":"The ID of the file, which is the `FileId` returned by the AddFile operation. You can also obtain the ID by clicking the ID icon next to…"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-bailian/get-alipay-transfer-status":{"post":{"operationId":"cloud_aliyun_bailian_get_alipay_transfer_status","summary":"Queries the tipping status of the Alipay wallet bound to an application","description":"POST /openapi/alipay/transfer/status","tags":["cloud"],"parameters":[],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"endpoint":{"type":"string","enum":["https://bailian.ap-southeast-1.aliyuncs.com","https://bailian.cn-beijing.aliyuncs.com"],"default":"https://bailian.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://bailian.ap-southeast-1.aliyuncs.com"},"workspace_id":{"type":"string","description":"The Bailian workspace ID"},"code":{"type":"string","description":"The tipping code returned by the Alipay tipping link request"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-bailian/get-alipay-url":{"get":{"operationId":"cloud_aliyun_bailian_get_alipay_url","summary":"Retrieves the Alipay tipping URL for an application","description":"GET /openapi/alipay/transfer/url","tags":["cloud"],"parameters":[{"name":"endpoint","in":"query","required":false,"description":"Regional endpoint, for example https://bailian.ap-southeast-1.aliyuncs.com","schema":{"type":"string","enum":["https://bailian.ap-southeast-1.aliyuncs.com","https://bailian.cn-beijing.aliyuncs.com"],"default":"https://bailian.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://bailian.ap-southeast-1.aliyuncs.com"}},{"name":"workspace_id","in":"query","required":false,"description":"The ID of the Bailian workspace","schema":{"type":"string","description":"The ID of the Bailian workspace"},"example":"xxxllm-czb8d47ks"},{"name":"app_id","in":"query","required":false,"description":"The ID of the Bailian application","schema":{"type":"string","description":"The ID of the Bailian application"},"example":"asfasdfxxasdf"}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-bailian/get-available-parser-types":{"get":{"operationId":"cloud_aliyun_bailian_get_available_parser_types","summary":"Retrieves the list of all supported parser types based on the specified file type (file name extension)","description":"GET /{WorkspaceId}/datacenter/parser/parsertype","tags":["cloud"],"parameters":[{"name":"endpoint","in":"query","required":false,"description":"Regional endpoint, for example https://bailian.ap-southeast-1.aliyuncs.com","schema":{"type":"string","enum":["https://bailian.ap-southeast-1.aliyuncs.com","https://bailian.cn-beijing.aliyuncs.com"],"default":"https://bailian.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://bailian.ap-southeast-1.aliyuncs.com"}},{"name":"WorkspaceId","in":"query","required":true,"description":"The ID of the workspace to which the file belongs. For information about how to obtain the workspace ID, see…","schema":{"type":"string","description":"The ID of the workspace to which the file belongs. For information about how to obtain the workspace ID, see…"}},{"name":"FileType","in":"query","required":true,"description":"The file type (extension) for which to retrieve supported parsers. Valid values: doc docx ppt pptx xls xlsx md txt pdf png jpg jpeg bmp…","schema":{"type":"string","enum":["doc","docx","ppt","pptx","xls","xlsx","md","txt","pdf","png","jpg","jpeg","bmp","gif","html"],"description":"The file type (extension) for which to retrieve supported parsers. Valid values: doc docx ppt pptx xls xlsx md txt pdf png jpg jpeg bmp…"},"example":"pdf"}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-bailian/get-connector":{"get":{"operationId":"cloud_aliyun_bailian_get_connector","summary":"Retrieves details about a connector. This operation currently supports only file connectors","description":"GET /{WorkspaceId}/datacenter/connector","tags":["cloud"],"parameters":[{"name":"endpoint","in":"query","required":false,"description":"Regional endpoint, for example https://bailian.ap-southeast-1.aliyuncs.com","schema":{"type":"string","enum":["https://bailian.ap-southeast-1.aliyuncs.com","https://bailian.cn-beijing.aliyuncs.com"],"default":"https://bailian.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://bailian.ap-southeast-1.aliyuncs.com"}},{"name":"WorkspaceId","in":"query","required":true,"description":"The ID of the business space. To obtain this ID, see https://help.aliyun.com/document_detail/2587495.html","schema":{"type":"string","description":"The ID of the business space. To obtain this ID, see https://help.aliyun.com/document_detail/2587495.html"}},{"name":"ConnectorName","in":"query","required":false,"description":"The name of the connector to query. An exact match is required","schema":{"type":"string","description":"The name of the connector to query. An exact match is required"},"example":"连接器名称"},{"name":"ConnectorId","in":"query","required":false,"description":"The ID of the connector. You can find this ID in the Model Studio console…","schema":{"type":"string","description":"The ID of the connector. You can find this ID in the Model Studio console…"},"example":"conn_file_xxxx"}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-bailian/get-index-job-status":{"get":{"operationId":"cloud_aliyun_bailian_get_index_job_status","summary":"Queries the current status of a specified knowledge base creation task or knowledge base document addition…","description":"GET /{WorkspaceId}/index/job/status","tags":["cloud"],"parameters":[{"name":"endpoint","in":"query","required":false,"description":"Regional endpoint, for example https://bailian.ap-southeast-1.aliyuncs.com","schema":{"type":"string","enum":["https://bailian.ap-southeast-1.aliyuncs.com","https://bailian.cn-beijing.aliyuncs.com"],"default":"https://bailian.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://bailian.ap-southeast-1.aliyuncs.com"}},{"name":"WorkspaceId","in":"query","required":true,"description":"The workspace ID. Make sure that the knowledge base you want to manage is in this workspace. For more information, see…","schema":{"type":"string","description":"The workspace ID. Make sure that the knowledge base you want to manage is in this workspace. For more information, see…"}},{"name":"JobId","in":"query","required":true,"description":"The knowledge base job task ID, which is the Data.Id returned by the SubmitIndexJob or SubmitIndexAddDocumentsJob operation","schema":{"type":"string","description":"The knowledge base job task ID, which is the Data.Id returned by the SubmitIndexJob or SubmitIndexAddDocumentsJob operation"},"example":"20230718xxxx-146c93bf"},{"name":"IndexId","in":"query","required":true,"description":"The knowledge base ID, which is the Data.Id returned by the CreateIndex operation","schema":{"type":"string","description":"The knowledge base ID, which is the Data.Id returned by the CreateIndex operation"},"example":"79c0alxxxx"},{"name":"PageNumber","in":"query","required":false,"description":"Both the SubmitIndexJob and SubmitIndexAddDocumentsJob operations support batch file import. The fields returned by this operation include…","schema":{"type":"integer","description":"Both the SubmitIndexJob and SubmitIndexAddDocumentsJob operations support batch file import. The fields returned by this operation include…"},"example":"1"},{"name":"pageSize","in":"query","required":false,"description":"The number of file import tasks to return on each page during paging. Maximum value: unlimited. Default value: 10","schema":{"type":"integer","description":"The number of file import tasks to return on each page during paging. Maximum value: unlimited. Default value: 10"},"example":"10"}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-bailian/get-index-monitor":{"get":{"operationId":"cloud_aliyun_bailian_get_index_monitor","summary":"You can call the GetIndexMonitor operation to query monitoring data for a specified knowledge base within a…","description":"GET /{WorkspaceId}/rag/index/monitor","tags":["cloud"],"parameters":[{"name":"endpoint","in":"query","required":false,"description":"Regional endpoint, for example https://bailian.ap-southeast-1.aliyuncs.com","schema":{"type":"string","enum":["https://bailian.ap-southeast-1.aliyuncs.com","https://bailian.cn-beijing.aliyuncs.com"],"default":"https://bailian.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://bailian.ap-southeast-1.aliyuncs.com"}},{"name":"WorkspaceId","in":"query","required":true,"description":"The ID of the workspace where the knowledge base is located","schema":{"type":"string","description":"The ID of the workspace where the knowledge base is located"}},{"name":"IndexId","in":"query","required":true,"description":"The unique ID of the target knowledge base","schema":{"type":"string","description":"The unique ID of the target knowledge base"},"example":"kb-123456xxxx\n"},{"name":"StartTimestamp","in":"query","required":true,"description":"The start of the time range to query. This is a UNIX timestamp in seconds","schema":{"type":"integer","description":"The start of the time range to query. This is a UNIX timestamp in seconds"},"example":"1767604500"},{"name":"EndTimestamp","in":"query","required":true,"description":"The end of the time range to query. The end time can be a maximum of 30 days after the start time. This is a UNIX timestamp in seconds","schema":{"type":"integer","description":"The end of the time range to query. The end time can be a maximum of 30 days after the start time. This is a UNIX timestamp in seconds"},"example":"1767604500"}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-bailian/get-memory":{"get":{"operationId":"cloud_aliyun_bailian_get_memory","summary":"Retrieves the description of a specified long-term memory","description":"GET /{workspaceId}/memories/{memoryId}","tags":["cloud"],"parameters":[{"name":"endpoint","in":"query","required":false,"description":"Regional endpoint, for example https://bailian.ap-southeast-1.aliyuncs.com","schema":{"type":"string","enum":["https://bailian.ap-southeast-1.aliyuncs.com","https://bailian.cn-beijing.aliyuncs.com"],"default":"https://bailian.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://bailian.ap-southeast-1.aliyuncs.com"}},{"name":"workspaceId","in":"query","required":true,"description":"The ID of the workspace to which the long-term memory belongs. For information about how to obtain the workspace ID, see…","schema":{"type":"string","description":"The ID of the workspace to which the long-term memory belongs. For information about how to obtain the workspace ID, see…"}},{"name":"memoryId","in":"query","required":true,"description":"The ID of the long-term memory, which corresponds to the memoryId returned by the CreateMemory…","schema":{"type":"string","description":"The ID of the long-term memory, which corresponds to the memoryId returned by the CreateMemory…"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-bailian/get-memory-node":{"get":{"operationId":"cloud_aliyun_bailian_get_memory_node","summary":"Retrieves a memory fragment","description":"GET /{workspaceId}/memories/{memoryId}/memoryNodes/{memoryNodeId}","tags":["cloud"],"parameters":[{"name":"endpoint","in":"query","required":false,"description":"Regional endpoint, for example https://bailian.ap-southeast-1.aliyuncs.com","schema":{"type":"string","enum":["https://bailian.ap-southeast-1.aliyuncs.com","https://bailian.cn-beijing.aliyuncs.com"],"default":"https://bailian.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://bailian.ap-southeast-1.aliyuncs.com"}},{"name":"workspaceId","in":"query","required":true,"description":"The workspace ID","schema":{"type":"string","description":"The workspace ID"}},{"name":"memoryId","in":"query","required":true,"description":"The long-term memory ID","schema":{"type":"string","description":"The long-term memory ID"}},{"name":"memoryNodeId","in":"query","required":true,"description":"The memory fragment ID","schema":{"type":"string","description":"The memory fragment ID"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-bailian/get-parse-settings":{"get":{"operationId":"cloud_aliyun_bailian_get_parse_settings","summary":"Queries the data parsing settings for a specified category","description":"GET /{WorkspaceId}/datacenter/parser/settings","tags":["cloud"],"parameters":[{"name":"endpoint","in":"query","required":false,"description":"Regional endpoint, for example https://bailian.ap-southeast-1.aliyuncs.com","schema":{"type":"string","enum":["https://bailian.ap-southeast-1.aliyuncs.com","https://bailian.cn-beijing.aliyuncs.com"],"default":"https://bailian.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://bailian.ap-southeast-1.aliyuncs.com"}},{"name":"WorkspaceId","in":"query","required":true,"description":"The ID of the workspace to which the file belongs. For information about how to obtain the workspace ID, see…","schema":{"type":"string","description":"The ID of the workspace to which the file belongs. For information about how to obtain the workspace ID, see…"}},{"name":"CategoryId","in":"query","required":false,"description":"The category ID, which is the `CategoryId` returned by the AddCategory operation. You can also obtain it from the Application Data…","schema":{"type":"string","description":"The category ID, which is the `CategoryId` returned by the AddCategory operation. You can also obtain it from the Application Data…"},"example":"cate_cdd11b1b79a74e8bbd675c356a91ee35xxxxxxxx"}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-bailian/get-prompt-template":{"get":{"operationId":"cloud_aliyun_bailian_get_prompt_template","summary":"Obtains a prompt template based on the template ID","description":"GET /{workspaceId}/promptTemplates/{promptTemplateId}","tags":["cloud"],"parameters":[{"name":"endpoint","in":"query","required":false,"description":"Regional endpoint, for example https://bailian.ap-southeast-1.aliyuncs.com","schema":{"type":"string","enum":["https://bailian.ap-southeast-1.aliyuncs.com","https://bailian.cn-beijing.aliyuncs.com"],"default":"https://bailian.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://bailian.ap-southeast-1.aliyuncs.com"}},{"name":"workspaceId","in":"query","required":true,"description":"The workspace ID","schema":{"type":"string","description":"The workspace ID"}},{"name":"promptTemplateId","in":"query","required":true,"description":"The template ID","schema":{"type":"string","description":"The template ID"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-bailian/list-category":{"post":{"operationId":"cloud_aliyun_bailian_list_category","summary":"Retrieves the details of one or more categories in a specified workspace","description":"POST /{WorkspaceId}/datacenter/categories","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["WorkspaceId","CategoryType"],"properties":{"endpoint":{"type":"string","enum":["https://bailian.ap-southeast-1.aliyuncs.com","https://bailian.cn-beijing.aliyuncs.com"],"default":"https://bailian.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://bailian.ap-southeast-1.aliyuncs.com"},"WorkspaceId":{"type":"string","description":"The workspace ID. For information about how to obtain the workspace ID, see https://help.aliyun.com/document_detail/2587495.html. The…"},"ConnectorId":{"type":"string","description":"The connector ID"},"CategoryType":{"type":"string","enum":["UNSTRUCTURED"],"description":"The type of category to query. Valid values: UNSTRUCTURED: category. Querying tables (data tables) by using API operations is not…"},"ParentCategoryId":{"type":"string","description":"The ID of the parent category for the categories to query"},"NextToken":{"type":"string","description":"The pagination token. Set this parameter to the NextToken value returned in the previous API call"},"MaxResults":{"type":"integer","description":"The number of categories per page in a paged query. Maximum value: 200. Valid values: 1 to 200. Default value: If the value is not set or…"},"CategoryName":{"type":"string","description":"Performs an exact match or filter on the category list returned by the operation based on the category name. Default value: empty, which…"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-bailian/list-chunks":{"post":{"operationId":"cloud_aliyun_bailian_list_chunks","summary":"Queries the list and information of text chunks","description":"POST /{WorkspaceId}/index/list_chunks","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["WorkspaceId","IndexId"],"properties":{"endpoint":{"type":"string","enum":["https://bailian.ap-southeast-1.aliyuncs.com","https://bailian.cn-beijing.aliyuncs.com"],"default":"https://bailian.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://bailian.ap-southeast-1.aliyuncs.com"},"WorkspaceId":{"type":"string","description":"The workspace ID of the knowledge base. For information about how to obtain the workspace ID, see…"},"Fields":{"type":"array","description":"An array of field names used to filter non-private fields (those not prefixed with an underscore _) in the Metadata field returned by this…"},"FileId":{"type":"string","description":"The file ID, which is the `FileId` returned by the AddFile operation. This field is not required for data query or image Q&A knowledge…"},"Filed":{"type":"string","description":"The file ID field in the legacy Model Studio SDK. The usage and default value are identical to those of the `FileId` field. If you are…"},"IndexId":{"type":"string","description":"The knowledge base ID, which is the `Data.Id` returned by the CreateIndex operation"},"PageNum":{"type":"integer","description":"The page number to query. Minimum value: 1. Default value: 1"},"PageSize":{"type":"integer","description":"The number of text chunks to display per page in a paged query. Maximum value: 100. Default value: 10"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-bailian/list-file":{"get":{"operationId":"cloud_aliyun_bailian_list_file","summary":"Retrieves the details of one or more documents in a specified category","description":"GET /{WorkspaceId}/datacenter/files","tags":["cloud"],"parameters":[{"name":"endpoint","in":"query","required":false,"description":"Regional endpoint, for example https://bailian.ap-southeast-1.aliyuncs.com","schema":{"type":"string","enum":["https://bailian.ap-southeast-1.aliyuncs.com","https://bailian.cn-beijing.aliyuncs.com"],"default":"https://bailian.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://bailian.ap-southeast-1.aliyuncs.com"}},{"name":"WorkspaceId","in":"query","required":true,"description":"The ID of the workspace to which the category belongs. For more information about how to obtain the workspace ID, see…","schema":{"type":"string","description":"The ID of the workspace to which the category belongs. For more information about how to obtain the workspace ID, see…"}},{"name":"CategoryId","in":"query","required":true,"description":"The category ID, which is the `CategoryId` returned by the AddCategory operation. You can also obtain it on the Application Data…","schema":{"type":"string","description":"The category ID, which is the `CategoryId` returned by the AddCategory operation. You can also obtain it on the Application Data…"},"example":"cate_cdd11b1b79a74e8bbd675c356a91ee35xxxxxxxx"},{"name":"NextToken","in":"query","required":false,"description":"The pagination token. Set this parameter to the NextToken value returned in the previous API call","schema":{"type":"string","description":"The pagination token. Set this parameter to the NextToken value returned in the previous API call"},"example":"AAAAAdH70eOCSCKtacdomNzak4U="},{"name":"MaxResults","in":"query","required":false,"description":"The number of entries per page for a paged query. Valid values: 1 to 200. Default value: If the value is not set or is less than 1, the…","schema":{"type":"integer","description":"The number of entries per page for a paged query. Valid values: 1 to 200. Default value: If the value is not set or is less than 1, the…"},"example":"20"},{"name":"FileName","in":"query","required":false,"description":"The file name (without the extension). Only exact match is supported. Fuzzy search is not supported","schema":{"type":"string","description":"The file name (without the extension). Only exact match is supported. Fuzzy search is not supported"},"example":"product-overview"},{"name":"FileIds","in":"query","required":false,"description":"The list of file IDs to query. A maximum of 20 files can be queried in a single request (JSON-encoded)","schema":{"type":"string","description":"The list of file IDs to query. A maximum of 20 files can be queried in a single request (JSON-encoded)"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-bailian/list-index-documents":{"get":{"operationId":"cloud_aliyun_bailian_list_index_documents","summary":"Retrieves the files and their summary information from a specified knowledge base","description":"GET /{WorkspaceId}/index/list_index_documents","tags":["cloud"],"parameters":[{"name":"endpoint","in":"query","required":false,"description":"Regional endpoint, for example https://bailian.ap-southeast-1.aliyuncs.com","schema":{"type":"string","enum":["https://bailian.ap-southeast-1.aliyuncs.com","https://bailian.cn-beijing.aliyuncs.com"],"default":"https://bailian.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://bailian.ap-southeast-1.aliyuncs.com"}},{"name":"IndexId","in":"query","required":true,"description":"The knowledge base ID, which is the `Data.Id` returned by the CreateIndex operation","schema":{"type":"string","description":"The knowledge base ID, which is the `Data.Id` returned by the CreateIndex operation"},"example":"79c0alxxxx"},{"name":"DocumentStatus","in":"query","required":false,"description":"Filters the returned file list by file import status. Valid values: INSERT_ERROR: Failed to import to the index. RUNNING: Index building…","schema":{"type":"string","description":"Filters the returned file list by file import status. Valid values: INSERT_ERROR: Failed to import to the index. RUNNING: Index building…"},"example":"FINISH"},{"name":"DocumentName","in":"query","required":false,"description":"Filters the returned file list by file name (excluding the file extension). Default value: empty, which means no filtering by file name","schema":{"type":"string","description":"Filters the returned file list by file name (excluding the file extension). Default value: empty, which means no filtering by file name"},"example":"product-overview"},{"name":"EnableNameLike","in":"query","required":false,"description":"Specifies whether to enable fuzzy matching for file names. This parameter is used together with the `DocumentName` parameter. Valid…","schema":{"type":"string","description":"Specifies whether to enable fuzzy matching for file names. This parameter is used together with the `DocumentName` parameter. Valid…"},"example":"false"},{"name":"PageNumber","in":"query","required":false,"description":"The page number to query. Minimum value: 1. Default value: 1","schema":{"type":"integer","description":"The page number to query. Minimum value: 1. Default value: 1"},"example":"1"},{"name":"PageSize","in":"query","required":false,"description":"The number of files to display per page in a paged query. No maximum limit. Default value: 10","schema":{"type":"integer","description":"The number of files to display per page in a paged query. No maximum limit. Default value: 10"},"example":"10"},{"name":"WorkspaceId","in":"query","required":true,"description":"The workspace ID of the knowledge base. For information about how to obtain the workspace ID, see…","schema":{"type":"string","description":"The workspace ID of the knowledge base. For information about how to obtain the workspace ID, see…"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-bailian/list-index-file-details":{"post":{"operationId":"cloud_aliyun_bailian_list_index_file_details","summary":"Retrieves files and their details from a specified knowledge base","description":"POST /{WorkspaceId}/index/list_index_file_detail","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["WorkspaceId"],"properties":{"endpoint":{"type":"string","enum":["https://bailian.ap-southeast-1.aliyuncs.com","https://bailian.cn-beijing.aliyuncs.com"],"default":"https://bailian.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://bailian.ap-southeast-1.aliyuncs.com"},"IndexId":{"type":"string","description":"The knowledge base ID, which is the `Data.Id` returned by the CreateIndex operation"},"DocumentStatus":{"type":"string","description":"Filters the returned file list by file import status. Valid values: INSERT_ERROR: Import to index failed. RUNNING: Index building in…"},"DocumentName":{"type":"string","description":"Filters the returned file details list by file name. Default value: empty, which means no filtering by file name"},"PageNumber":{"type":"integer","description":"The page number to query. Minimum value: 1. Default value: 1"},"PageSize":{"type":"integer","description":"The number of files to display per page in a paging query. Maximum value: 10"},"WorkspaceId":{"type":"string","description":"The workspace ID to which the knowledge base belongs. For information about how to obtain the workspace ID, see…"},"EnableNameLike":{"type":"string","description":"Specifies whether to enable fuzzy matching for file names. This parameter is used together with the `DocumentName` parameter. Valid…"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-bailian/list-indices":{"get":{"operationId":"cloud_aliyun_bailian_list_indices","summary":"Retrieves the list of knowledge bases in a specified workspace","description":"GET /{WorkspaceId}/index/list_indices","tags":["cloud"],"parameters":[{"name":"endpoint","in":"query","required":false,"description":"Regional endpoint, for example https://bailian.ap-southeast-1.aliyuncs.com","schema":{"type":"string","enum":["https://bailian.ap-southeast-1.aliyuncs.com","https://bailian.cn-beijing.aliyuncs.com"],"default":"https://bailian.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://bailian.ap-southeast-1.aliyuncs.com"}},{"name":"IndexName","in":"query","required":false,"description":"The name of the knowledge base. You can use this parameter to search for a knowledge base by name. The name must be 1 to 20 characters in…","schema":{"type":"string","description":"The name of the knowledge base. You can use this parameter to search for a knowledge base by name. The name must be 1 to 20 characters in…"},"example":"idx_status_score"},{"name":"PageNumber","in":"query","required":false,"description":"The page number. Minimum value: 1. Default value: 1","schema":{"type":"string","description":"The page number. Minimum value: 1. Default value: 1"},"example":"1"},{"name":"PageSize","in":"query","required":false,"description":"The number of knowledge bases to display per page in a paging query. No maximum limit. Default value: 10","schema":{"type":"string","description":"The number of knowledge bases to display per page in a paging query. No maximum limit. Default value: 10"},"example":"10"},{"name":"WorkspaceId","in":"query","required":true,"description":"The ID of the workspace to which the knowledge base belongs. For information about how to obtain the workspace ID, see…","schema":{"type":"string","description":"The ID of the workspace to which the knowledge base belongs. For information about how to obtain the workspace ID, see…"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-bailian/list-memories":{"get":{"operationId":"cloud_aliyun_bailian_list_memories","summary":"Retrieves the details of one or more long-term memory entities in a specified workspace","description":"GET /{workspaceId}/memories","tags":["cloud"],"parameters":[{"name":"endpoint","in":"query","required":false,"description":"Regional endpoint, for example https://bailian.ap-southeast-1.aliyuncs.com","schema":{"type":"string","enum":["https://bailian.ap-southeast-1.aliyuncs.com","https://bailian.cn-beijing.aliyuncs.com"],"default":"https://bailian.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://bailian.ap-southeast-1.aliyuncs.com"}},{"name":"workspaceId","in":"query","required":true,"description":"The ID of the workspace to which the long-term memory entities belong. For information about how to obtain the workspace ID, see…","schema":{"type":"string","description":"The ID of the workspace to which the long-term memory entities belong. For information about how to obtain the workspace ID, see…"}},{"name":"maxResults","in":"query","required":false,"description":"The number of entries per page in a paged query. Valid values: 1 to 50. Default value: 10","schema":{"type":"integer","description":"The number of entries per page in a paged query. Valid values: 1 to 50. Default value: 10"},"example":"10"},{"name":"nextToken","in":"query","required":false,"description":"The pagination token. Set this parameter to the NextToken value returned in the previous API call","schema":{"type":"string","description":"The pagination token. Set this parameter to the NextToken value returned in the previous API call"},"example":"dc270401186b433f975d7e1faaa3xxxx"}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-bailian/list-memory-nodes":{"get":{"operationId":"cloud_aliyun_bailian_list_memory_nodes","summary":"Retrieves a list of memory nodes","description":"GET /{workspaceId}/memories/{memoryId}/memoryNodes","tags":["cloud"],"parameters":[{"name":"endpoint","in":"query","required":false,"description":"Regional endpoint, for example https://bailian.ap-southeast-1.aliyuncs.com","schema":{"type":"string","enum":["https://bailian.ap-southeast-1.aliyuncs.com","https://bailian.cn-beijing.aliyuncs.com"],"default":"https://bailian.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://bailian.ap-southeast-1.aliyuncs.com"}},{"name":"workspaceId","in":"query","required":true,"description":"The workspace ID","schema":{"type":"string","description":"The workspace ID"}},{"name":"memoryId","in":"query","required":true,"description":"The long-term memory ID","schema":{"type":"string","description":"The long-term memory ID"}},{"name":"maxResults","in":"query","required":false,"description":"The maximum number of results to return","schema":{"type":"integer","description":"The maximum number of results to return"},"example":"20"},{"name":"nextToken","in":"query","required":false,"description":"The pagination token returned from a previous request. If specified, the query results are paginated based on the previous request","schema":{"type":"string","description":"The pagination token returned from a previous request. If specified, the query results are paginated based on the previous request"},"example":"dc270401186b433f975d7e1faaa34e0e\n"}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-bailian/list-prompt-templates":{"get":{"operationId":"cloud_aliyun_bailian_list_prompt_templates","summary":"Obtains a list of prompt templates","description":"GET /{workspaceId}/promptTemplates","tags":["cloud"],"parameters":[{"name":"endpoint","in":"query","required":false,"description":"Regional endpoint, for example https://bailian.ap-southeast-1.aliyuncs.com","schema":{"type":"string","enum":["https://bailian.ap-southeast-1.aliyuncs.com","https://bailian.cn-beijing.aliyuncs.com"],"default":"https://bailian.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://bailian.ap-southeast-1.aliyuncs.com"}},{"name":"workspaceId","in":"query","required":true,"description":"The workspace ID","schema":{"type":"string","description":"The workspace ID"}},{"name":"name","in":"query","required":false,"description":"The keyword that is used to search for templates","schema":{"type":"string","description":"The keyword that is used to search for templates"},"example":"小红书"},{"name":"type","in":"query","required":false,"description":"The type of the template. Valid values: · System · Custom","schema":{"type":"string","description":"The type of the template. Valid values: · System · Custom"},"example":"System"},{"name":"maxResults","in":"query","required":false,"description":"The maximum number of returned entries","schema":{"type":"integer","description":"The maximum number of returned entries"},"example":"10"},{"name":"nextToken","in":"query","required":false,"description":"The token that determines the start position of the query. Set this parameter to the value of the NextToken parameter that is returned…","schema":{"type":"string","description":"The token that determines the start position of the query. Set this parameter to the value of the NextToken parameter that is returned…"},"example":"dc270401186b433f975d7e1faaa34e0e"}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-bailian/retrieve":{"post":{"operationId":"cloud_aliyun_bailian_retrieve","summary":"Retrieves information from a specified knowledge base","description":"POST /{WorkspaceId}/index/retrieve","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["WorkspaceId","IndexId"],"properties":{"endpoint":{"type":"string","enum":["https://bailian.ap-southeast-1.aliyuncs.com","https://bailian.cn-beijing.aliyuncs.com"],"default":"https://bailian.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://bailian.ap-southeast-1.aliyuncs.com"},"Query":{"type":"string","description":"The input text, which is the original input prompt. The length and characters of Query are not limited"},"DenseSimilarityTopK":{"type":"integer","description":"The top K value for AISearch. The system generates a vector for the input text and retrieves the top K text chunks in the knowledge base…"},"EnableReranking":{"type":"string","description":"Specifies whether to enable reranking. For more information, see https://help.aliyun.com/document_detail/2807740.html. Valid values: true:…"},"EnableRewrite":{"type":"string","description":"Specifies whether to enable multi-turn conversation rewriting…"},"Rerank":{"type":"string","description":"The reranking configuration (JSON-encoded)"},"RerankMinScore":{"type":"number","description":"The similarity threshold. This threshold specifies the minimum similarity score allowed for recalled text chunks and is used to filter the…"},"RerankTopN":{"type":"integer","description":"The top N text chunks to return after reranking. Valid values: 1 to 20. Default value: 5"},"Rewrite":{"type":"string","description":"The multi-turn conversation rewriting configuration (JSON-encoded)"},"SparseSimilarityTopK":{"type":"integer","description":"The top K value for keyword retrieval. The system retrieves chunks from the knowledge base that are an exact match for the keywords in the…"},"WorkspaceId":{"type":"string","description":"The ID of the workspace to which the knowledge base belongs. For more information about how to obtain the ID, see…"},"IndexId":{"type":"string","description":"The ID of the knowledge base, which is the Data.Id returned by the CreateIndex operation. Make sure that the corresponding knowledge base…"},"SaveRetrieverHistory":{"type":"string","description":"Specifies whether to save the historical text chunk recall test data. Valid values: true: Save. false: Do not save. Default value: false"},"SearchFilters":{"type":"string","description":"The personalized retrieval conditions, such as tags, configured by using SearchFilter to filter semantic retrieval results and exclude…"},"Images":{"type":"string","description":"The URLs of the images passed in the query (JSON-encoded)"},"QueryHistory":{"type":"string","description":"Multi-turn conversation rewriting (https://help.aliyun.com/model-studio/use-cases/rag-optimization#b7031e2ad6cji) Multi-turn conversation…"},"Extra":{"type":"string","description":"The Extra (JSON-encoded)"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-bailian/submit-index-add-documents-job":{"post":{"operationId":"cloud_aliyun_bailian_submit_index_add_documents_job","summary":"Appends parsed files to a specified knowledge base","description":"POST /{WorkspaceId}/index/add_documents_to_index","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["WorkspaceId","IndexId","SourceType"],"properties":{"endpoint":{"type":"string","enum":["https://bailian.ap-southeast-1.aliyuncs.com","https://bailian.cn-beijing.aliyuncs.com"],"default":"https://bailian.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://bailian.ap-southeast-1.aliyuncs.com"},"WorkspaceId":{"type":"string","description":"The workspace ID to which the knowledge base belongs. For information about how to obtain the workspace ID, see…"},"IndexId":{"type":"string","description":"The knowledge base ID, which is the `Data.Id` returned by the CreateIndex operation"},"SourceType":{"type":"string","description":"The data source type. Valid values: DATA_CENTER_CATEGORY: category type. Imports all documents under specified categories in Application…"},"DocumentIds":{"type":"string","description":"The list of file IDs (JSON-encoded)"},"CategoryIds":{"type":"string","description":"The list of category IDs (JSON-encoded)"},"ChunkMode":{"type":"string","description":"Enables custom chunking (applies only to files appended in this request). For more information, see…"},"Separator":{"type":"string","description":"The sentence separator, which takes effect only when `chunkMode` is set to regex (otherwise, it does not take effect even if specified).…"},"ChunkSize":{"type":"integer","description":"The chunk length, which is the maximum number of characters per text chunk (applies only to files appended in this request). When this…"},"OverlapSize":{"type":"integer","description":"The chunk overlap length (applies only to files appended in this request). It indicates the number of overlapping characters between the…"},"EnableHeaders":{"type":"string","description":"Specifies whether to enable header assembly for Excel files. When enabled, the knowledge base treats the first row of all xlsx and xls…"},"Extra":{"type":"string","description":"The Extra (JSON-encoded)"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-bailian/submit-index-job":{"post":{"operationId":"cloud_aliyun_bailian_submit_index_job","summary":"Submits a specified CreateIndex task to complete knowledge base creation","description":"POST /{WorkspaceId}/index/submit_index_job","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["WorkspaceId","IndexId"],"properties":{"endpoint":{"type":"string","enum":["https://bailian.ap-southeast-1.aliyuncs.com","https://bailian.cn-beijing.aliyuncs.com"],"default":"https://bailian.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://bailian.ap-southeast-1.aliyuncs.com"},"WorkspaceId":{"type":"string","description":"The workspace ID to which the knowledge base belongs. For information about how to obtain the workspace ID, see…"},"IndexId":{"type":"string","description":"The knowledge base ID, which is the `Data.Id` returned by the CreateIndex operation"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-bailian/update-chunk":{"post":{"operationId":"cloud_aliyun_bailian_update_chunk","summary":"Modifies the content and title of a specified text chunk in a knowledge base, and specifies whether the…","description":"POST /{WorkspaceId}/chunk/update","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["PipelineId","DataId","ChunkId","IsDisplayedChunkContent","content","WorkspaceId"],"properties":{"endpoint":{"type":"string","enum":["https://bailian.ap-southeast-1.aliyuncs.com","https://bailian.cn-beijing.aliyuncs.com"],"default":"https://bailian.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://bailian.ap-southeast-1.aliyuncs.com"},"PipelineId":{"type":"string","description":"The knowledge base ID, which is the `Data.Id` returned when you call the CreateIndex operation, or retrieved from the knowledge base…"},"DataId":{"type":"string","description":"The file ID, which is the `FileId` returned by the AddFile operation. You can also obtain it from the application data…"},"ChunkId":{"type":"string","description":"The ID of the text chunk to modify. You can obtain this value by calling the ListChunks operation. The value is in the Node.Metadata._id…"},"IsDisplayedChunkContent":{"type":"string","description":"Specifies whether the text chunk participates in knowledge base retrieval. Valid values: true: Participates. false: Does not participate.…"},"content":{"type":"string","description":"The new content of the text chunk. The content length must be between 10 and 6,000 characters, and must not exceed the maximum segment…"},"WorkspaceId":{"type":"string","description":"The ID of the workspace to which the knowledge base belongs. For information about how to obtain the workspace ID, see…"},"title":{"type":"string","description":"The new title of the text chunk. The length limit is 0–50 characters. An empty string is allowed. If you pass an empty string, the…"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-bailian/update-connector":{"post":{"operationId":"cloud_aliyun_bailian_update_connector","summary":"Updates a connector","description":"PUT /{WorkspaceId}/datacenter/connector/{ConnectorId}","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["WorkspaceId","ConnectorId","ConnectorName","Description"],"properties":{"endpoint":{"type":"string","enum":["https://bailian.ap-southeast-1.aliyuncs.com","https://bailian.cn-beijing.aliyuncs.com"],"default":"https://bailian.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://bailian.ap-southeast-1.aliyuncs.com"},"WorkspaceId":{"type":"string","description":"The ID of the workspace"},"ConnectorId":{"type":"string","description":"The instance ID of the connector. You can find this ID in the Model Studio console"},"ConnectorName":{"type":"string","description":"The name of the connector"},"Description":{"type":"string","description":"A description of the connector"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-bailian/update-file-tag":{"post":{"operationId":"cloud_aliyun_bailian_update_file_tag","summary":"Updates the tags of a specified file","description":"PUT /{WorkspaceId}/datacenter/file/{FileId}","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["WorkspaceId","FileId","Tags"],"properties":{"endpoint":{"type":"string","enum":["https://bailian.ap-southeast-1.aliyuncs.com","https://bailian.cn-beijing.aliyuncs.com"],"default":"https://bailian.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://bailian.ap-southeast-1.aliyuncs.com"},"WorkspaceId":{"type":"string","description":"The workspace ID to which the file belongs. For information about how to obtain the workspace ID, see…"},"FileId":{"type":"string","description":"The file ID in the Data Center. You can obtain the file ID by clicking the ID icon next to the file name on the Application Data…"},"Tags":{"type":"string","description":"The list of tags associated with the file. You can specify up to 100 tags, and the total character length of all tags cannot exceed 700…"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-bailian/update-index":{"post":{"operationId":"cloud_aliyun_bailian_update_index","summary":"Updates partial configurations of a specified knowledge base","description":"POST /{WorkspaceId}/index/update","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["WorkspaceId","Id"],"properties":{"endpoint":{"type":"string","enum":["https://bailian.ap-southeast-1.aliyuncs.com","https://bailian.cn-beijing.aliyuncs.com"],"default":"https://bailian.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://bailian.ap-southeast-1.aliyuncs.com"},"WorkspaceId":{"type":"string","description":"The workspace ID"},"Id":{"type":"string","description":"The knowledge base ID"},"Name":{"type":"string","description":"The knowledge base name"},"Description":{"type":"string","description":"The knowledge base description"},"RerankMinScore":{"type":"string","description":"The minimum reranking score. Valid values: 0 to 1"},"DenseSimilarityTopK":{"type":"integer","description":"The top K value for AISearch. The system generates a vector for the input text and retrieves the K text chunks with the most similar…"},"SparseSimilarityTopK":{"type":"integer","description":"The top K value for keyword retrieval. The system retrieves text chunks in the knowledge base that are an exact match for the keywords of…"},"PipelineCommercialType":{"type":"string","enum":["standard","enterprise"],"description":"The specification type of the knowledge base. Valid values: standard: Standard Edition. enterprise: Ultimate Edition"},"PipelineCommercialCu":{"type":"integer","description":"The number of RCUs for an Ultimate Edition knowledge base. This parameter is required only when pipelineCommercialType is set to…"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-bailian/update-memory":{"post":{"operationId":"cloud_aliyun_bailian_update_memory","summary":"Updates the description of a specified long-term memory","description":"PUT /{workspaceId}/memories/{memoryId}","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["workspaceId","memoryId"],"properties":{"endpoint":{"type":"string","enum":["https://bailian.ap-southeast-1.aliyuncs.com","https://bailian.cn-beijing.aliyuncs.com"],"default":"https://bailian.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://bailian.ap-southeast-1.aliyuncs.com"},"workspaceId":{"type":"string","description":"The ID of the workspace to which the long-term memory belongs. For information about how to obtain the workspace ID, see…"},"memoryId":{"type":"string","description":"The ID of the long-term memory, which corresponds to the memoryId returned by the CreateMemory…"},"description":{"type":"string","description":"The new description. The description must be 1 to 50 characters in length and can contain characters in the letter category of Unicode,…"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-bailian/update-memory-node":{"post":{"operationId":"cloud_aliyun_bailian_update_memory_node","summary":"Updates a memory fragment","description":"PUT /{workspaceId}/memories/{memoryId}/memoryNodes/{memoryNodeId}","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["workspaceId","memoryId","memoryNodeId","content"],"properties":{"endpoint":{"type":"string","enum":["https://bailian.ap-southeast-1.aliyuncs.com","https://bailian.cn-beijing.aliyuncs.com"],"default":"https://bailian.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://bailian.ap-southeast-1.aliyuncs.com"},"workspaceId":{"type":"string","description":"The workspace ID"},"memoryId":{"type":"string","description":"The long-term memory ID"},"memoryNodeId":{"type":"string","description":"The memory fragment ID"},"content":{"type":"string","description":"The memory fragment content"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-bailian/update-prompt-template":{"post":{"operationId":"cloud_aliyun_bailian_update_prompt_template","summary":"Updates a prompt template based on the template ID","description":"PATCH /{workspaceId}/promptTemplates/{promptTemplateId}","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["workspaceId","promptTemplateId"],"properties":{"endpoint":{"type":"string","enum":["https://bailian.ap-southeast-1.aliyuncs.com","https://bailian.cn-beijing.aliyuncs.com"],"default":"https://bailian.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://bailian.ap-southeast-1.aliyuncs.com"},"workspaceId":{"type":"string","description":"The workspace ID"},"promptTemplateId":{"type":"string","description":"The template ID"},"name":{"type":"string","description":"The template name"},"content":{"type":"string","description":"The template content"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-bailian/update-table-from-authorized-oss":{"post":{"operationId":"cloud_aliyun_bailian_update_table_from_authorized_oss","summary":"Updates a table in a table connector of Alibaba Cloud Model Studio Data Hub using a file from an authorized…","description":"PUT /{WorkspaceId}/datacenter/table/fromoss/{TableId}","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["WorkspaceId","TableId","OssBucket","OssRegionId","OssKey","UpdateMode"],"properties":{"endpoint":{"type":"string","enum":["https://bailian.ap-southeast-1.aliyuncs.com","https://bailian.cn-beijing.aliyuncs.com"],"default":"https://bailian.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://bailian.ap-southeast-1.aliyuncs.com"},"WorkspaceId":{"type":"string","description":"The ID of the workspace to which the file belongs. For more information, see https://help.aliyun.com/document_detail/2587495.html"},"TableId":{"type":"string","description":"The ID of the existing table to update. This operation only updates the specified table and does not create data tables"},"OssBucket":{"type":"string","description":"The name of the OSS bucket. For more information, see https://help.aliyun.com/document_detail/177682.html. The target bucket must have the…"},"OssRegionId":{"type":"string","description":"The region ID of the OSS bucket. For more information, see https://help.aliyun.com/document_detail/31837.html"},"OssKey":{"type":"string","description":"The key of the file to import in the OSS bucket. For more information, see https://help.aliyun.com/document_detail/273129.html"},"UpdateMode":{"type":"string","enum":["APPEND","OVERWRITE"],"description":"The update mode. Valid values: OVERWRITE: overwrites existing data. APPEND: appends data to existing data"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-bailian/version":{"post":{"operationId":"cloud_aliyun_bailian_version","summary":"version","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"endpoint":{"type":"string","enum":["https://bailian.ap-southeast-1.aliyuncs.com","https://bailian.cn-beijing.aliyuncs.com"],"default":"https://bailian.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://bailian.ap-southeast-1.aliyuncs.com"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}}},"components":{"securitySchemes":{"ApiKeyAuth":{"type":"apiKey","in":"header","name":"x-api-key"}},"schemas":{"RunEnvelope":{"type":"object","required":["project","data","timestamp"],"properties":{"project":{"type":"string","example":"dev-tools:hash"},"data":{},"timestamp":{"type":"string","format":"date-time"}}},"ErrorEnvelope":{"type":"object","properties":{"content":{},"message":{"type":"string"},"errors":{"type":"array","items":{}},"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}}}}}},"responses":{"Error":{"description":"Invalid key, plan gate, rate limit or upstream failure","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}}}}