Get File Box Tags

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

Retrieve the tag information already set in the file box. This feature aims to simplify the tag management process, helping you find and access the tag configuration in the file box easily.

API address

POST: /v1.0/cloud/agent/file/box/user/tags

Request parameter

Description of body

Parameter nameTypeINRequiredDescription
paramsStringbodytrueThe JSON parameters.
keyNameStringparamsfalseThe tag name.
pageNoStringparamstrueThe page number.
pageSizeStringparamstrueThe number of items returned per page.

Return parameter

Parameter nameTypeDescription
resultCloudDriveQueryTagKeyListRespThe returned result.

Description of result

Parameter nameTypeDescription
listListThe list of tags.
totalCountLongThe total number.

Description of list

Parameter nameTypeDescription
tagKeyStringThe tag name.
tagKeyDescStringThe label description.

Request example

POST: /v1.0/cloud/agent/file/box/user/tags
{
  "params": "{\"keyName\":\"Singer\",\"pageNo\":1,\"pageSize\":10}"
}

Return example

{
    "result": {
        "pageSize": 10,
        "list": [
            {
                "tagKeyDesc": "Singer description",
                "tagKey": "Singer"
            }
        ],
        "totalCount": "0",
        "pageNo": 1,
        "requestId": "732fa027364f4d7b8ab4d2b831fb43ff"
    },
    "success": true
}

Error code

For more information, see error code.