APIFree
APIFree
Volengine Assets

POST /v1/files/volengine/assets/list

List Volcano Engine material assets.

List non-deleted Volcano Engine material assets owned by the current MaaS user. This endpoint supports Seedance 2.0 workflows by showing available reusable material assets.

Description

Use this endpoint to page through available Volcano Engine material assets stored for the current user.

Content types

  • application/json

Headers

NameTypeRequiredDescription
AuthorizationstringYesBearer token in the format Bearer YOUR_API_KEY.
Content-TypestringYesMust be application/json.

Request body parameters

NameTypeRequiredDescription
pageintegerNoPage number to retrieve.
page_sizeintegerNoNumber of assets to return per page.

Example request

curl https://api.apifree.ai/v1/files/volengine/assets/list \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "page": 1,
    "page_size": 20
  }'

Response schema

A successful response returns a page of assets. The exact response fields can vary by upstream provider, but typical fields include:

FieldTypeDescription
dataarrayAsset records for the current page.
pageintegerCurrent page number when available.
page_sizeintegerNumber of assets requested per page when available.
totalintegerTotal matching assets when available.

Each asset record typically includes:

FieldTypeDescription
asset_idstringVolcano Engine material asset identifier.
asset_typestringAsset type.
namestringAsset display name when available.
urlstringSource URL associated with the asset when available.
statusstringCurrent asset status when available.

Example response:

{
  "data": [
    {
      "asset_id": "asset_abc123",
      "asset_type": "video",
      "name": "source-video",
      "url": "https://example.com/assets/source-video.mp4",
      "status": "created"
    }
  ],
  "page": 1,
  "page_size": 20,
  "total": 1
}

Errors

Typical error cases include:

  • Invalid pagination values
  • Invalid JSON payload
  • Authentication failure
  • Upstream asset list failure