All Products
Search
Document Center

CDN:DescribeUserUsageDataExportTask

Last Updated:Jul 07, 2026

Queries usage data export tasks created within the last three months.

Operation description

Each account can call this operation up to 100 times per second.

Try it now

Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.

Test

RAM authorization

The table below describes the authorization required to call this API. Define it in a Resource Access Management (RAM) policy.

  • Action: The action used in the Action element of a RAM permission policy statement to grant permissions for the operation.

  • Access level: The predefined access level for the API. Valid values: create, list, get, update, and delete.

  • Resource type: The resource type that supports authorization. An asterisk (*) marks required resource types — specify the corresponding Alibaba Cloud Resource Name (ARN) in the Resource element. If the API has no resource-level permissions, set Resource to an asterisk (*).

  • Condition key: Condition keys defined by the service for granular access control. In addition to service-specific condition keys, Alibaba Cloud provides common condition keys that apply across all RAM-supported services.

  • Dependent action: Actions that must also be permitted for this action to succeed.

Action

Access level

Resource type

Condition key

Dependent action

cdn:DescribeUserUsageDataExportTask

get

*All Resource *

None

None

Request parameters

Parameter

Type

Required

Description

Example

PageSize

string

No

The number of entries per page. Valid values: 1 to 50. Default value: 20.

20

PageNumber

string

No

The page number. Valid values: 1 to 100000.

1

Response elements

Element

Type

Description

Example

RequestId

string

The request ID.

A91BE91F-0B34-4CBF-8E0F-A2977E15AA52

UsageDataPerPage

object

The paginated usage data.

UsageDataPerPage.PageSize

integer

The number of entries per page.

10

UsageDataPerPage.PageNumber

integer

The current page number.

1

UsageDataPerPage.TotalCount

integer

The total number of entries returned.

10

UsageDataPerPage.Data

object

The data container.

UsageDataPerPage.Data.DataItem

array\<object\>

The list of export tasks.

DataItem[].TaskId

string

The task ID.

A91BE91F-0B34-4CBF-8E0F-A2977

DataItem[].TaskName

string

The task name.

Refresh

DataItem[].Status

string

The task status. Valid values:

  • created: The task is being created.

  • success: The task completed successfully.

  • failed: The task failed.

success

DataItem[].CreateTime

string

The time when the task was created.

2019-12-31T08:43:21Z

DataItem[].UpdateTime

string

The time when the task was last updated.

2019-12-31T08:45:02Z

DataItem[].DownloadUrl

string

The URL for downloading the exported data.

https://cdn-polaris.xxxx

DataItem[].TaskConfig

object

The task configuration.

DataItem[].TaskConfig.StartTime

string

The start of the queried time range.

2019-12-29T16:00:00Z

DataItem[].TaskConfig.EndTime

string

The end of the queried time range.

2019-12-30T15:59:59Z

Examples

Success response

JSON format

{
  "RequestId": "A91BE91F-0B34-4CBF-8E0F-A2977E15AA52",
  "UsageDataPerPage": {
    "PageSize": 10,
    "PageNumber": 1,
    "TotalCount": 10,
    "Data": {
      "DataItem": [
        {
          "Status": "success",
          "UpdateTime": "2019-12-31T08:45:02Z",
          "DownloadUrl": "https://cdn-polaris.xxxx",
          "CreateTime": "2019-12-31T08:43:21Z",
          "TaskName": "Purge",
          "TaskId": "A91BE91F-0B34-4CBF-8E0F-A2977",
          "TaskConfig": {
            "EndTime": "2019-12-30T15:59:59Z",
            "StartTime": "2019-12-29T16:00:00Z"
          }
        }
      ]
    }
  }
}

Error response

JSON format

{
  "RequestId": "A91BE91F-0B34-4CBF-8E0F-A2977E15AA52",
  "UsageDataPerPage": {
    "PageSize": 10,
    "TotalCount": 1,
    "PageNumber": 1,
    "Data": {
      "DataItem": [
        {
          "TaskId": 11,
          "UpdateTime": "2018-10-09T06:35:01Z",
          "DownloadUrl": "example.com",
          "UpdateTime": "2018-10-09T06:35:46Z",
          "CreateTime": "2018-10-09T06:33:38Z",
          "Status": "success"
          "TaskConfig": {
            "StartTime": "2018-07-31T16:00:00Z",
            "EndTime": "2018-08-31T15:59:59Z"
          },
        }
      ]
    }
  }
}

Error codes

HTTP status code

Error code

Error message

Description

400

InvalidParameterProduct

Invalid Parameter Product.

The Product parameter is set to an invalid value.

400

InvalidParameterOperator

Invalid Parameter Operator.

The Operator parameter is set to an invalid value.

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.