Filter 必选,且 Filter.GroupType 必选。| 字段 | 类型 | 说明 |
|---|---|---|
Filter.GroupType | string | 必选。AIGC | LivenessFace |
Filter.GroupIds | string[] | 按 id 批量查 |
Filter.Name | string | 按名称查,≤64 字符 |
NextToken / MaxResults | string / int | 游标分页,MaxResults 取 [1,100],默认 10 |
PageNumber / PageSize | int / int | 页码分页(兼容写法) |
SortBy | string | 默认 CreateTime |
PageSize * PageNumber > 10000)必须用 NextToken。Items 里只有你自己的组。因此某一页条目数可能少于 MaxResults 却仍有下一页 —— 以 NextToken 是否为空判断有没有下一页,不要靠条目数推断。curl --location '/volc/?Action=ListAssetGroups&Version=2024-01-01' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"Filter": {
"GroupType": "AIGC"
},
"MaxResults": 20
}'{
"ResponseMetadata": {
"RequestId": "202609140804468423AF90FD6CA6BA26F6",
"Action": "ListAssetGroups",
"Version": "2024-01-01",
"Service": "ark",
"Region": "cn-beijing"
},
"Result": {
"Items": [
{
"Id": "assetgroup-20260410113901-qk2mv",
"Name": "我的角色库",
"Description": "短剧主角形象",
"GroupType": "AIGC",
"ProjectName": "default",
"CreateTime": "2026-04-10T11:39:01Z",
"UpdateTime": "2026-04-10T11:39:01Z"
}
],
"TotalCount": 1,
"NextToken": ""
}
}