'1.0', 'info' => ['product' => 'Searchplat', 'version' => '2024-05-29'], 'components' => [ 'schemas' => [], ], 'apis' => [ 'GetTextGeneration' => [ 'path' => '/v3/openapi/workspaces/{workspace_name}/text-generation/{service_id}', 'methods' => ['post'], 'schemes' => ['http', 'https'], 'security' => [ [ 'BearerToken' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'deprecated' => false, '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', 'required' => true, 'items' => [ 'type' => 'object', 'properties' => [ 'content' => ['type' => 'string'], 'role' => ['type' => 'string'], ], ], ], 'stream' => ['type' => 'boolean'], 'csi_level' => ['type' => 'string'], 'parameters' => ['type' => 'object'], 'enable_search' => ['type' => 'boolean'], ], ], ], ], ], 'GetDocumentAnalyzeTaskStatus' => [ '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'], 'deprecated' => false, '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], ], ], ], 'GetDocumentRank' => [ 'path' => '/v3/openapi/workspaces/{workspace_name}/ranker/{service_id}', 'methods' => ['post'], 'schemes' => ['http', 'https'], 'security' => [ [ 'BearerToken' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'deprecated' => false, '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', 'required' => true, 'items' => ['type' => 'string', 'required' => true], ], 'query' => ['type' => 'string', 'required' => true], ], ], ], ], ], 'GetDocumentSplit' => [ 'path' => '/v3/openapi/workspaces/{workspace_name}/document-split/{service_id}', 'methods' => ['post'], 'schemes' => ['http', 'https'], 'security' => [ [ 'BearerToken' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'deprecated' => false, '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', 'required' => true, 'properties' => [ 'content' => ['type' => 'string'], 'content_encoding' => ['type' => 'string'], 'content_type' => ['type' => 'string'], ], ], 'strategy' => [ 'type' => 'object', 'properties' => [ 'max_chunk_size' => ['type' => 'integer', 'format' => 'int64'], 'compute_type' => ['type' => 'string'], 'need_sentence' => ['type' => 'boolean'], ], ], ], ], ], ], ], 'CreateDocumentAnalyzeTask' => [ 'path' => '/v3/openapi/workspaces/{workspace_name}/document-analyze/{service_id}/async', 'methods' => ['post'], 'schemes' => ['http', 'https'], 'security' => [ [ 'BearerToken' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'deprecated' => false, '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'], ], ], ], ], ], ], ], 'GetTextSparseEmbedding' => [ 'path' => '/v3/openapi/workspaces/{workspace_name}/text-sparse-embedding/{service_id}', 'methods' => ['post'], 'schemes' => ['http', 'https'], 'security' => [ [ 'BearerToken' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'deprecated' => false, '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', 'required' => true, 'items' => ['type' => 'string'], ], 'input_type' => [ 'type' => 'string', 'required' => false, 'enum' => ['document', 'query'], ], 'return_token' => ['type' => 'boolean'], ], ], ], ], ], 'GetQueryAnalysis' => [ 'path' => '/v3/openapi/workspaces/{workspace_name}/query-analyze/{service_id}', 'methods' => ['post'], 'schemes' => ['http', 'https'], 'security' => [ [ 'BearerToken' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'deprecated' => false, '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', 'required' => false, 'items' => [ 'type' => 'object', 'properties' => [ 'content' => ['type' => 'string'], 'role' => ['type' => 'string'], ], ], ], 'query' => ['type' => 'string', 'required' => true], 'functions' => [ 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'name' => ['type' => 'string'], 'parameters' => ['type' => 'object'], ], ], ], ], ], ], ], ], 'CreateImageAnalyzeTask' => [ 'path' => '/v3/openapi/workspaces/{workspace_name}/image-analyze/{service_id}/async', 'methods' => ['post'], 'schemes' => ['http', 'https'], 'security' => [ [ 'BearerToken' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'deprecated' => false, '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'], ], ], ], ], ], ], ], 'GetImageAnalyzeTaskStatus' => [ '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'], 'deprecated' => false, '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], ], ], ], 'GetTextEmbedding' => [ 'path' => '/v3/openapi/workspaces/{workspace_name}/text-embedding/{service_id}', 'methods' => ['post'], 'schemes' => ['http', 'https'], 'security' => [ [ 'BearerToken' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'deprecated' => false, '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', 'required' => true, 'items' => ['type' => 'string'], ], 'input_type' => [ 'type' => 'string', 'required' => false, 'enum' => ['document', 'query'], ], ], ], ], ], ], 'GetWebSearch' => [ 'path' => '/v3/openapi/workspaces/{workspace_name}/web-search/{service_id}', 'methods' => ['post'], 'schemes' => ['http', 'https'], 'security' => [ [ 'BearerToken' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'deprecated' => false, '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'], ], ], ], ], ], ], ], ], 'GetEmbeddingTuning' => [ 'path' => '/v3/openapi/workspaces/{workspace_name}/embedding-tuning/{service_id}', 'methods' => ['post'], 'schemes' => ['http', 'https'], 'security' => [ [ 'BearerToken' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'deprecated' => false, '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' => [ 'input' => [ 'type' => 'array', 'items' => [ 'type' => 'array', 'items' => ['type' => 'number', 'format' => 'float'], ], ], 'parameters' => ['type' => 'object'], ], ], ], ], ], 'GetPrediction' => [ 'path' => '/v3/openapi/deployments/{deployment_id}/predict', 'methods' => ['post'], 'schemes' => ['http', 'https'], 'security' => [ [ 'BearerToken' => [], ], ], 'consumes' => ['application/json'], 'produces' => [], 'deprecated' => false, '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'], ], ], ], 'CreateAudioAsrTask' => [ 'path' => '/v3/openapi/workspaces/{workspace_name}/audio-asr/{service_id}/async', 'methods' => ['post'], 'schemes' => ['http', 'https'], 'security' => [ [ 'BearerToken' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'deprecated' => false, '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'], ], ], ], ], ], 'CreateVideoSnapshotTask' => [ 'path' => '/v3/openapi/workspaces/{workspace_name}/video-snapshot/{service_id}/async', 'methods' => ['post'], 'schemes' => ['http', 'https'], 'security' => [ [ 'BearerToken' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'deprecated' => false, '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'], ], ], ], ], ], 'GetAudioAsrTaskStatus' => [ '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'], 'deprecated' => false, '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], ], ], ], 'GetImageObjectDetection' => [ 'path' => '/v3/openapi/workspaces/{workspace_name}/image-object-detection/{service_id}', 'methods' => ['post'], 'schemes' => ['http', 'https'], 'security' => [ [ 'BearerToken' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'deprecated' => false, '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' => [ 'image' => [ 'type' => 'object', 'properties' => [ 'url' => ['type' => 'string'], 'content' => ['type' => 'string'], ], ], 'options' => ['type' => 'object'], ], ], ], ], ], 'GetMultiModalEmbedding' => [ 'path' => '/v3/openapi/workspaces/{workspace_name}/multi-modal-embedding/{service_id}', 'methods' => ['post'], 'schemes' => ['http', 'https'], 'security' => [ [ 'BearerToken' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'deprecated' => false, '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'], ], ], ], ], ], 'GetMultiModalReranker' => [ 'path' => '/v3/openapi/workspaces/{workspace_name}/multi-modal-reranker/{service_id}', 'methods' => ['post'], 'schemes' => ['http', 'https'], 'security' => [ [ 'BearerToken' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'deprecated' => false, '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' => [ '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'], ], ], ], ], ], 'GetVideoSnapshotTaskStatus' => [ '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'], 'deprecated' => false, '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], ], ], ], 'GetVideoSegmentationTaskStatus' => [ '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'], 'deprecated' => false, '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], ], ], ], 'GetVideoSummarizationTaskStatus' => [ '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'], 'deprecated' => false, '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], ], ], ], 'CreateVideoSegmentationTask' => [ 'path' => '/v3/openapi/workspaces/{workspace_name}/video-segmentation/{service_id}/async', 'methods' => ['post'], 'schemes' => ['http', 'https'], 'security' => [ [ 'BearerToken' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'deprecated' => false, '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', 'required' => false, 'properties' => [ 'input' => [ 'type' => 'object', 'required' => false, 'properties' => [ 'file_name' => ['type' => 'string', 'required' => false], 'oss' => ['type' => 'string', 'required' => false], 'url' => ['type' => 'string', 'required' => false], ], ], 'output' => [ 'type' => 'object', 'required' => false, 'properties' => [ 'type' => ['type' => 'string', 'required' => false], 'oss' => ['type' => 'string', 'required' => false], ], ], 'parameters' => ['type' => 'object', 'required' => false], ], ], ], ], ], 'CreateVideoSummarizationTask' => [ 'path' => '/v3/openapi/workspaces/{workspace_name}/video-summarization/{service_id}/async', 'methods' => ['post'], 'schemes' => ['http', 'https'], 'security' => [ [ 'BearerToken' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'deprecated' => false, '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', 'required' => false, 'properties' => [ 'input' => [ 'type' => 'object', 'required' => false, 'properties' => [ 'file_name' => ['type' => 'string', 'required' => false], 'oss' => ['type' => 'string', 'required' => false], 'url' => ['type' => 'string', 'required' => false], 'chunks' => [ 'type' => 'array', 'required' => false, 'items' => [ 'type' => 'object', 'required' => false, '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', 'required' => false, 'items' => [ 'type' => 'object', 'required' => false, 'properties' => [ 'frame_index' => ['type' => 'integer', 'format' => 'int32', 'required' => false], 'path' => ['type' => 'string', 'required' => false], 'frame_time' => ['type' => 'number', 'format' => 'float', 'required' => false], ], ], ], ], ], ], ], ], 'output' => [ 'type' => 'object', 'required' => false, 'properties' => [ 'type' => ['type' => 'string', 'required' => false], 'oss' => ['type' => 'string', 'required' => false], ], ], 'parameters' => ['type' => 'object', 'required' => false], ], ], ], ], ], 'UpdateMemorySkill' => [ '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'], 'deprecated' => false, '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'], ], ], ], ], ], 'CreateMemorySkill' => [ 'path' => '/v3/openapi/workspaces/{workspace_name}/memory/{service_id}/skills', 'methods' => ['post'], 'schemes' => ['http', 'https'], 'security' => [ [ 'BearerToken' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'deprecated' => false, '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'], ], ], ], ], ], 'SearchMemory' => [ 'path' => '/v3/openapi/workspaces/{workspace_name}/memory/{service_id}/search', 'methods' => ['post'], 'schemes' => ['http', 'https'], 'security' => [ [ 'BearerToken' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'deprecated' => false, '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'], ], ], ], ], ], ], 'DeleteMemory' => [ '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'], 'deprecated' => false, '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], ], ], ], 'GetMemory' => [ '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'], 'deprecated' => false, '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], ], ], ], 'GetMemoryTask' => [ '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'], 'deprecated' => false, '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], ], ], ], 'GetMemoryHealth' => [ 'path' => '/v3/openapi/workspaces/{workspace_name}/memory/{service_id}/health', 'methods' => ['get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'BearerToken' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'workspace_name', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'service_id', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], ], ], 'CreateMemory' => [ 'path' => '/v3/openapi/workspaces/{workspace_name}/memory/{service_id}/memories', 'methods' => ['post'], 'schemes' => ['http', 'https'], 'security' => [ [ 'BearerToken' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'deprecated' => false, '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'], ], ], ], ], ], ], 'UpdateMemory' => [ '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'], 'deprecated' => false, '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'], ], ], ], ], ], 'GetMemorySkill' => [ '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'], 'deprecated' => false, '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], ], ], ], 'DeleteMemorySkill' => [ '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'], 'deprecated' => false, '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'], ], ], ], 'GetJinaAiReader' => [ 'path' => '/v3/openapi/workspaces/{workspace_name}/jina-ai-reader/{service_id}', 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'BearerToken' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'deprecated' => false, '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'], ], ], ], ], ], ], 'endpoints' => [ ['regionId' => 'cn-shanghai', 'endpoint' => 'searchplat.cn-shanghai.aliyuncs.com'], ['regionId' => 'eu-central-1', 'endpoint' => 'searchplat.eu-central-1.aliyuncs.com'], ], ];