User Assets
List assets
List your assets, filtered by category or purpose.
https://api.sangtao.ai/v2/user-assetsAuthorization
X-Api-Keystring · headerrequiredYour API key, from the API keys page of your account.
Query parameters
categorystringFilter by category
Available options:
videoimageaudiodocumentpurposestringFilter by purpose
Available options:
outro_videointro_videologowatermarkbackground_musicvoiceoverthumbnailgeneralpageintPage number, from 1. Leave out page and pageSize to get everything.
pageSizeintItems per page. Default 50, at most 200. limit is accepted as the same thing.
The total, across all pages, is in the X-Total-Count header.
Response
idstringrequiredAsset ID, ua_ followed by 9 letters and digits (e.g. "ua_3kT9qPz0B")
urlstringrequiredPublic URL of the asset
fileNamestringrequiredOriginal file name
mimeTypestringrequiredMIME type (e.g. "video/mp4")
fileSizeBytesnumberrequiredFile size in bytes
categorystringrequiredAuto-detected
Available options:
videoimageaudiodocumentpurposestringrequiredAsset purpose
Available options:
outro_videointro_videologowatermarkbackground_musicvoiceoverthumbnailgenerallabelstringDisplay label (nullable)
thumbnailUrlstringThumbnail URL (nullable)
durationSecnumberDuration in seconds (video/audio)
aspectRatiostringAspect ratio
hasAudiobooleanWhether file has audio track (video/audio)
createdAtstringISO 8601 creation timestamp
/user-assetscurl "https://api.sangtao.ai/v2/user-assets?purpose=logo&page=1&pageSize=50" \
-H "X-Api-Key: YOUR_API_KEY"{
"success": true,
"data": [
{
"id": "ua_3kT9qPz0B",
"url": "https://blob.sangtao.ai/user-assets/abc123/my-logo.png",
"fileName": "my-logo.png",
"mimeType": "image/png",
"fileSizeBytes": 245000,
"category": "image",
"purpose": "logo",
"label": "My Brand Logo",
"thumbnailUrl": null,
"durationSec": null,
"aspectRatio": null,
"hasAudio": false,
"createdAt": "2026-06-08T10:30:00Z"
}
]
}/user-assetscurl "https://api.sangtao.ai/v2/user-assets?purpose=logo&page=1&pageSize=50" \
-H "X-Api-Key: YOUR_API_KEY"{
"success": true,
"data": [
{
"id": "ua_3kT9qPz0B",
"url": "https://blob.sangtao.ai/user-assets/abc123/my-logo.png",
"fileName": "my-logo.png",
"mimeType": "image/png",
"fileSizeBytes": 245000,
"category": "image",
"purpose": "logo",
"label": "My Brand Logo",
"thumbnailUrl": null,
"durationSec": null,
"aspectRatio": null,
"hasAudio": false,
"createdAt": "2026-06-08T10:30:00Z"
}
]
}