Skip to main content

List Real-Person Assets

GET /api/volc-user/assets

List real-person assets visible to the current user. Set groupType=LivenessFace; optionally filter by group, name, or platform enablement.

Authentication

Use a logged-in session Cookie or the Authorization: <access_token> header. Obtain the access token through Generate Access Token. It is different from the sk- key used for model requests.

Request Parameters​

NameTypeRequiredDescription
pageNumberintegerOptionalPage number, starting at 1; defaults to 1
pageSizeintegerOptionalPage size; defaults to 20 and resets to 20 when below 1 or above 100
groupTypestringRequiredSet to LivenessFace
groupIdsstring[]OptionalPlatform group IDs; repeat the parameter or separate IDs with commas
namestringOptionalSearch names by substring
assetStatusintegerOptionalPlatform enablement: 1 enabled or 2 disabled; omit for all
sortBystringOptionalSort field: Id, CreateTime, UpdateTime, Name
sortOrderstringOptionalAsc for ascending; other values use descending order

Request Example​

GET /api/volc-user/assets?pageNumber=1&pageSize=20&groupType=LivenessFace&groupIds=group-example&assetStatus=1&sortBy=CreateTime&sortOrder=Desc
Authorization: <access_token>

Response Fields (200)​

NameTypeDescription
successbooleanBusiness success flag; check it even for HTTP 200
messagestringMessage; empty on success
dataobjectResponse data on success
data.totalCountintegerTotal number of records
data.pageNumberintegerCurrent page number
data.pageSizeintegerPage size
data.itemsarray<object>Records on the current page
data.items[].idstringPlatform asset ID; reference it in video generation as asset://<id>
data.items[].namestringAsset name
data.items[].urlstringUpstream URL shown only when Active; empty while Processing/Failed; do not store it as a permanent URL
data.items[].assetTypestringImage, Video, or Audio
data.items[].groupIdstringPlatform asset group ID
data.items[].statusstringProcessing status: Processing, Active, or Failed
data.items[].assetStatusintegerPlatform enablement: 1 enabled, 2 disabled; separate from processing status
data.items[].createTimeintegerCreation time in Unix seconds
data.items[].updateTimeintegerUpdate time in Unix seconds
data.items[].remarkstringPlatform remark
data.items[].errorobjectFailure information, returned only when Failed; contains code and message
data.items[].error.codestringStable error code, such as ASSET_PREPARATION_FAILED
data.items[].error.messagestringLocalized error message

Response Example​

{
"success": true,
"message": "",
"data": {
"totalCount": 1,
"pageNumber": 1,
"pageSize": 20,
"items": [
{
"id": "asset-example",
"name": "Front Portrait",
"url": "https://example.com/approved-portrait.jpg",
"assetType": "Image",
"groupId": "group-example",
"status": "Active",
"assetStatus": 1,
"createTime": 1792022440,
"updateTime": 1792022450,
"remark": "external-asset-001"
}
]
}
}

The current endpoint rejects the statuses parameter. projectName is not a user API parameter; read processing status from the returned status.