Get Music Resource List

Last Updated on : 2026-04-15 02:31:50Copy for LLMView as MarkdownDownload PDF

Retrieve music resources in the file box easily. This aims to help users quickly access and manage music files stored in the file box, so as to enjoy a rich variety of music content.

API address

POST: /v1.0/cloud/agent/file/box/user/list/search

Request parameter

Description of body

Parameter nameTypeINRequiredDescription
paramsStringbodytrueThe JSON parameters.
tagListparamstrueThe tag.
textWeightDoubleparamsfalseThe scalar rating weight.
vectorWeightDoubleparamsfalseThe vector rating weight.
topKIntegerparamsfalseThe quantity of top-scoring results to return.
filterScoreDoubleparamsfalseOptional minimum score threshold.
searchTagConditionListparamsfalseThe file type.

Description of searchTagCondition

Parameter nameTypeINRequiredDescription
keyStringsearchTagConditiontrueThe profile properties.
valueStringsearchTagConditiontrueThe file property value.

Description of tag

Parameter nameTypeINRequiredDescription
keyStringtagtrueThe tag key.
valueStringtagtrueThe tag value.

Return parameter

Parameter nameTypeDescription
resultListThe returned result.

Request example

POST: /v1.0/cloud/agent/file/box/user/list/search
{
  "params": "{\"tag\":[[{\"key\":\"color\",\"value\":\"red\"},{\"key\":\"style\",\"value\":\"modern\"}]],\"searchTag\":[{\"key\":\"lang\",\"value\":\"zh\"},{\"key\":\"format\",\"value\":\"mp4\"}],\"textWeight\":0.5,\"vectorWeight\":0.5,\"topK\":10,\"filterScore\":0.6}"
}

Return example

{
    "result": [
        {
            "fileTime": "120",
            "objectStatus": "1",
            "format": "mp4",
            "downloadUrl": "https://example.com/files/product_intro.mp4",
            "bitrate": "3000",
            "uploadTime": 1712736000000,
            "size": "15728640",
            "objectKey": "obj_001",
            "objectName": "product_intro.mp4",
            "tag": [
                {
                    "value": "red",
                    "key": "color"
                },
                {
                    "value": "modern",
                    "key": "style"
                }
            ],
            "lang": "zh"
        },
        {
            "fileTime": "300",
            "objectStatus": "1",
            "format": "mp3",
            "downloadUrl": "https://example.com/files/user_guide.mp3",
            "bitrate": "128",
            "uploadTime": 1712649600000,
            "size": "5242880",
            "objectKey": "obj_002",
            "objectName": "user_guide.mp3",
            "tag": [
                {
                    "value": "classic",
                    "key": "style"
                }
            ],
            "lang": "en"
        }
    ],
    "success": true
}

Error code

For more information, see error code.