ListOneMetaOssieModels - 批量获取语义模型

更新时间:
复制 MD 格式

获取ossie模型列表

调试

您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。

调试

授权信息

当前API暂无授权信息透出。

请求参数

名称

类型

必填

描述

示例值

Query

string

是

检索词

sale

MaxResults

integer

否

每页最大记录数

20

NextToken

string

否

下一次查询的令牌(Token)。

NesLoKLEdIZrKhDT7I2gS****

Tag

string

否

语义模型标签

new_sales

CatalogUuid

string

否

关联的目录 uuid

mc-HZ-OfjcNc2z***

EnableVectorSearch

boolean

否

是否通过语义检索

true

DatabaseUuid

string

否

关联的数据库 uuid

md-HZ-fp9K7r***

返回参数

名称

类型

描述

示例值

object

Schema of Response

RequestId

string

Id of the request

67E910F2-4B62-5B0C-ACA3-7547695C****

Data

array

返回的结构体

OssieModelView

返回的结构体

Success

boolean

是否调用成功,返回值如下:

  • true:请求成功。

  • false:请求失败。

true

ErrorCode

string

错误码,请求异常时返回。

UnknownError

ErrorMessage

string

调用失败时,返回的错误信息。

UnknownError

NextToken

string

下一次查询的令牌(Token)。

NesLoKLEdIZrKhDT7I2gS****

MaxResults

integer

分页大小。

20

示例

正常返回示例

JSON格式

{
  "RequestId": "67E910F2-4B62-5B0C-ACA3-7547695C****",
  "Data": [
    {
      "KnowledgeUuid": "dfb58bd***",
      "Source": "USER_EDIT",
      "Title": "Order total",
      "Summary": "knowledge summary",
      "Description": "Order summary",
      "Tag": "1dq7qod8hxtt1***",
      "CatalogUuid": "mc-SH-cd3ns***",
      "DatabaseUuid": "md-SH-q8XzcK***",
      "Expr": "select 1",
      "DomainTopic": "Order",
      "SemanticType": "Ossie",
      "Version": "0.1",
      "GmtCreated": 1663809374000,
      "GmtModified": 1780539699000,
      "RawDoc": "{\n  \"version\": \"0.2.0.dev0\",\n  \"semantic_model\": [\n    {\n      \"name\": \"sales\",\n      \"datasets\": [\n        {\n          \"name\": \"orders\",\n          \"source\": \"analytics.public.orders\"\n        }\n      ]\n    }\n  ]\n}",
      "DocFormat": "JSON"
    }
  ],
  "Success": true,
  "ErrorCode": "UnknownError",
  "ErrorMessage": "UnknownError",
  "NextToken": "NesLoKLEdIZrKhDT7I2gS****",
  "MaxResults": 20
}

错误码

访问错误中心查看更多错误码。

变更历史

更多信息,参考变更详情。