Skip to main content
GET
/
kyyReactApiServer
/
kyyVideo2
/
asset
/
{assetId}
curl --request GET \
  --url https://zcbservice.aizfw.cn/kyyReactApiServer/kyyVideo2/asset/asset-20260330142158-q75m8 \
  --header 'Authorization: Bearer {{key}}'
{
  "code": 0,
  "msg": null,
  "data": {
    "name": "Cat Image",
    "assetId": "asset-20260330142158-q75m8",
    "status": "Active",
    "assetType": "Image",
    "url": "https://example.com/cat.jpg",
    "createTime": "2026-03-30 14:21:58"
  }
}

KyyVideo2 Asset Detail

Get detailed information of a single asset, including asset name, type, status, URL, etc.

Authentication

All requests require a Bearer token in the request header:
Authorization: Bearer {{key}}

Path Parameters

assetId
string
required
Asset ID, obtained from upload asset API or asset list APIExample: asset-20260330142158-q75m8

Response Parameters

code
integer
Response status code
  • 0 - Success
  • Other values - Failure
msg
string
Response message, null on success, error message on failure
data
object
Asset detail information object

Use Cases

View Asset Details

Get complete asset information including status and URL

Verify Asset Status

Check if asset has been processed and is ready to use

Get Asset URL

Retrieve the access address of the asset

Asset Management

View detailed asset properties and creation time
Usage Recommendations:
  • After uploading an asset, use this API to query asset processing status
  • Before using an asset, it’s recommended to query and confirm status is Active
  • Use this API to get the latest asset URL
Best Practices:
  • After asset upload, poll this API until status becomes Active
  • Save asset IDs to avoid duplicate uploads of the same asset
  • Regularly check asset status to ensure availability
curl --request GET \
  --url https://zcbservice.aizfw.cn/kyyReactApiServer/kyyVideo2/asset/asset-20260330142158-q75m8 \
  --header 'Authorization: Bearer {{key}}'
{
  "code": 0,
  "msg": null,
  "data": {
    "name": "Cat Image",
    "assetId": "asset-20260330142158-q75m8",
    "status": "Active",
    "assetType": "Image",
    "url": "https://example.com/cat.jpg",
    "createTime": "2026-03-30 14:21:58"
  }
}