'1.0', 'info' => ['product' => 'Searchplat', 'version' => '2024-05-29'], 'directories' => [ 'GetTextGeneration', 'GetDocumentAnalyzeTaskStatus', 'GetDocumentRank', 'GetDocumentSplit', 'CreateDocumentAnalyzeTask', 'GetTextSparseEmbedding', 'GetQueryAnalysis', 'CreateImageAnalyzeTask', 'GetImageAnalyzeTaskStatus', 'GetTextEmbedding', 'GetWebSearch', 'GetEmbeddingTuning', 'GetPrediction', 'CreateAudioAsrTask', 'CreateVideoSnapshotTask', 'GetAudioAsrTaskStatus', 'GetImageObjectDetection', 'GetMultiModalEmbedding', 'GetMultiModalReranker', 'GetVideoSnapshotTaskStatus', [ 'id' => 0, 'title' => '其它', 'type' => 'directory', 'children' => ['GetVideoSegmentationTaskStatus', 'GetVideoSummarizationTaskStatus', 'CreateVideoSegmentationTask', 'CreateVideoSummarizationTask', 'UpdateMemorySkill', 'CreateMemorySkill', 'SearchMemory', 'DeleteMemory', 'GetMemory', 'GetMemoryTask', 'GetMemoryHealth', 'CreateMemory', 'UpdateMemory', 'GetMemorySkill', 'DeleteMemorySkill', 'GetJinaAiReader'], ], ], 'components' => [ 'schemas' => [], ], 'apis' => [ 'GetTextGeneration' => [ 'summary' => '大模型问答', 'path' => '/v3/openapi/workspaces/{workspace_name}/text-generation/{service_id}', 'methods' => ['post'], 'schemes' => ['http', 'https'], 'security' => [ [ 'BearerToken' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => ['operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'paid'], 'parameters' => [ [ 'name' => 'workspace_name', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'service_id', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ 'type' => 'object', 'properties' => [ 'messages' => [ 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'content' => ['type' => 'string'], 'role' => ['type' => 'string'], ], ], 'required' => true, ], 'stream' => ['type' => 'boolean'], 'csi_level' => ['type' => 'string'], 'parameters' => ['type' => 'object'], 'enable_search' => ['type' => 'boolean'], ], ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'request_id' => ['type' => 'string'], 'latency' => ['type' => 'integer', 'format' => 'int32'], 'usage' => [ 'type' => 'object', 'properties' => [ 'output_tokens' => ['type' => 'integer', 'format' => 'int64'], 'input_tokens' => ['type' => 'integer', 'format' => 'int64'], 'total_tokens' => ['type' => 'integer', 'format' => 'int64'], ], ], 'result' => [ 'type' => 'object', 'properties' => [ 'text' => ['type' => 'string'], 'search_results' => [ 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'title' => ['type' => 'string'], 'url' => ['type' => 'string'], ], ], ], ], ], ], ], ], ], 'responseDemo' => '', ], 'GetDocumentAnalyzeTaskStatus' => [ 'summary' => '获取文档解析异步提取任务状态', 'path' => '/v3/openapi/workspaces/{workspace_name}/document-analyze/{service_id}/async/task-status', 'methods' => ['get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'BearerToken' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => ['operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'paid'], 'parameters' => [ [ 'name' => 'workspace_name', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'service_id', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'task_id', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => true], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'request_id' => ['type' => 'string'], 'latency' => ['type' => 'integer', 'format' => 'int32'], 'usage' => [ 'type' => 'object', 'properties' => [ 'image_count' => ['type' => 'integer', 'format' => 'int64'], 'table_count' => ['type' => 'integer', 'format' => 'int64'], 'token_count' => ['type' => 'integer', 'format' => 'int64'], 'semantic_token_count' => ['type' => 'integer', 'format' => 'int64'], ], ], 'result' => [ 'type' => 'object', 'properties' => [ 'data' => [ 'type' => 'object', 'properties' => [ 'content' => ['type' => 'string'], 'content_type' => ['type' => 'string'], 'page_num' => ['type' => 'integer', 'format' => 'int32'], 'pages' => [ 'type' => 'array', 'items' => ['type' => 'string'], ], ], ], 'status' => ['type' => 'string'], 'task_id' => ['type' => 'string'], 'error' => ['type' => 'string'], ], ], ], ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'responseDemo' => '', ], 'GetDocumentRank' => [ 'summary' => '文档相关性打分', 'path' => '/v3/openapi/workspaces/{workspace_name}/ranker/{service_id}', 'methods' => ['post'], 'schemes' => ['http', 'https'], 'security' => [ [ 'BearerToken' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => ['operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'paid'], 'parameters' => [ [ 'name' => 'workspace_name', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'service_id', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ 'type' => 'object', 'properties' => [ 'docs' => [ 'type' => 'array', 'items' => ['type' => 'string', 'required' => true], 'required' => true, ], 'query' => ['type' => 'string', 'required' => true], ], ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'request_id' => ['type' => 'string'], 'latency' => ['type' => 'integer', 'format' => 'int32'], 'usage' => [ 'type' => 'object', 'properties' => [ 'doc_count' => ['type' => 'integer', 'format' => 'int64'], ], ], 'result' => [ 'type' => 'object', 'properties' => [ 'scores' => [ 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'index' => ['type' => 'integer', 'format' => 'int32'], 'score' => ['type' => 'number', 'format' => 'double'], ], ], ], ], ], ], ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], ], 'GetDocumentSplit' => [ 'summary' => '文档切片', 'path' => '/v3/openapi/workspaces/{workspace_name}/document-split/{service_id}', 'methods' => ['post'], 'schemes' => ['http', 'https'], 'security' => [ [ 'BearerToken' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => ['operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'paid'], 'parameters' => [ [ 'name' => 'workspace_name', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'service_id', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ 'type' => 'object', 'properties' => [ 'document' => [ 'type' => 'object', 'properties' => [ 'content' => ['type' => 'string'], 'content_encoding' => ['type' => 'string'], 'content_type' => ['type' => 'string'], ], 'required' => true, ], 'strategy' => [ 'type' => 'object', 'properties' => [ 'max_chunk_size' => ['type' => 'integer', 'format' => 'int64'], 'compute_type' => ['type' => 'string'], 'need_sentence' => ['type' => 'boolean'], ], ], ], ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'request_id' => ['type' => 'string'], 'latency' => ['type' => 'integer', 'format' => 'int32'], 'usage' => [ 'type' => 'object', 'properties' => [ 'token_count' => ['type' => 'integer', 'format' => 'int64'], ], ], 'result' => [ 'type' => 'object', 'properties' => [ 'chunks' => [ 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'content' => ['type' => 'string'], 'meta' => [ 'type' => 'object', 'additionalProperties' => ['type' => 'string'], ], ], ], ], 'rich_texts' => [ 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'content' => ['type' => 'string'], 'meta' => [ 'type' => 'object', 'additionalProperties' => ['type' => 'string'], ], ], ], ], 'nodes' => [ 'type' => 'array', 'items' => [ 'type' => 'object', 'additionalProperties' => ['type' => 'string'], ], ], 'sentences' => [ 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'content' => ['type' => 'string'], 'meta' => [ 'type' => 'object', 'additionalProperties' => ['type' => 'string'], ], ], ], ], ], ], ], ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'responseDemo' => '', ], 'CreateDocumentAnalyzeTask' => [ 'summary' => '创建文档解析异步提取任务', 'path' => '/v3/openapi/workspaces/{workspace_name}/document-analyze/{service_id}/async', 'methods' => ['post'], 'schemes' => ['http', 'https'], 'security' => [ [ 'BearerToken' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => ['operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'paid'], 'parameters' => [ [ 'name' => 'workspace_name', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'service_id', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ 'type' => 'object', 'properties' => [ 'document' => [ 'type' => 'object', 'properties' => [ 'url' => ['type' => 'string'], 'content' => ['type' => 'string'], 'file_name' => ['type' => 'string'], 'file_type' => ['type' => 'string'], ], ], 'output' => [ 'type' => 'object', 'properties' => [ 'image_storage' => ['type' => 'string'], ], ], 'strategy' => [ 'type' => 'object', 'properties' => [ 'enable_semantic' => ['type' => 'boolean'], ], ], ], ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'request_id' => ['type' => 'string'], 'latency' => ['type' => 'integer', 'format' => 'int32'], 'result' => [ 'type' => 'object', 'properties' => [ 'task_id' => ['type' => 'string'], ], ], ], ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'responseDemo' => '', ], 'GetTextSparseEmbedding' => [ 'summary' => '文本稀疏向量化', 'path' => '/v3/openapi/workspaces/{workspace_name}/text-sparse-embedding/{service_id}', 'methods' => ['post'], 'schemes' => ['http', 'https'], 'security' => [ [ 'BearerToken' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => ['operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'paid'], 'parameters' => [ [ 'name' => 'workspace_name', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'service_id', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ 'type' => 'object', 'properties' => [ 'input' => [ 'type' => 'array', 'items' => ['type' => 'string'], 'required' => true, ], 'input_type' => [ 'type' => 'string', 'required' => false, 'example' => 'document', 'default' => 'document', 'enum' => ['document', 'query'], ], 'return_token' => ['type' => 'boolean'], ], ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'request_id' => ['type' => 'string'], 'latency' => ['type' => 'integer', 'format' => 'int32'], 'usage' => [ 'type' => 'object', 'properties' => [ 'token_count' => ['type' => 'integer', 'format' => 'int64'], ], ], 'result' => [ 'type' => 'object', 'properties' => [ 'sparse_embeddings' => [ 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'embedding' => [ 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'token' => ['type' => 'string'], 'token_id' => ['type' => 'integer', 'format' => 'int32'], 'weight' => ['type' => 'number', 'format' => 'float'], ], ], ], 'index' => ['type' => 'integer', 'format' => 'int32'], ], ], ], ], ], ], ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'responseDemo' => '', ], 'GetQueryAnalysis' => [ 'summary' => '获取query分析结果', 'path' => '/v3/openapi/workspaces/{workspace_name}/query-analyze/{service_id}', 'methods' => ['post'], 'schemes' => ['http', 'https'], 'security' => [ [ 'BearerToken' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => ['operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'paid'], 'parameters' => [ [ 'name' => 'workspace_name', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'service_id', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ 'type' => 'object', 'properties' => [ 'history' => [ 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'content' => ['type' => 'string'], 'role' => ['type' => 'string'], ], ], 'required' => false, ], 'query' => ['type' => 'string', 'required' => true], 'functions' => [ 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'name' => ['type' => 'string'], 'parameters' => ['type' => 'object'], ], ], ], ], ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'request_id' => ['type' => 'string'], 'latency' => ['type' => 'integer', 'format' => 'int32'], 'usage' => [ 'type' => 'object', 'properties' => [ 'output_tokens' => ['type' => 'integer', 'format' => 'int64'], 'input_tokens' => ['type' => 'integer', 'format' => 'int64'], 'total_tokens' => ['type' => 'integer', 'format' => 'int64'], ], ], 'result' => [ 'type' => 'object', 'properties' => [ 'query' => ['type' => 'string'], 'queries' => [ 'type' => 'array', 'items' => ['type' => 'string'], ], 'intent' => ['type' => 'string'], 'sql' => ['type' => 'object'], ], ], ], ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], ], 'CreateImageAnalyzeTask' => [ 'summary' => '创建图片解析异步提取任务', 'path' => '/v3/openapi/workspaces/{workspace_name}/image-analyze/{service_id}/async', 'methods' => ['post'], 'schemes' => ['http', 'https'], 'security' => [ [ 'BearerToken' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => ['operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'paid'], 'parameters' => [ [ 'name' => 'workspace_name', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'service_id', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ 'type' => 'object', 'properties' => [ 'document' => [ 'type' => 'object', 'properties' => [ 'url' => ['type' => 'string'], 'content' => ['type' => 'string'], 'file_name' => ['type' => 'string'], 'file_type' => ['type' => 'string'], ], ], ], ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'request_id' => ['type' => 'string'], 'latency' => ['type' => 'integer', 'format' => 'int32'], 'result' => [ 'type' => 'object', 'properties' => [ 'task_id' => ['type' => 'string'], ], ], ], ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], ], 'GetImageAnalyzeTaskStatus' => [ 'summary' => '获取图片解析异步提取任务状态', 'path' => '/v3/openapi/workspaces/{workspace_name}/image-analyze/{service_id}/async/task-status', 'methods' => ['get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'BearerToken' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => ['operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'paid'], 'parameters' => [ [ 'name' => 'workspace_name', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'service_id', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'task_id', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => true], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'request_id' => ['type' => 'string'], 'latency' => ['type' => 'integer', 'format' => 'int32'], 'usage' => [ 'type' => 'object', 'properties' => [ 'pv_count' => ['type' => 'integer', 'format' => 'int64'], 'token_count' => ['type' => 'integer', 'format' => 'int64'], ], ], 'result' => [ 'type' => 'object', 'properties' => [ 'data' => [ 'type' => 'object', 'properties' => [ 'content' => ['type' => 'string'], 'content_type' => ['type' => 'string'], 'page_num' => ['type' => 'integer', 'format' => 'int32'], ], ], 'status' => ['type' => 'string'], 'task_id' => ['type' => 'string'], 'error' => ['type' => 'string'], ], ], ], ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], ], 'GetTextEmbedding' => [ 'summary' => '文本向量化', 'path' => '/v3/openapi/workspaces/{workspace_name}/text-embedding/{service_id}', 'methods' => ['post'], 'schemes' => ['http', 'https'], 'security' => [ [ 'BearerToken' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => ['operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'paid'], 'parameters' => [ [ 'name' => 'workspace_name', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'service_id', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ 'type' => 'object', 'properties' => [ 'input' => [ 'type' => 'array', 'items' => ['type' => 'string'], 'required' => true, ], 'input_type' => [ 'type' => 'string', 'required' => false, 'example' => 'document', 'default' => 'document', 'enum' => ['document', 'query'], ], ], ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'request_id' => ['type' => 'string'], 'latency' => ['type' => 'integer', 'format' => 'int32'], 'usage' => [ 'type' => 'object', 'properties' => [ 'token_count' => ['type' => 'integer', 'format' => 'int64'], ], ], 'result' => [ 'type' => 'object', 'properties' => [ 'embeddings' => [ 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'index' => ['type' => 'integer', 'format' => 'int32'], 'embedding' => [ 'type' => 'array', 'items' => ['type' => 'number', 'format' => 'double'], ], ], ], ], ], ], ], ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], ], 'GetWebSearch' => [ 'summary' => '联网搜索', 'path' => '/v3/openapi/workspaces/{workspace_name}/web-search/{service_id}', 'methods' => ['post'], 'schemes' => ['http', 'https'], 'security' => [ [ 'BearerToken' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => ['operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'paid'], 'parameters' => [ [ 'name' => 'workspace_name', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'service_id', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ 'type' => 'object', 'properties' => [ 'query' => ['type' => 'string', 'required' => true], 'way' => ['type' => 'string'], 'top_k' => ['type' => 'integer', 'format' => 'int64'], 'query_rewrite' => ['type' => 'boolean'], 'content_type' => ['type' => 'string'], 'history' => [ 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'role' => ['type' => 'string'], 'content' => ['type' => 'string'], ], ], ], ], ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'request_id' => ['type' => 'string'], 'latency' => ['type' => 'integer', 'format' => 'int32'], 'usage' => [ 'type' => 'object', 'properties' => [ 'search_count' => ['type' => 'integer', 'format' => 'int64'], 'rewrite_model.input_tokens' => ['type' => 'integer', 'format' => 'int64'], 'rewrite_model.output_tokens' => ['type' => 'integer', 'format' => 'int64'], 'rewrite_model.total_tokens' => ['type' => 'integer', 'format' => 'int64'], 'filter_model.input_tokens' => ['type' => 'integer', 'format' => 'int64'], 'filter_model.output_tokens' => ['type' => 'integer', 'format' => 'int64'], 'filter_model.total_tokens' => ['type' => 'integer', 'format' => 'int64'], ], ], 'result' => [ 'type' => 'object', 'properties' => [ 'search_result' => [ 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'tilte' => ['type' => 'string'], 'link' => ['type' => 'string'], 'snippet' => ['type' => 'string'], 'content' => ['type' => 'string'], 'position' => ['type' => 'integer', 'format' => 'int64'], 'meta_info' => ['type' => 'object'], ], ], ], ], ], ], ], ], ], ], 'GetEmbeddingTuning' => [ 'summary' => '向量微调', 'path' => '/v3/openapi/workspaces/{workspace_name}/embedding-tuning/{service_id}', 'methods' => ['post'], 'schemes' => ['http', 'https'], 'security' => [ [ 'BearerToken' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => ['operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'paid'], 'parameters' => [ [ 'name' => 'workspace_name', 'in' => 'path', 'schema' => ['title' => 'A short description of struct', 'type' => 'string'], ], [ 'name' => 'service_id', 'in' => 'path', 'schema' => ['type' => 'string'], ], [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ 'type' => 'object', 'properties' => [ 'input' => [ 'type' => 'array', 'items' => [ 'type' => 'array', 'items' => ['type' => 'number', 'format' => 'float'], ], ], 'parameters' => ['type' => 'object'], ], ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', 'type' => 'object', 'properties' => [ 'request_id' => ['title' => 'Id of the request', 'type' => 'string'], 'latency' => ['type' => 'integer', 'format' => 'int32'], 'usage' => [ 'type' => 'object', 'properties' => [ 'doc_count' => ['type' => 'integer', 'format' => 'int32'], ], ], 'result' => [ 'type' => 'object', 'properties' => [ 'output' => [ 'type' => 'array', 'items' => [ 'type' => 'array', 'items' => ['type' => 'number', 'format' => 'float'], ], ], ], ], ], ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], ], 'GetPrediction' => [ 'summary' => '获取推理结果', 'path' => '/v3/openapi/deployments/{deployment_id}/predict', 'methods' => ['post'], 'schemes' => ['http', 'https'], 'security' => [ [ 'BearerToken' => [], ], ], 'consumes' => ['application/json'], 'produces' => [], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => ['operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'paid'], 'parameters' => [ [ 'name' => 'deployment_id', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'body', 'in' => 'body', 'schema' => ['type' => 'string'], ], [ 'name' => 'Token', 'in' => 'header', 'schema' => ['type' => 'string'], ], ], 'responses' => [ 200 => [ 'schema' => ['type' => 'string'], ], ], 'staticInfo' => ['returnType' => 'synchronous'], ], 'CreateAudioAsrTask' => [ 'summary' => '创建语音转录异步任务', 'path' => '/v3/openapi/workspaces/{workspace_name}/audio-asr/{service_id}/async', 'methods' => ['post'], 'schemes' => ['http', 'https'], 'security' => [ [ 'BearerToken' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => ['operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'paid'], 'parameters' => [ [ 'name' => 'workspace_name', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'service_id', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ 'type' => 'object', 'properties' => [ 'input' => [ 'type' => 'object', 'properties' => [ 'content' => ['type' => 'string'], 'file_name' => ['type' => 'string'], 'oss' => ['type' => 'string'], 'url' => ['type' => 'string'], ], ], 'output' => [ 'type' => 'object', 'properties' => [ 'type' => ['type' => 'string'], 'oss' => ['type' => 'string'], ], ], 'parameters' => ['type' => 'object'], ], ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'request_id' => ['type' => 'string'], 'latency' => ['type' => 'integer', 'format' => 'int32'], 'result' => [ 'type' => 'object', 'properties' => [ 'task_id' => ['type' => 'string'], ], ], ], ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], ], 'CreateVideoSnapshotTask' => [ 'summary' => '创建语音转录异步任务', 'path' => '/v3/openapi/workspaces/{workspace_name}/video-snapshot/{service_id}/async', 'methods' => ['post'], 'schemes' => ['http', 'https'], 'security' => [ [ 'BearerToken' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => ['operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'paid'], 'parameters' => [ [ 'name' => 'workspace_name', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'service_id', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ 'type' => 'object', 'properties' => [ 'input' => [ 'type' => 'object', 'properties' => [ 'content' => ['type' => 'string'], 'file_name' => ['type' => 'string'], 'oss' => ['type' => 'string'], 'url' => ['type' => 'string'], ], ], 'output' => [ 'type' => 'object', 'properties' => [ 'type' => ['type' => 'string'], 'oss' => ['type' => 'string'], ], ], 'parameters' => ['type' => 'object'], ], ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'request_id' => ['type' => 'string'], 'latency' => ['type' => 'integer', 'format' => 'int32'], 'result' => [ 'type' => 'object', 'properties' => [ 'task_id' => ['type' => 'string'], ], ], ], ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], ], 'GetAudioAsrTaskStatus' => [ 'summary' => '获取视频截帧异步提取任务状态', 'path' => '/v3/openapi/workspaces/{workspace_name}/audio-asr/{service_id}/async/task-status', 'methods' => ['get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'BearerToken' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => ['operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'paid'], 'parameters' => [ [ 'name' => 'workspace_name', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'service_id', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'task_id', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => true], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'request_id' => ['type' => 'string'], 'latency' => ['type' => 'integer', 'format' => 'int32'], 'usage' => [ 'type' => 'object', 'properties' => [ 'duration' => ['type' => 'number', 'format' => 'float'], ], ], 'result' => [ 'type' => 'object', 'properties' => [ 'status' => ['type' => 'string'], 'task_id' => ['type' => 'string'], 'error' => ['type' => 'string'], 'data' => [ 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'text' => ['type' => 'string'], 'start' => ['type' => 'number', 'format' => 'float'], 'end' => ['type' => 'number', 'format' => 'float'], ], ], ], ], ], ], ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], ], 'GetImageObjectDetection' => [ 'summary' => '图片主体检测', 'path' => '/v3/openapi/workspaces/{workspace_name}/image-object-detection/{service_id}', 'methods' => ['post'], 'schemes' => ['http', 'https'], 'security' => [ [ 'BearerToken' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => ['operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'paid', 'tenantRelevance' => 'tenant'], 'parameters' => [ [ 'name' => 'workspace_name', 'in' => 'path', 'schema' => ['title' => 'A short description of struct', 'type' => 'string'], ], [ 'name' => 'service_id', 'in' => 'path', 'schema' => ['type' => 'string'], ], [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ 'type' => 'object', 'properties' => [ 'image' => [ 'type' => 'object', 'properties' => [ 'url' => ['type' => 'string'], 'content' => ['type' => 'string'], ], ], 'options' => ['type' => 'object'], ], ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', 'type' => 'object', 'properties' => [ 'request_id' => ['type' => 'string'], 'latency' => ['type' => 'integer', 'format' => 'int32'], 'usage' => [ 'type' => 'object', 'properties' => [ 'image' => ['type' => 'integer', 'format' => 'int64'], ], ], 'result' => [ 'type' => 'object', 'properties' => [ 'objects' => [ 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'confidence' => ['type' => 'string'], 'location' => [ 'type' => 'object', 'properties' => [ 'height' => ['type' => 'integer', 'format' => 'int32'], 'width' => ['type' => 'integer', 'format' => 'int32'], 'Y' => ['type' => 'integer', 'format' => 'int32'], 'X' => ['type' => 'integer', 'format' => 'int32'], ], ], ], ], ], ], ], ], ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], ], 'GetMultiModalEmbedding' => [ 'summary' => '多模态向量化', 'path' => '/v3/openapi/workspaces/{workspace_name}/multi-modal-embedding/{service_id}', 'methods' => ['post'], 'schemes' => ['http', 'https'], 'security' => [ [ 'BearerToken' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => ['operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'paid', 'tenantRelevance' => 'tenant'], 'parameters' => [ [ 'name' => 'workspace_name', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'service_id', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ 'type' => 'object', 'properties' => [ 'input' => [ 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'text' => ['type' => 'string'], 'image' => ['type' => 'string'], ], ], ], 'options' => ['type' => 'object'], ], ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'request_id' => ['type' => 'string'], 'latency' => ['type' => 'integer', 'format' => 'int32'], 'usage' => [ 'type' => 'object', 'properties' => [ 'token_count' => ['type' => 'integer', 'format' => 'int64'], 'image' => ['type' => 'integer', 'format' => 'int64'], 'text_token' => ['type' => 'integer', 'format' => 'int64'], 'image_token' => ['type' => 'integer', 'format' => 'int64'], ], ], 'result' => [ 'type' => 'object', 'properties' => [ 'embeddings' => [ 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'index' => ['type' => 'integer', 'format' => 'int64'], 'embedding' => [ 'type' => 'array', 'items' => ['type' => 'number', 'format' => 'double'], ], ], ], ], ], ], ], ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], ], 'GetMultiModalReranker' => [ 'summary' => '多模态 Reranker', 'path' => '/v3/openapi/workspaces/{workspace_name}/multi-modal-reranker/{service_id}', 'methods' => ['post'], 'schemes' => ['http', 'https'], 'security' => [ [ 'BearerToken' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => ['operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'paid', 'tenantRelevance' => 'tenant'], 'parameters' => [ [ 'name' => 'workspace_name', 'in' => 'path', 'schema' => ['title' => 'A short description of struct', 'type' => 'string'], ], [ 'name' => 'service_id', 'in' => 'path', 'schema' => ['type' => 'string'], ], [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ 'type' => 'object', 'properties' => [ 'query' => [ 'type' => 'object', 'properties' => [ 'text' => ['type' => 'string'], 'image' => ['type' => 'string'], ], ], 'docs' => [ 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'text' => ['type' => 'string'], 'image' => ['type' => 'string'], ], ], ], 'options' => ['type' => 'object'], ], ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', 'type' => 'object', 'properties' => [ 'request_id' => ['type' => 'string'], 'latency' => ['type' => 'integer', 'format' => 'int32'], 'usage' => [ 'type' => 'object', 'properties' => [ 'text_token' => ['type' => 'integer', 'format' => 'int64'], 'image_token' => ['type' => 'integer', 'format' => 'int64'], ], ], 'result' => [ 'type' => 'object', 'properties' => [ 'scores' => [ 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'index' => ['type' => 'integer', 'format' => 'int32'], 'score' => ['type' => 'number', 'format' => 'double'], ], ], ], ], ], ], ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], ], 'GetVideoSnapshotTaskStatus' => [ 'summary' => '获取视频截帧异步提取任务状态', 'path' => '/v3/openapi/workspaces/{workspace_name}/video-snapshot/{service_id}/async/task-status', 'methods' => ['get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'BearerToken' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => ['operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'paid'], 'parameters' => [ [ 'name' => 'workspace_name', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'service_id', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'task_id', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => true], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'request_id' => ['type' => 'string'], 'latency' => ['type' => 'integer', 'format' => 'int32'], 'usage' => [ 'type' => 'object', 'properties' => [ 'image_count' => ['type' => 'integer', 'format' => 'int64'], ], ], 'result' => [ 'type' => 'object', 'properties' => [ 'status' => ['type' => 'string'], 'task_id' => ['type' => 'string'], 'error' => ['type' => 'string'], 'data' => [ 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'frame_index' => ['type' => 'integer', 'format' => 'int64'], 'path' => ['type' => 'string'], 'frame_time' => ['type' => 'number', 'format' => 'float'], ], ], ], ], ], ], ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], ], 'GetVideoSegmentationTaskStatus' => [ 'summary' => '获取视频切割异步任务状态', 'path' => '/v3/openapi/workspaces/{workspace_name}/video-segmentation/{service_id}/async/task-status', 'methods' => ['get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'BearerToken' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => ['operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'paid'], 'parameters' => [ [ 'name' => 'workspace_name', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'service_id', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'task_id', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => true], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'request_id' => ['type' => 'string'], 'latency' => ['type' => 'integer', 'format' => 'int32'], 'usage' => [ 'type' => 'object', 'properties' => [ 'image_token' => ['type' => 'integer', 'format' => 'int64'], 'audio_token' => ['type' => 'integer', 'format' => 'int64'], ], ], 'result' => [ 'type' => 'object', 'properties' => [ 'status' => ['type' => 'string'], 'task_id' => ['type' => 'string'], 'error' => ['type' => 'string'], 'data' => [ 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'chunk_index' => ['type' => 'integer', 'format' => 'int32'], 'start_time' => ['type' => 'number', 'format' => 'float'], 'end_time' => ['type' => 'number', 'format' => 'float'], 'snapshots' => [ 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'frame_index' => ['type' => 'integer', 'format' => 'int32'], 'path' => ['type' => 'string'], 'frame_time' => ['type' => 'number', 'format' => 'float'], ], ], ], 'transcript' => ['type' => 'string'], ], ], ], ], ], ], ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"request_id\\": \\"\\",\\n \\"latency\\": 0,\\n \\"usage\\": {\\n \\"image_token\\": 0,\\n \\"audio_token\\": 0\\n },\\n \\"result\\": {\\n \\"status\\": \\"\\",\\n \\"task_id\\": \\"\\",\\n \\"error\\": \\"\\",\\n \\"data\\": [\\n {\\n \\"chunk_index\\": 0,\\n \\"start_time\\": 0,\\n \\"end_time\\": 0,\\n \\"snapshots\\": [\\n {\\n \\"frame_index\\": 0,\\n \\"path\\": \\"\\",\\n \\"frame_time\\": 0\\n }\\n ],\\n \\"transcript\\": \\"\\"\\n }\\n ]\\n }\\n}","type":"json"}]', ], 'GetVideoSummarizationTaskStatus' => [ 'summary' => '获取视频总结异步任务状态', 'path' => '/v3/openapi/workspaces/{workspace_name}/video-summarization/{service_id}/async/task-status', 'methods' => ['get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'BearerToken' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => ['operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'paid'], 'parameters' => [ [ 'name' => 'workspace_name', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'service_id', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'task_id', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => true], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'request_id' => ['type' => 'string'], 'latency' => ['type' => 'integer', 'format' => 'int32'], 'usage' => [ 'type' => 'object', 'properties' => [ 'image_token' => ['type' => 'integer', 'format' => 'int64'], 'audio_token' => ['type' => 'integer', 'format' => 'int64'], 'input_token' => ['type' => 'integer', 'format' => 'int64'], 'output_token' => ['type' => 'integer', 'format' => 'int64'], ], ], 'result' => [ 'type' => 'object', 'properties' => [ 'status' => ['type' => 'string'], 'task_id' => ['type' => 'string'], 'error' => ['type' => 'string'], 'data' => [ 'type' => 'object', 'properties' => [ 'video_metadata' => [ 'type' => 'object', 'properties' => [ 'title' => ['type' => 'string'], 'summary' => ['type' => 'string'], 'tags' => [ 'type' => 'array', 'items' => ['type' => 'string'], ], ], ], 'chunks' => [ 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'index' => ['type' => 'integer', 'format' => 'int32'], 'enhanced_transcript' => ['type' => 'string'], 'metadata' => [ 'type' => 'object', 'properties' => [ 'title' => ['type' => 'string'], 'summary' => ['type' => 'string'], 'tags' => [ 'type' => 'array', 'items' => ['type' => 'string'], ], ], ], ], ], ], ], ], ], ], ], ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"request_id\\": \\"\\",\\n \\"latency\\": 0,\\n \\"usage\\": {\\n \\"image_token\\": 0,\\n \\"audio_token\\": 0,\\n \\"input_token\\": 0,\\n \\"output_token\\": 0\\n },\\n \\"result\\": {\\n \\"status\\": \\"\\",\\n \\"task_id\\": \\"\\",\\n \\"error\\": \\"\\",\\n \\"data\\": {\\n \\"video_metadata\\": {\\n \\"title\\": \\"\\",\\n \\"summary\\": \\"\\",\\n \\"tags\\": [\\n \\"\\"\\n ]\\n },\\n \\"chunks\\": [\\n {\\n \\"index\\": 0,\\n \\"enhanced_transcript\\": \\"\\",\\n \\"metadata\\": {\\n \\"title\\": \\"\\",\\n \\"summary\\": \\"\\",\\n \\"tags\\": [\\n \\"\\"\\n ]\\n }\\n }\\n ]\\n }\\n }\\n}","type":"json"}]', ], 'CreateVideoSegmentationTask' => [ 'summary' => '创建视频切割异步任务。', 'path' => '/v3/openapi/workspaces/{workspace_name}/video-segmentation/{service_id}/async', 'methods' => ['post'], 'schemes' => ['http', 'https'], 'security' => [ [ 'BearerToken' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => ['operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'paid'], 'parameters' => [ [ 'name' => 'workspace_name', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'service_id', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ 'type' => 'object', 'properties' => [ 'input' => [ 'type' => 'object', 'properties' => [ 'file_name' => ['type' => 'string', 'required' => false], 'oss' => ['type' => 'string', 'required' => false], 'url' => ['type' => 'string', 'required' => false], ], 'required' => false, ], 'output' => [ 'type' => 'object', 'properties' => [ 'type' => ['type' => 'string', 'required' => false], 'oss' => ['type' => 'string', 'required' => false], ], 'required' => false, ], 'parameters' => ['type' => 'object', 'required' => false], ], 'required' => false, ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'request_id' => ['type' => 'string'], 'latency' => ['type' => 'integer', 'format' => 'int32'], 'result' => [ 'type' => 'object', 'properties' => [ 'task_id' => ['type' => 'string'], ], ], ], ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"request_id\\": \\"\\",\\n \\"latency\\": 0,\\n \\"result\\": {\\n \\"task_id\\": \\"\\"\\n }\\n}","type":"json"}]', 'title' => '创建视频切割异步任务', ], 'CreateVideoSummarizationTask' => [ 'summary' => '创建视频总结异步任务', 'path' => '/v3/openapi/workspaces/{workspace_name}/video-summarization/{service_id}/async', 'methods' => ['post'], 'schemes' => ['http', 'https'], 'security' => [ [ 'BearerToken' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => ['operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'paid'], 'parameters' => [ [ 'name' => 'workspace_name', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'service_id', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ 'type' => 'object', 'properties' => [ 'input' => [ 'type' => 'object', 'properties' => [ 'file_name' => ['type' => 'string', 'required' => false], 'oss' => ['type' => 'string', 'required' => false], 'url' => ['type' => 'string', 'required' => false], 'chunks' => [ 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'start_time' => ['type' => 'number', 'format' => 'float', 'required' => false], 'end_time' => ['type' => 'number', 'format' => 'float', 'required' => false], 'transcript' => ['type' => 'string', 'required' => false], 'snapshots' => [ 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'frame_index' => ['type' => 'integer', 'format' => 'int32', 'required' => false], 'path' => ['type' => 'string', 'required' => false], 'frame_time' => ['type' => 'number', 'format' => 'float', 'required' => false], ], 'required' => false, ], 'required' => false, ], ], 'required' => false, ], 'required' => false, ], ], 'required' => false, ], 'output' => [ 'type' => 'object', 'properties' => [ 'type' => ['type' => 'string', 'required' => false], 'oss' => ['type' => 'string', 'required' => false], ], 'required' => false, ], 'parameters' => ['type' => 'object', 'required' => false], ], 'required' => false, ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'request_id' => ['type' => 'string'], 'latency' => ['type' => 'integer', 'format' => 'int32'], 'result' => [ 'type' => 'object', 'properties' => [ 'task_id' => ['type' => 'string'], ], ], ], ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"request_id\\": \\"\\",\\n \\"latency\\": 0,\\n \\"result\\": {\\n \\"task_id\\": \\"\\"\\n }\\n}","type":"json"}]', ], 'UpdateMemorySkill' => [ 'summary' => '更新 Skill', 'path' => '/v3/openapi/workspaces/{workspace_name}/memory/{service_id}/skills/{skill_id}', 'methods' => ['put'], 'schemes' => ['http', 'https'], 'security' => [ [ 'BearerToken' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => ['operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'paid'], 'parameters' => [ [ 'name' => 'workspace_name', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'service_id', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'skill_id', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ 'type' => 'object', 'properties' => [ 'name' => ['type' => 'string'], 'version' => ['type' => 'string'], 'files' => [ 'type' => 'object', 'additionalProperties' => ['type' => 'string'], ], 'user_id' => ['type' => 'string'], 'agent_id' => ['type' => 'string'], ], ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'request_id' => ['type' => 'string'], 'latency' => ['type' => 'integer', 'format' => 'int32'], 'status' => ['type' => 'string'], 'result' => [ 'type' => 'object', 'properties' => [ 'name' => ['type' => 'string'], 'version' => ['type' => 'string'], 'files' => [ 'type' => 'object', 'additionalProperties' => ['type' => 'string'], ], ], ], ], ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], ], 'CreateMemorySkill' => [ 'summary' => '上传skill', 'path' => '/v3/openapi/workspaces/{workspace_name}/memory/{service_id}/skills', 'methods' => ['post'], 'schemes' => ['http', 'https'], 'security' => [ [ 'BearerToken' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => ['operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'paid'], 'parameters' => [ [ 'name' => 'workspace_name', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'service_id', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ 'type' => 'object', 'properties' => [ 'zip_base64' => ['type' => 'string'], 'user_id' => ['type' => 'string'], 'agent_id' => ['type' => 'string'], ], ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'request_id' => ['type' => 'string'], 'latency' => ['type' => 'integer', 'format' => 'int32'], 'status' => ['type' => 'string'], 'result' => [ 'type' => 'object', 'properties' => [ 'imported_count' => ['type' => 'integer', 'format' => 'int32'], 'data' => [ 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'id' => ['type' => 'string'], 'name' => ['type' => 'string'], 'description' => ['type' => 'string'], 'version' => ['type' => 'string'], 'owner' => ['type' => 'string'], 'tags' => [ 'type' => 'array', 'items' => ['type' => 'string'], ], 'triggers' => [ 'type' => 'array', 'items' => ['type' => 'string'], ], 'resource_paths' => [ 'type' => 'array', 'items' => ['type' => 'string'], ], 'updated_at' => ['type' => 'string'], ], ], ], ], ], ], ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], ], 'SearchMemory' => [ 'summary' => '根据查询条件搜索 Memory', 'path' => '/v3/openapi/workspaces/{workspace_name}/memory/{service_id}/search', 'methods' => ['post'], 'schemes' => ['http', 'https'], 'security' => [ [ 'BearerToken' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => ['operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'paid'], 'parameters' => [ [ 'name' => 'workspace_name', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'service_id', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ 'type' => 'object', 'properties' => [ 'query' => ['type' => 'string', 'required' => true], 'user_id' => ['type' => 'string'], 'agent_id' => ['type' => 'string'], 'run_id' => ['type' => 'string'], 'size' => ['type' => 'integer', 'format' => 'int32'], 'enhancements' => [ 'type' => 'object', 'additionalProperties' => ['type' => 'any'], ], ], ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'request_id' => ['type' => 'string'], 'latency' => ['type' => 'integer', 'format' => 'int32'], 'status' => ['type' => 'string'], 'result' => [ 'type' => 'object', 'properties' => [ 'memory' => [ 'type' => 'object', 'properties' => [ 'total' => ['type' => 'integer', 'format' => 'int32'], 'results' => [ 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'memory_id' => ['type' => 'string'], 'memory' => ['type' => 'string'], 'user_id' => ['type' => 'string'], 'agent_id' => ['type' => 'string'], ], ], ], ], ], 'skill' => [ 'type' => 'object', 'properties' => [ 'total' => ['type' => 'integer', 'format' => 'int32'], 'results' => [ 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'skill_id' => ['type' => 'string'], 'name' => ['type' => 'string'], 'description' => ['type' => 'string'], 'version' => ['type' => 'string'], 'user_id' => ['type' => 'string'], 'agent_id' => ['type' => 'string'], ], ], ], ], ], ], ], ], ], ], ], ], 'DeleteMemory' => [ 'summary' => '删除一条 Memory', 'path' => '/v3/openapi/workspaces/{workspace_name}/memory/{service_id}/memories/{memory_id}', 'methods' => ['delete'], 'schemes' => ['http', 'https'], 'security' => [ [ 'BearerToken' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => ['operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'paid'], 'parameters' => [ [ 'name' => 'workspace_name', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'service_id', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'memory_id', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'request_id' => ['type' => 'string'], 'latency' => ['type' => 'integer', 'format' => 'int32'], 'status' => ['type' => 'string'], 'result' => [ 'type' => 'object', 'properties' => [ 'status' => ['type' => 'string'], 'memory_id' => ['type' => 'string'], 'message' => ['type' => 'string'], ], ], ], ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], ], 'GetMemory' => [ 'summary' => '查看memory详情', 'path' => '/v3/openapi/workspaces/{workspace_name}/memory/{service_id}/memories/{memory_id}', 'methods' => ['get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'BearerToken' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => ['operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'paid'], 'parameters' => [ [ 'name' => 'workspace_name', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'service_id', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'memory_id', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'request_id' => ['type' => 'string'], 'latency' => ['type' => 'integer', 'format' => 'int32'], 'status' => ['type' => 'string'], 'result' => [ 'type' => 'object', 'properties' => [ 'memory_id' => ['type' => 'string'], 'memory' => ['type' => 'string'], 'user_id' => ['type' => 'string'], 'agent_id' => ['type' => 'string'], ], ], ], ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], ], 'GetMemoryTask' => [ 'summary' => '查询memory异步任务的处理状态', 'path' => '/v3/openapi/workspaces/{workspace_name}/memory/{service_id}/tasks/{task_id}', 'methods' => ['get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'BearerToken' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => ['operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'paid'], 'parameters' => [ [ 'name' => 'workspace_name', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'service_id', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'task_id', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'request_id' => ['type' => 'string'], 'latency' => ['type' => 'integer', 'format' => 'int32'], 'status' => ['type' => 'string'], 'result' => [ 'type' => 'object', 'properties' => [ 'task_id' => ['type' => 'string'], 'status' => ['type' => 'string'], 'memory_ids' => [ 'type' => 'array', 'items' => ['type' => 'string'], ], 'skill_ids' => [ 'type' => 'array', 'items' => ['type' => 'string'], ], 'error_message' => ['type' => 'string'], ], ], ], ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], ], 'GetMemoryHealth' => [ 'summary' => '检查 Memory 服务健康状态', 'path' => '/v3/openapi/workspaces/{workspace_name}/memory/{service_id}/health', 'methods' => ['get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'BearerToken' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => ['operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'paid'], 'parameters' => [ [ 'name' => 'workspace_name', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'service_id', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'request_id' => ['type' => 'string'], 'latency' => ['type' => 'integer', 'format' => 'int32'], 'result' => [ 'type' => 'object', 'properties' => [ 'status' => ['type' => 'string'], ], ], 'status' => ['type' => 'string'], ], ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], ], 'CreateMemory' => [ 'summary' => '存储 Memory 内容', 'path' => '/v3/openapi/workspaces/{workspace_name}/memory/{service_id}/memories', 'methods' => ['post'], 'schemes' => ['http', 'https'], 'security' => [ [ 'BearerToken' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => ['operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'paid'], 'parameters' => [ [ 'name' => 'workspace_name', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'service_id', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ 'type' => 'object', 'properties' => [ 'messages' => ['type' => 'any'], 'user_id' => ['type' => 'string'], 'agent_id' => ['type' => 'string'], 'run_id' => ['type' => 'string'], 'enhancements' => [ 'type' => 'object', 'additionalProperties' => ['type' => 'any'], ], ], ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'request_id' => ['type' => 'string'], 'latency' => ['type' => 'integer', 'format' => 'int32'], 'status' => ['type' => 'string'], 'result' => [ 'type' => 'object', 'properties' => [ 'memory' => [ 'type' => 'object', 'properties' => [ 'task_id' => ['type' => 'string'], ], ], 'skill' => [ 'type' => 'object', 'properties' => [ 'task_id' => ['type' => 'string'], ], ], ], ], ], ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], ], 'UpdateMemory' => [ 'summary' => '更新 Memory', 'path' => '/v3/openapi/workspaces/{workspace_name}/memory/{service_id}/memories/{memory_id}', 'methods' => ['put'], 'schemes' => ['http', 'https'], 'security' => [ [ 'BearerToken' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => ['operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'paid'], 'parameters' => [ [ 'name' => 'workspace_name', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'service_id', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'memory_id', 'in' => 'path', 'schema' => ['type' => 'string'], ], [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ 'type' => 'object', 'properties' => [ 'memory' => ['type' => 'string'], ], ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'request_id' => ['type' => 'string'], 'latency' => ['type' => 'integer', 'format' => 'int32'], 'status' => ['type' => 'string'], 'result' => [ 'type' => 'object', 'properties' => [ 'memory_id' => ['type' => 'string'], 'memory' => ['type' => 'string'], 'message' => ['type' => 'string'], ], ], ], ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], ], 'GetMemorySkill' => [ 'summary' => '查看skill详情', 'path' => '/v3/openapi/workspaces/{workspace_name}/memory/{service_id}/skills/{skill_id}', 'methods' => ['get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'BearerToken' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => ['operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'paid'], 'parameters' => [ [ 'name' => 'workspace_name', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'service_id', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'skill_id', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'request_id' => ['type' => 'string'], 'latency' => ['type' => 'integer', 'format' => 'int32'], 'status' => ['type' => 'string'], 'result' => [ 'type' => 'object', 'properties' => [ 'skill_id' => ['type' => 'string'], 'name' => ['type' => 'string'], 'files' => ['type' => 'string'], 'agent_id' => ['type' => 'string'], 'user_id' => ['type' => 'string'], ], ], ], ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], ], 'DeleteMemorySkill' => [ 'summary' => '删除skill', 'path' => '/v3/openapi/workspaces/{workspace_name}/memory/{service_id}/skills/{skill_id}', 'methods' => ['delete'], 'schemes' => ['http', 'https'], 'security' => [ [ 'BearerToken' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => ['operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'paid'], 'parameters' => [ [ 'name' => 'workspace_name', 'in' => 'path', 'schema' => ['type' => 'string'], ], [ 'name' => 'service_id', 'in' => 'path', 'schema' => ['type' => 'string'], ], [ 'name' => 'skill_id', 'in' => 'path', 'schema' => ['type' => 'string'], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'request_id' => ['type' => 'string'], 'latency' => ['type' => 'integer', 'format' => 'int32'], 'status' => ['type' => 'string'], 'result' => [ 'type' => 'object', 'properties' => [ 'status' => ['type' => 'string'], 'skill_id' => ['type' => 'string'], 'message' => ['type' => 'string'], ], ], ], ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], ], 'GetJinaAiReader' => [ 'summary' => '获取JinaAiReader解析结果', 'path' => '/v3/openapi/workspaces/{workspace_name}/jina-ai-reader/{service_id}', 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'BearerToken' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => ['operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'paid'], 'parameters' => [ [ 'name' => 'workspace_name', 'in' => 'path', 'schema' => ['type' => 'string'], ], [ 'name' => 'service_id', 'in' => 'path', 'schema' => ['type' => 'string'], ], [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ 'type' => 'object', 'properties' => [ 'url' => ['type' => 'string'], ], ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', 'type' => 'object', 'properties' => [ 'request_id' => ['title' => 'Id of the request', 'type' => 'string'], 'latency' => ['type' => 'integer', 'format' => 'int32'], 'result' => [ 'type' => 'object', 'properties' => [ 'content' => ['type' => 'string'], 'meta' => [ 'type' => 'object', 'additionalProperties' => ['type' => 'string'], ], ], ], 'usage' => [ 'type' => 'object', 'properties' => [ 'token_count' => ['type' => 'integer', 'format' => 'int32'], ], ], ], ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], ], ], 'endpoints' => [ ['regionId' => 'cn-shanghai', 'endpoint' => 'searchplat.cn-shanghai.aliyuncs.com'], ['regionId' => 'eu-central-1', 'endpoint' => 'searchplat.eu-central-1.aliyuncs.com'], ], ];