All Products
Search
Document Center

Edge Security Acceleration:ListTraceTasks

Last Updated:Jun 25, 2026

Retrieves a list of diagnostic tasks.

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. You can define it in a Resource Access Management (RAM) policy. The table's columns are detailed below:

  • Action: The actions can be used in the Action element of RAM permission policy statements to grant permissions to perform the operation.

  • API: The API that you can call to perform the action.

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

  • Resource type: The type of the resource that supports authorization to perform the action. It indicates if the action supports resource-level permission. The specified resource must be compatible with the action. Otherwise, the policy will be ineffective.

    • For APIs with resource-level permissions, required resource types are marked with an asterisk (*). Specify the corresponding Alibaba Cloud Resource Name (ARN) in the Resource element of the policy.

    • For APIs without resource-level permissions, it is shown as All Resources. Use an asterisk (*) in the Resource element of the policy.

  • Condition key: The condition keys defined by the service. The key allows for granular control, applying to either actions alone or actions associated with specific resources. In addition to service-specific condition keys, Alibaba Cloud provides a set of common condition keys applicable across all RAM-supported services.

  • Dependent action: The dependent actions required to run the action. To complete the action, the RAM user or the RAM role must have the permissions to perform all dependent actions.

Action

Access level

Resource type

Condition key

Dependent action

esa:ListTraceTasks

none

*All Resource

*

None

None

Request parameters

Parameter

Type

Required

Description

Example

DiagnoseId

string

No

The diagnose ID.

f2xxx5

TraceId

string

No

The diagnostic trace ID.

000000xxxxxxxxxxxxxxxxxxxxxx33427e

TaskId

string

No

The diagnostic task ID.

xxxxxxxxxx-x-x-xxxxxxxxxxxxxxxxx

ClientIp

string

No

The client IP address.

60.xx.xxx.38

DomainName

string

No

The domain name to diagnose.

http://www.example.com

StartTime

string

No

The start time. Time zone: UTC/GMT.

1644467126

EndTime

string

No

The end time. Time zone: UTC/GMT.

1644467126

PageNumber

integer

No

The page number. Default value: 1.

2

PageSize

integer

No

The page size. Valid values: any integer from 1 to 1000.

10

Response elements

Element

Type

Description

Example

object

Count

integer

The number of pages.

10

List

array<object>

The returned list information.

object

The object.

Aliuid

string

The Alibaba Cloud account ID.

1077********7468

ClientAddr

string

The IP address of the local DNS server.

xx.xx.xx.xx

ClientIp

string

The client IP address.

xx.xx.xx.xx

CreateTime

string

The time when the report was created. Format: yyyy-MM-dd HH:mm:ss. Time zone: UTC+8.

2022-12-10 15:11:47

DiagnoseId

string

The diagnose ID.

f2a18ad5

DiagnoseUrl

string

The diagnostic URL.

http://cdn.dns-detect.alicdn.com/diagnose/xxxxxx

Domain

string

The domain name to diagnose.

http://www.example.com

ExpireTime

integer

The expiration time. The value is a UNIX timestamp. Unit: seconds.

1669285111

RemainDiagnoseTimes

integer

The remaining number of available diagnostic attempts.

10

State

string

The report generation status. Valid values:

  • 0: Succeeded.

  • 1: Failed.

  • 2: Timed out.

  • 3: Running.

  • 4: Waiting.

0

Status

integer

The status of the diagnostic URL. Valid values:

  • 1: active

  • 0: expired.

1

TaskId

string

The task ID.

000000xxxxxxxxxxxxxxxxxxxxxxxxxxxx475e

TimeConsuming

integer

The time consumed to generate the report.

1

TraceId

string

The diagnostic trace ID.

000000xxxxxxxxxxxxxxxxxxxxxx25941e

PageNumber

integer

The page number, starting from 1.

1

PageSize

integer

The page size. Valid values: any integer from 1 to 1000.

6

RequestId

string

The request ID.

4E09C5D7-E1CF-4CAA-A45E-8727F4C8FD70

Examples

Success response

JSON format

{
  "Count": 10,
  "List": [
    {
      "Aliuid": "1077********7468",
      "ClientAddr": "xx.xx.xx.xx",
      "ClientIp": "xx.xx.xx.xx",
      "CreateTime": "2022-12-10 15:11:47",
      "DiagnoseId": "f2a18ad5",
      "DiagnoseUrl": "http://cdn.dns-detect.alicdn.com/diagnose/xxxxxx",
      "Domain": "http://www.example.com",
      "ExpireTime": 1669285111,
      "RemainDiagnoseTimes": 10,
      "State": "0",
      "Status": 1,
      "TaskId": "000000xxxxxxxxxxxxxxxxxxxxxxxxxxxx475e",
      "TimeConsuming": 1,
      "TraceId": "000000xxxxxxxxxxxxxxxxxxxxxx25941e"
    }
  ],
  "PageNumber": 1,
  "PageSize": 6,
  "RequestId": "4E09C5D7-E1CF-4CAA-A45E-8727F4C8FD70"
}

Error codes

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.