'1.0', 'info' => ['style' => 'ROA', 'product' => 'bailian', 'version' => '2023-12-29'], 'components' => [ 'schemas' => [], ], 'apis' => [ 'AddCategory' => [ 'path' => '/{WorkspaceId}/datacenter/category/', 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'WorkspaceId', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'CategoryName', 'in' => 'formData', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'CategoryType', 'in' => 'formData', 'schema' => [ 'type' => 'string', 'required' => true, 'enum' => ['UNSTRUCTURED'], ], ], [ 'name' => 'ParentCategoryId', 'in' => 'formData', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'ConnectorId', 'in' => 'formData', 'schema' => ['type' => 'string', 'required' => false], ], ], ], 'AddConnector' => [ 'path' => '/{WorkspaceId}/datacenter/connector', 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'WorkspaceId', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'ConnectorName', 'in' => 'formData', 'schema' => ['type' => 'string', 'required' => true, 'minLength' => 1, 'maxLength' => 20], ], [ 'name' => 'ConnectorType', 'in' => 'formData', 'schema' => [ 'type' => 'string', 'required' => true, 'enum' => ['FILE'], ], ], [ 'name' => 'Description', 'in' => 'formData', 'schema' => ['type' => 'string', 'required' => true, 'minLength' => 1, 'maxLength' => 200], ], [ 'name' => 'FileConnectorConfig', 'in' => 'formData', 'style' => 'json', 'schema' => [ 'type' => 'object', 'required' => false, 'properties' => [ 'RegionId' => ['type' => 'string', 'required' => false], 'BucketName' => ['type' => 'string', 'required' => false], 'StorageType' => [ 'type' => 'string', 'required' => false, 'enum' => ['OSS_CUSTOM', 'OSS_PLATFORM'], ], ], ], ], ], ], 'AddFile' => [ 'path' => '/{WorkspaceId}/datacenter/file', 'methods' => ['put'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'LeaseId', 'in' => 'formData', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'Parser', 'in' => 'formData', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'CategoryId', 'in' => 'formData', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'WorkspaceId', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'Tags', 'in' => 'formData', 'style' => 'json', 'schema' => [ 'type' => 'array', 'required' => false, 'items' => ['type' => 'string', 'required' => false], 'minItems' => 1, 'maxItems' => 100, ], ], [ 'name' => 'CategoryType', 'in' => 'formData', 'schema' => [ 'type' => 'string', 'required' => false, 'enum' => ['UNSTRUCTURED', 'SESSION_FILE'], ], ], [ 'name' => 'OriginalFileUrl', 'in' => 'formData', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'ParserConfig', 'in' => 'formData', 'style' => 'json', 'schema' => [ 'type' => 'object', 'required' => false, 'properties' => [ 'ModelName' => [ 'type' => 'string', 'required' => false, 'enum' => ['qwen-vl-max', 'qwen-vl-plus', 'qwen3-vl-plus'], ], 'ModelPrompt' => ['type' => 'string', 'required' => false, 'minLength' => 1, 'maxLength' => 1500], ], ], ], ], ], 'AddFilesFromAuthorizedOss' => [ 'path' => '/{WorkspaceId}/datacenter/file/fromoss', 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'WorkspaceId', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'CategoryId', 'in' => 'formData', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'CategoryType', 'in' => 'formData', 'schema' => [ 'type' => 'string', 'required' => true, 'enum' => ['UNSTRUCTURED', 'SESSION_FILE'], ], ], [ 'name' => 'OssRegionId', 'in' => 'formData', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'OssBucketName', 'in' => 'formData', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'FileDetails', 'in' => 'formData', 'style' => 'json', 'schema' => [ 'type' => 'array', 'required' => true, 'items' => [ 'type' => 'object', 'required' => true, 'properties' => [ 'FileName' => ['type' => 'string', 'required' => true, 'minLength' => 1, 'maxLength' => 500], 'OssKey' => ['type' => 'string', 'required' => true, 'minLength' => 1, 'maxLength' => 256], 'Parser' => [ 'type' => 'string', 'required' => false, 'enum' => ['DOCMIND', 'DOCMIND_DIGITAL', 'DOCMIND_LLM_VERSION', 'DASH_QWEN_VL_PARSER', 'DOCMIND_LLM_VERSION_MEDIA', 'AUTO_SELECT'], ], 'ParserConfig' => [ 'type' => 'object', 'required' => false, 'properties' => [ 'ModelName' => [ 'type' => 'string', 'required' => false, 'enum' => ['qwen-vl-max', 'qwen-vl-plus', 'qwen3-vl-plus'], ], 'ModelPrompt' => ['type' => 'string', 'required' => false, 'minLength' => 1, 'maxLength' => 1000], ], ], ], ], 'minItems' => 1, 'maxItems' => 10, ], ], [ 'name' => 'Tags', 'in' => 'formData', 'style' => 'json', 'schema' => [ 'type' => 'array', 'required' => false, 'items' => ['type' => 'string', 'required' => false], ], ], [ 'name' => 'OverWriteFileByOssKey', 'in' => 'formData', 'schema' => ['type' => 'boolean', 'required' => false], ], ], ], 'AddTable' => [ 'path' => '/{WorkspaceId}/datacenter/table', 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'WorkspaceId', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'TableName', 'in' => 'formData', 'schema' => ['type' => 'string', 'required' => true, 'minLength' => 1, 'maxLength' => 64], ], [ 'name' => 'TableDesc', 'in' => 'formData', 'schema' => ['type' => 'string', 'required' => false, 'minLength' => 1, 'maxLength' => 200], ], [ 'name' => 'ConnectorId', 'in' => 'formData', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'TableColumns', 'in' => 'formData', 'style' => 'json', 'schema' => [ 'type' => 'array', 'required' => true, 'items' => [ 'type' => 'object', 'required' => true, 'properties' => [ 'ColumnName' => ['type' => 'string', 'required' => true, 'minLength' => 1, 'maxLength' => 15], 'ColumnDesc' => ['type' => 'string', 'required' => false, 'minLength' => 0, 'maxLength' => 15], 'DataType' => [ 'type' => 'string', 'required' => true, 'enum' => ['string', 'double', 'long', 'datetime', 'image_url'], ], ], ], 'minItems' => 1, ], ], ], ], 'ApplyFileUploadLease' => [ 'path' => '/{WorkspaceId}/datacenter/category/{CategoryId}', 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'CategoryId', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'FileName', 'in' => 'formData', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'Md5', 'in' => 'formData', 'schema' => ['type' => 'string', 'required' => true, 'minLength' => 1, 'maxLength' => 64], ], [ 'name' => 'SizeInBytes', 'in' => 'formData', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'WorkspaceId', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'CategoryType', 'in' => 'formData', 'schema' => [ 'type' => 'string', 'required' => false, 'enum' => ['UNSTRUCTURED', 'SESSION_FILE'], ], ], [ 'name' => 'UseInternalEndpoint', 'in' => 'formData', 'schema' => ['type' => 'boolean', 'required' => false], ], ], ], 'ApplyTempStorageLease' => [ 'path' => '/{WorkspaceId}/datacenter', 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'FileName', 'in' => 'formData', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'SizeInBytes', 'in' => 'formData', 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true, 'minimum' => '0'], ], [ 'name' => 'WorkspaceId', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], ], ], 'BatchUpdateFileTag' => [ 'path' => '/{WorkspaceId}/datacenter/batchupdatetag', 'methods' => ['put'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'WorkspaceId', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'FileInfos', 'in' => 'formData', 'style' => 'json', 'schema' => [ 'type' => 'array', 'required' => true, 'items' => [ 'type' => 'object', 'required' => true, 'properties' => [ 'FileId' => ['type' => 'string', 'required' => true], 'tags' => [ 'type' => 'array', 'required' => true, 'items' => ['type' => 'string', 'required' => false], 'minItems' => 1, 'maxItems' => 100, ], ], ], 'minItems' => 1, 'maxItems' => 20, ], ], [ 'name' => 'UpdateMode', 'in' => 'formData', 'schema' => [ 'type' => 'string', 'required' => false, 'enum' => ['OVERWRITE', 'APPEND'], ], ], ], ], 'ChangeParseSetting' => [ 'path' => '/{WorkspaceId}/datacenter/parser/settings', 'methods' => ['put'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'WorkspaceId', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'CategoryId', 'in' => 'formData', 'schema' => ['type' => 'string', 'required' => true, 'minLength' => 1, 'maxLength' => 128], ], [ 'name' => 'FileType', 'in' => 'formData', 'schema' => [ 'type' => 'string', 'required' => true, 'enum' => ['doc', 'docx', 'ppt', 'pptx', 'xls', 'xlsx', 'md', 'txt', 'pdf', 'png', 'jpg', 'jpeg', 'bmp', 'gif', 'html'], ], ], [ 'name' => 'Parser', 'in' => 'formData', 'schema' => [ 'type' => 'string', 'required' => true, 'enum' => ['DOCMIND', 'DOCMIND_DIGITAL', 'DOCMIND_LLM_VERSION', 'DASH_SENSEVOICE', 'RAG_VIDEO_PARSER', 'DASH_QWEN_VL_PARSER', 'BAILIAN_TXT_PARSER'], ], ], [ 'name' => 'ParserConfig', 'in' => 'formData', 'style' => 'json', 'schema' => [ 'type' => 'object', 'required' => false, 'properties' => [ 'modelName' => [ 'type' => 'string', 'required' => false, 'enum' => ['qwen-vl-max', 'qwen-vl-plus', 'qwen3-vl-plus'], ], 'modelPrompt' => ['type' => 'string', 'required' => false, 'minLength' => 1, 'maxLength' => 1500], ], ], ], ], ], 'CreateIndex' => [ 'path' => '/{WorkspaceId}/index/create', 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'WorkspaceId', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'Name', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'StructureType', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'EmbeddingModelName', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'RerankModelName', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'RerankMinScore', 'in' => 'query', 'schema' => ['type' => 'number', 'format' => 'double', 'required' => false], ], [ 'name' => 'ChunkSize', 'in' => 'query', 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], [ 'name' => 'OverlapSize', 'in' => 'query', 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], [ 'name' => 'Separator', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'SourceType', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'DocumentIds', 'in' => 'query', 'style' => 'json', 'schema' => [ 'type' => 'array', 'required' => false, 'items' => ['type' => 'string', 'required' => false], ], ], [ 'name' => 'CategoryIds', 'in' => 'query', 'style' => 'json', 'schema' => [ 'type' => 'array', 'required' => false, 'items' => ['type' => 'string', 'required' => false], ], ], [ 'name' => 'TableIds', 'in' => 'query', 'style' => 'json', 'schema' => [ 'type' => 'array', 'required' => false, 'items' => ['type' => 'string', 'required' => false], ], ], [ 'name' => 'SinkType', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'SinkInstanceId', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'SinkRegion', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'Columns', 'in' => 'query', 'style' => 'json', 'schema' => [ 'type' => 'array', 'required' => false, 'items' => [ 'type' => 'object', 'required' => false, 'properties' => [ 'Column' => ['type' => 'string', 'required' => false], 'IsRecall' => ['type' => 'boolean', 'required' => false], 'IsSearch' => ['type' => 'boolean', 'required' => false], 'Name' => ['type' => 'string', 'required' => false], 'Type' => ['type' => 'string', 'required' => false], ], ], ], ], [ 'name' => 'Description', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'metaExtractColumns', 'in' => 'query', 'style' => 'json', 'schema' => [ 'type' => 'array', 'required' => false, 'items' => [ 'type' => 'object', 'required' => false, 'properties' => [ 'Key' => ['type' => 'string', 'required' => false], 'Value' => ['type' => 'string', 'required' => false], 'Type' => ['type' => 'string', 'required' => false], 'Desc' => ['type' => 'string', 'required' => false], 'EnableLlm' => ['type' => 'boolean', 'required' => false], 'EnableSearch' => ['type' => 'boolean', 'required' => false], ], ], ], ], [ 'name' => 'enableHeaders', 'in' => 'query', 'schema' => ['type' => 'boolean', 'required' => false], ], [ 'name' => 'chunkMode', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'EnableRewrite', 'in' => 'query', 'schema' => ['type' => 'boolean', 'required' => false], ], [ 'name' => 'CreateIndexType', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'pipelineCommercialType', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => false, 'enum' => ['enterprise', 'standard'], ], ], [ 'name' => 'pipelineCommercialCu', 'in' => 'query', 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false, 'minimum' => '1', 'maximum' => '200'], ], [ 'name' => 'pipelineRetrieveRateLimitStrategy', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => false, 'enum' => ['downgrade'], ], ], [ 'name' => 'datasourceCode', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'table', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'database', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'knowledgeType', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'knowledgeScene', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'connectId', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'channelType', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'RerankMode', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'RerankInstruct', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], ], ], 'CreateMemory' => [ 'path' => '/{workspaceId}/memories', 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'workspaceId', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'description', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], ], ], 'CreateMemoryNode' => [ 'path' => '/{workspaceId}/memories/{memoryId}/memoryNodes', 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'workspaceId', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'memoryId', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'content', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => true], ], ], ], 'CreatePromptTemplate' => [ 'path' => '/{workspaceId}/promptTemplates', 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'workspaceId', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'name', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'content', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => true], ], ], ], 'DeleteCategory' => [ 'path' => '/{WorkspaceId}/datacenter/category/{CategoryId}/', 'methods' => ['delete'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'CategoryId', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'WorkspaceId', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], ], ], 'DeleteChunk' => [ 'path' => '/{WorkspaceId}/chunk/delete', 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'PipelineId', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'WorkspaceId', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'ChunkIds', 'in' => 'query', 'style' => 'json', 'schema' => [ 'type' => 'array', 'required' => true, 'items' => ['type' => 'string', 'required' => true], ], ], ], ], 'DeleteConnector' => [ 'path' => '/{WorkspaceId}/datacenter/connector/{ConnectorId}', 'methods' => ['delete'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'ConnectorId', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true, 'minLength' => 1, 'maxLength' => 256], ], [ 'name' => 'WorkspaceId', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], ], ], 'DeleteFile' => [ 'path' => '/{WorkspaceId}/datacenter/file/{FileId}/', 'methods' => ['delete'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'FileId', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true, 'minLength' => 32, 'maxLength' => 128], ], [ 'name' => 'WorkspaceId', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], ], ], 'DeleteFiles' => [ 'path' => '/{WorkspaceId}/datacenter/file/delete', 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'WorkspaceId', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'FileIds', 'in' => 'formData', 'style' => 'json', 'schema' => [ 'type' => 'array', 'required' => true, 'items' => ['type' => 'string', 'required' => false], 'minItems' => 1, 'maxItems' => 20, ], ], ], ], 'DeleteIndex' => [ 'path' => '/{WorkspaceId}/index/delete', 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'IndexId', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'WorkspaceId', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], ], ], 'DeleteIndexDocument' => [ 'path' => '/{WorkspaceId}/index/delete_index_document', 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'WorkspaceId', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'IndexId', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'DocumentIds', 'in' => 'query', 'style' => 'json', 'schema' => [ 'type' => 'array', 'required' => true, 'items' => ['type' => 'string', 'required' => false], ], ], ], ], 'DeleteMemory' => [ 'path' => '/{workspaceId}/memories/{memoryId}', 'methods' => ['delete'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'workspaceId', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'memoryId', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], ], ], 'DeleteMemoryNode' => [ 'path' => '/{workspaceId}/memories/{memoryId}/memoryNodes/{memoryNodeId}', 'methods' => ['delete'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'workspaceId', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'memoryId', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'memoryNodeId', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], ], ], 'DeletePromptTemplate' => [ 'path' => '/{workspaceId}/promptTemplates/{promptTemplateId}', 'methods' => ['delete'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'workspaceId', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'promptTemplateId', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], ], ], 'DescribeFile' => [ 'path' => '/{WorkspaceId}/datacenter/file/{FileId}/', 'methods' => ['get'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'WorkspaceId', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'FileId', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], ], ], 'GetAlipayTransferStatus' => [ 'path' => '/openapi/alipay/transfer/status', 'methods' => ['get', 'post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'workspace_id', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'code', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], ], ], 'GetAlipayUrl' => [ 'path' => '/openapi/alipay/transfer/url', 'methods' => ['get'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'workspace_id', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'app_id', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], ], ], 'GetAvailableParserTypes' => [ 'path' => '/{WorkspaceId}/datacenter/parser/parsertype', 'methods' => ['get'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'WorkspaceId', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'FileType', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => true, 'enum' => ['doc', 'docx', 'ppt', 'pptx', 'xls', 'xlsx', 'md', 'txt', 'pdf', 'png', 'jpg', 'jpeg', 'bmp', 'gif', 'html'], ], ], ], ], 'GetConnector' => [ 'path' => '/{WorkspaceId}/datacenter/connector', 'methods' => ['get'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'WorkspaceId', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'ConnectorName', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false, 'minLength' => 0, 'maxLength' => 20], ], [ 'name' => 'ConnectorId', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], ], ], 'GetIndexJobStatus' => [ 'path' => '/{WorkspaceId}/index/job/status', 'methods' => ['get'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/x-www-form-urlencoded'], 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'WorkspaceId', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'JobId', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'IndexId', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'PageNumber', 'in' => 'query', 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], [ 'name' => 'pageSize', 'in' => 'query', 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], ], ], 'GetIndexMonitor' => [ 'path' => '/{WorkspaceId}/rag/index/monitor', 'methods' => ['get'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'WorkspaceId', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'IndexId', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'StartTimestamp', 'in' => 'query', 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true], ], [ 'name' => 'EndTimestamp', 'in' => 'query', 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true], ], ], ], 'GetMemory' => [ 'path' => '/{workspaceId}/memories/{memoryId}', 'methods' => ['get'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'workspaceId', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'memoryId', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], ], ], 'GetMemoryNode' => [ 'path' => '/{workspaceId}/memories/{memoryId}/memoryNodes/{memoryNodeId}', 'methods' => ['get'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'workspaceId', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'memoryId', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'memoryNodeId', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], ], ], 'GetParseSettings' => [ 'path' => '/{WorkspaceId}/datacenter/parser/settings', 'methods' => ['get'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'WorkspaceId', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'CategoryId', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], ], ], 'GetPromptTemplate' => [ 'path' => '/{workspaceId}/promptTemplates/{promptTemplateId}', 'methods' => ['get'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'workspaceId', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'promptTemplateId', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], ], ], 'ListCategory' => [ 'path' => '/{WorkspaceId}/datacenter/categories', 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'WorkspaceId', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'ConnectorId', 'in' => 'formData', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'CategoryType', 'in' => 'formData', 'schema' => [ 'type' => 'string', 'required' => true, 'enum' => ['UNSTRUCTURED'], ], ], [ 'name' => 'ParentCategoryId', 'in' => 'formData', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'NextToken', 'in' => 'formData', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'MaxResults', 'in' => 'formData', 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false, 'minimum' => '0', 'maximum' => '500'], ], [ 'name' => 'CategoryName', 'in' => 'formData', 'schema' => ['type' => 'string', 'required' => false], ], ], ], 'ListChunks' => [ 'path' => '/{WorkspaceId}/index/list_chunks', 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'WorkspaceId', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ 'type' => 'object', 'required' => false, 'properties' => [ 'Fields' => [ 'type' => 'array', 'required' => false, 'items' => ['type' => 'string', 'required' => false], ], 'Filed' => ['type' => 'string', 'required' => false], 'FileId' => ['type' => 'string', 'required' => false], 'IndexId' => ['type' => 'string', 'required' => true], 'PageNum' => ['type' => 'integer', 'format' => 'int32', 'required' => false], 'PageSize' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], ], ], ], ], 'ListFile' => [ 'path' => '/{WorkspaceId}/datacenter/files', 'methods' => ['get'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'WorkspaceId', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'CategoryId', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'NextToken', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'MaxResults', 'in' => 'query', 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], [ 'name' => 'FileName', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'FileIds', 'in' => 'query', 'style' => 'json', 'schema' => [ 'type' => 'array', 'required' => false, 'items' => ['type' => 'string', 'required' => false], 'minItems' => 0, 'maxItems' => 20, ], ], ], ], 'ListIndexDocuments' => [ 'path' => '/{WorkspaceId}/index/list_index_documents', 'methods' => ['get'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/x-www-form-urlencoded'], 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'IndexId', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'DocumentStatus', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'DocumentName', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'EnableNameLike', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'PageNumber', 'in' => 'query', 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], [ 'name' => 'PageSize', 'in' => 'query', 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], [ 'name' => 'WorkspaceId', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], ], ], 'ListIndexFileDetails' => [ 'path' => '/{WorkspaceId}/index/list_index_file_detail', 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'IndexId', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'DocumentStatus', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'DocumentName', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'PageNumber', 'in' => 'query', 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], [ 'name' => 'PageSize', 'in' => 'query', 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], [ 'name' => 'WorkspaceId', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'EnableNameLike', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], ], ], 'ListIndices' => [ 'path' => '/{WorkspaceId}/index/list_indices', 'methods' => ['get'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'IndexName', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'PageNumber', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'PageSize', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'WorkspaceId', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], ], ], 'ListMemories' => [ 'path' => '/{workspaceId}/memories', 'methods' => ['get'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'workspaceId', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'maxResults', 'in' => 'query', 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], [ 'name' => 'nextToken', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], ], ], 'ListMemoryNodes' => [ 'path' => '/{workspaceId}/memories/{memoryId}/memoryNodes', 'methods' => ['get'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'workspaceId', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'memoryId', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'maxResults', 'in' => 'query', 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false, 'minimum' => '1', 'maximum' => '50'], ], [ 'name' => 'nextToken', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], ], ], 'ListPromptTemplates' => [ 'path' => '/{workspaceId}/promptTemplates', 'methods' => ['get'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'workspaceId', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'name', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'type', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'maxResults', 'in' => 'query', 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], [ 'name' => 'nextToken', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], ], ], 'Retrieve' => [ 'path' => '/{WorkspaceId}/index/retrieve', 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'Query', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'DenseSimilarityTopK', 'in' => 'query', 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], [ 'name' => 'EnableReranking', 'in' => 'query', 'schema' => ['type' => 'boolean', 'required' => false], ], [ 'name' => 'EnableRewrite', 'in' => 'query', 'schema' => ['type' => 'boolean', 'required' => false], ], [ 'name' => 'Rerank', 'in' => 'query', 'style' => 'json', 'schema' => [ 'type' => 'array', 'required' => false, 'items' => [ 'type' => 'object', 'required' => false, 'properties' => [ 'ModelName' => ['type' => 'string', 'required' => false], 'RerankMode' => ['type' => 'string', 'required' => false], 'RerankInstruct' => ['type' => 'string', 'required' => false], ], ], ], ], [ 'name' => 'RerankMinScore', 'in' => 'query', 'schema' => ['type' => 'number', 'format' => 'float', 'required' => false], ], [ 'name' => 'RerankTopN', 'in' => 'query', 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], [ 'name' => 'Rewrite', 'in' => 'query', 'style' => 'json', 'schema' => [ 'type' => 'array', 'required' => false, 'items' => [ 'type' => 'object', 'required' => false, 'properties' => [ 'ModelName' => ['type' => 'string', 'required' => false], ], ], ], ], [ 'name' => 'SparseSimilarityTopK', 'in' => 'query', 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], [ 'name' => 'WorkspaceId', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'IndexId', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'SaveRetrieverHistory', 'in' => 'query', 'schema' => ['type' => 'boolean', 'required' => false], ], [ 'name' => 'SearchFilters', 'in' => 'query', 'style' => 'json', 'schema' => [ 'type' => 'array', 'required' => false, 'items' => [ 'type' => 'object', 'required' => false, 'additionalProperties' => ['type' => 'string'], ], ], ], [ 'name' => 'Images', 'in' => 'query', 'style' => 'simple', 'schema' => [ 'type' => 'array', 'required' => false, 'items' => ['type' => 'string', 'required' => false], ], ], [ 'name' => 'QueryHistory', 'in' => 'query', 'style' => 'json', 'schema' => [ 'type' => 'array', 'required' => false, 'items' => [ 'type' => 'object', 'required' => false, 'properties' => [ 'role' => ['type' => 'string', 'required' => false], 'content' => ['type' => 'string', 'required' => false], ], ], ], ], [ 'name' => 'Extra', 'in' => 'query', 'style' => 'json', 'schema' => [ 'type' => 'object', 'properties' => [ 'uniqueId' => ['type' => 'string', 'maxLength' => 512], ], ], ], ], ], 'SubmitIndexAddDocumentsJob' => [ 'path' => '/{WorkspaceId}/index/add_documents_to_index', 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'WorkspaceId', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'IndexId', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'SourceType', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'DocumentIds', 'in' => 'query', 'style' => 'json', 'schema' => [ 'type' => 'array', 'required' => false, 'items' => ['type' => 'string', 'required' => false], ], ], [ 'name' => 'CategoryIds', 'in' => 'query', 'style' => 'json', 'schema' => [ 'type' => 'array', 'required' => false, 'items' => ['type' => 'string', 'required' => false], ], ], [ 'name' => 'ChunkMode', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'Separator', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'ChunkSize', 'in' => 'query', 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], [ 'name' => 'OverlapSize', 'in' => 'query', 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], [ 'name' => 'EnableHeaders', 'in' => 'query', 'schema' => ['type' => 'boolean', 'required' => false], ], [ 'name' => 'Extra', 'in' => 'query', 'style' => 'json', 'schema' => [ 'type' => 'object', 'properties' => [ 'uniqueId' => ['type' => 'string'], ], ], ], ], ], 'SubmitIndexJob' => [ 'path' => '/{WorkspaceId}/index/submit_index_job', 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'WorkspaceId', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'IndexId', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => true], ], ], ], 'UpdateChunk' => [ 'path' => '/{WorkspaceId}/chunk/update', 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'PipelineId', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'DataId', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'ChunkId', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'IsDisplayedChunkContent', 'in' => 'query', 'schema' => ['type' => 'boolean', 'required' => true], ], [ 'name' => 'content', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'WorkspaceId', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'title', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], ], ], 'UpdateConnector' => [ 'path' => '/{WorkspaceId}/datacenter/connector/{ConnectorId}', 'methods' => ['put'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'WorkspaceId', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'ConnectorId', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'ConnectorName', 'in' => 'formData', 'schema' => ['type' => 'string', 'required' => true, 'minLength' => 1, 'maxLength' => 20], ], [ 'name' => 'Description', 'in' => 'formData', 'schema' => ['type' => 'string', 'required' => true, 'minLength' => 1, 'maxLength' => 200], ], ], ], 'UpdateFileTag' => [ 'path' => '/{WorkspaceId}/datacenter/file/{FileId}', 'methods' => ['put'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'WorkspaceId', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'FileId', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'Tags', 'in' => 'formData', 'style' => 'json', 'schema' => [ 'type' => 'array', 'required' => true, 'items' => ['type' => 'string', 'required' => false], 'minItems' => 1, 'maxItems' => 100, ], ], ], ], 'UpdateIndex' => [ 'path' => '/{WorkspaceId}/index/update', 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'WorkspaceId', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'Id', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'Name', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'Description', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'RerankMinScore', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'DenseSimilarityTopK', 'in' => 'query', 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false, 'minimum' => '0', 'maximum' => '100'], ], [ 'name' => 'SparseSimilarityTopK', 'in' => 'query', 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false, 'minimum' => '0', 'maximum' => '100'], ], [ 'name' => 'PipelineCommercialType', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => false, 'enum' => ['standard', 'enterprise'], ], ], [ 'name' => 'PipelineCommercialCu', 'in' => 'query', 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false, 'minimum' => '1', 'maximum' => '200'], ], ], ], 'UpdateMemory' => [ 'path' => '/{workspaceId}/memories/{memoryId}', 'methods' => ['put'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'workspaceId', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'memoryId', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'description', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], ], ], 'UpdateMemoryNode' => [ 'path' => '/{workspaceId}/memories/{memoryId}/memoryNodes/{memoryNodeId}', 'methods' => ['put'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'workspaceId', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'memoryId', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'memoryNodeId', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'content', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => true], ], ], ], 'UpdatePromptTemplate' => [ 'path' => '/{workspaceId}/promptTemplates/{promptTemplateId}', 'methods' => ['patch'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'workspaceId', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'promptTemplateId', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'name', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'content', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], ], ], 'UpdateTableFromAuthorizedOss' => [ 'path' => '/{WorkspaceId}/datacenter/table/fromoss/{TableId}', 'methods' => ['put'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'WorkspaceId', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'TableId', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'OssBucket', 'in' => 'formData', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'OssRegionId', 'in' => 'formData', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'OssKey', 'in' => 'formData', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'UpdateMode', 'in' => 'formData', 'schema' => [ 'type' => 'string', 'required' => true, 'enum' => ['APPEND', 'OVERWRITE'], ], ], ], ], ], 'endpoints' => [ ['regionId' => 'cn-beijing', 'regionName' => '华北2(北京)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'bailian.cn-beijing.aliyuncs.com', 'endpoint' => 'bailian.cn-beijing.aliyuncs.com', 'vpc' => 'bailian-vpc.cn-beijing.aliyuncs.com'], ['regionId' => 'ap-southeast-1', 'regionName' => '新加坡', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'bailian.ap-southeast-1.aliyuncs.com', 'endpoint' => 'bailian.ap-southeast-1.aliyuncs.com', 'vpc' => 'bailian-vpc.ap-southeast-1.aliyuncs.com'], ], ];