列出基础模型。
下表仅列出该接口特有的请求参数和部分公共参数。更多信息请见公共参数。
参数 | 类型 | 是否必填 | 示例值 | 描述 |
---|---|---|---|---|
Action | String | 是 | ListFoundationModels | 要执行的操作,取值:ListFoundationModels。 |
Version | String | 是 | 2024-01-01 | API的版本,取值:2024-01-01。 |
PageNumber | Integer | 否 | 1 | 分页查询时的起始页码,从 1 开始,默认为 1。 |
PageSize | Integer | 否 | 10 | 分页查询时每页显示的记录数,取值: - 最小值:1 - 最大值:100 - 默认值:10 |
Filter | Object | 否 | - | 待查询基础模型的筛选条件 |
SortOrder | String | 否 | Desc | 指定排序顺序。 可指定值:
|
SortBy | String | 否 | - | 指定排序指标。 可指定值:
|
TagFilters | Array of Object | 否 | - | 基于绑定的标签的筛选条件 |
下表仅列出本接口特有的返回参数。更多信息请参见返回结构。
参数 | 类型 | 示例值 | 描述 |
---|---|---|---|
TotalCount | Integer | 2 | 总基础模型数 |
PageNumber | Integer | 1 | 分页查询时的起始页码,从 1 开始,默认为 1。 |
PageSize | Integer | 1 | 分页查询时每页显示的记录数,取值: - 最小值:1 - 最大值:100 - 默认值:10 |
Items | Array of Object | - | 基础模型列表 |
POST /?Action=ListFoundationModels&Version=2024-01-01 HTTP/1.1 Host: open.volcengineapi.com Content-Type: application/json; charset=UTF-8 X-Date: 20240514T130015Z X-Content-Sha256: 287e874e******d653b44d21e Authorization: HMAC-SHA256 Credential=Adfks******wekfwe/20240514/cn-beijing/ark/request, SignedHeaders=host;x-content-sha256;x-date, Signature=47a7d934ff7b37c03938******cd7b8278a40a1057690c401e92246a0e41085f { "PageNumber": 1, "PageSize": 10, "Filter": { "Name": "1yEK", "Names": [ "b4" ], "FoundationModelTag": { "Languages": [ "Tv0mxXamkC5" ], "TaskTypes": [ "hmqgZGGni" ], "CustomizedTags": [ "zafcaqOy" ], "Domains": [ "RRamYGIqLt" ], "UsedLibraries": [ "Rctg97iyG0G" ] }, "Introduction": "sdQb3Q", "Description": "ncjtG458V89", "DisplayName": "NBgVWD3XwHJ", "AccessTypes": [ "b6Qw9wRLBb" ] }, "SortOrder": "Desc", "SortBy": "\\-", "TagFilters": [ { "Key": "DcuMJa", "Values": [ "5M8sMT" ] } ] }
{ "ResponseMetadata": { "RequestId": "20240514210020173184054004BACCC8", "Action": "ListFoundationModels", "Version": "2024-01-01", "Service": "ark", "Region": "cn-beijing" }, "Result": { "TotalCount": 2, "PageNumber": 1, "PageSize": 1, "Items": [ { "Name": "test-foundation-model", "Description": "wxr", "Introduction": "language models", "VendorName": "vERtPPat6Xz", "DisplayName": "sBEA", "FeaturedImage": { "ObjectKey": "J3Og", "BucketName": "5E" }, "PrimaryVersion": "zYCdJe3n", "FoundationModelTag": { "Languages": [ "XEQL2sR" ], "TaskTypes": [ "ZpMo3" ], "CustomizedTags": [ "80woxH8k3Ly" ], "Domains": [ "0DQGJbb" ], "UsedLibraries": [ "Jijubh2yS" ] }, "AccessType": "Public", "Tags": [ { "Key": "3", "Value": "V" } ], "ProjectName": "default", "CreateTime": "2006-01-02T15:04:05Z07:00\n", "UpdateTime": "2006-01-02T15:04:05Z07:00\n" } ] } }
您可访问公共错误码,获取更多错误码信息。