All Products
Search
Document Center

Edge Security Acceleration:ListUploadTasks

Last Updated:Jun 25, 2026

Lists the execution status and runtime information of file upload tasks by time and type.

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

No authorization for this operation. If you encounter issues with this operation, contact technical support.

Request parameters

Parameter

Type

Required

Description

Example

SiteId

integer

No

The site ID. You can obtain this value by calling the ListSites operation.

Important This parameter is required when you call the ListUploadTasks operation.

123456****

StartTime

string

No

The start time in ISO 8601 format (for example, 2024-01-01T00:00:00+Z).

Important StartTime and EndTime must be provided together to define the query time window. An error is returned if either one is missing.

2018-11-29T00:00:00Z

EndTime

string

No

The end time in ISO 8601 format (for example, 2024-01-01T00:00:00+Z).

Important StartTime and EndTime must be provided together to define the query time window. An error is returned if either one is missing.

2019-12-06T12:00:00Z

Type

string

No

The task type. Valid values:

  • file: URL file purge.

  • preload: resource prefetch.

  • directory: directory purge.

  • ignoreparams: purge with parameters ignored.

file

Response elements

Element

Type

Description

Example

object

The response parameters.

RequestId

string

The request ID.

CB1A380B-09F0-41BB-A198-72F8FD6D****

Tasks

array<object>

The list of file upload tasks.

object

UploadTaskName

string

The name of the file upload task.

purge_file_task

UploadId

string

The ID of the file upload task.

159253299357****

CreateTime

string

The creation time in ISO 8601 format (for example, 2024-01-01T00:00:00+Z).

2023-07-26T01:56:15Z

Status

string

The task status. Valid values:

  • Complete: The task is complete.

  • Refreshing: The task is in progress.

  • Failed: The task failed.

Complete

Type

string

The task type. Valid values:

  • file: URL file purge.

  • preload: resource prefetch.

  • directory: directory purge.

  • ignoreparams: purge with parameters ignored.

file

Description

string

The error message returned when the file upload task fails.

invalid url

ErrorCode

string

The error code. Multiple error codes are separated by commas. Valid values:

  • InvalidUrl: The URL format is invalid.

  • InvalidDomain: The domain name ownership verification failed.

  • QuotaExcess: The quota limit is exceeded.

  • OtherErrors: Other errors occurred.

InvalidUrl,InvalidDomain

Examples

Success response

JSON format

{
  "RequestId": "CB1A380B-09F0-41BB-A198-72F8FD6D****",
  "Tasks": [
    {
      "UploadTaskName": "purge_file_task",
      "UploadId": "159253299357****",
      "CreateTime": "2023-07-26T01:56:15Z",
      "Status": "Complete",
      "Type": "file",
      "Description": "invalid url",
      "ErrorCode": "InvalidUrl,InvalidDomain"
    }
  ]
}

Error codes

HTTP status code

Error code

Error message

Description

400 MissingTimeParameter The StartTime and EndTime must be both specified. Please provide both a start time and an end time.
400 InvalidEndTime.Mismatch The specified EndTime is earlier than the StartTime. The end time you entered is earlier than the start time. Please check and try again.
400 DomainNameOverLimit A maximum of 500 domains are supported for each request. Only 500 domain names are supported at a time. Please reduce the number of domain names to request again.
400 InvalidTime The query time cannot exceed the last 3 days. The query time cannot exceed the last 3 days.
400 MissingParameter.ObjectType The ObjectType parameter is required if DomainName or ObjectType is specified. Specify the ObjectType parameter.
400 InvalidStationParameter The specified Station is invalid. The specified node parameter is invalid.
400 TooManyRequests Too many requests.Please try again later. Requests are too frequent, please try again later.
400 InvalidTaskId.Malformed The specified taskId is invalid. The specified task ID is invalid.
400 InvalidParameters.InvalidUrls The specified urls are invalid. The requested URL parameter is invalid.

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.