All Products
Search
Document Center

CDN:DescribeCdnDiagnoseReport

Last Updated:Oct 10, 2026

Retrieves the details of a diagnostic report.

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

cdn:DescribeCdnDiagnoseReport

none

*All Resource

*

None None

Request parameters

Parameter

Type

Required

Description

Example

TaskId

string

No

The ID of the diagnostic task.

xxxxxxxxx-x-x-xxxxxxxxxxxxxxx

TraceId

string

No

The ID of the diagnostic trace.

0000xxxxxxxxxxxxxxxxxxxxxx75e

Response elements

Element

Type

Description

Example

object

RequestId

string

The request ID.

64D28B53-xxxxx-xxx-xxxxx-FD46680144FE

Content

object

The retrieved report data.

Aliuid

string

The Alibaba Cloud account ID.

1077********7468

ClientAddr

string

The IP address of the local DNS server.

xx.xx.xx.xx

ClientInfo

object

The client information.

BrowserInfo

string

The browser.

Chrome

Os

string

The operating system.

Macintosh

UAString

string

The version.

Mozilla/5.0 (Macintosh Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/97.0.4692.71 Safari/537.36

ClientIp

string

The IP address of the client.

xx.xx.xx.xx

CreateTime

string

The time when the report was created. The time is in the YYYY-MM-DD HH:mm:ss format.

2022-12-10 15:11:47

DiagnoseId

string

The diagnostic ID.

f2xxxxd5

DiagnoseUrl

string

The diagnostic URL.

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

Domain

string

The diagnosed domain name.

http://www.example.com

ExpireTime

integer

The expiration time. The value is a UNIX timestamp in seconds.

1678701915

RemainDiagnoseTimes

integer

The number of remaining available diagnostics.

10

Report

object

The details of the diagnostic report.

ClientInfo

string

The client information.

Client IP: xxx.xxx.xxx.xxx DNS_IP: xxx.xxx.xxx.xxx

DiagnoseResult

string

The diagnostic result.

Diagnostic conclusion: Normal. Scheduling conclusion: Normal. Check item details: Exception items: [Request normal]

L1Node

string

The L1 node.

Node: cn4461 China Telecom-Qingdao, Shandong Province (400G)\nUsage: (223.36G/400G)\nStatus: online\nNode IP: 150.138.98.121\nResponse status code: 200\nResponse time: 107ms\nResponse size: 3775 bytes\nAverage response speed: 35.28 kb/s\n

L1Tengine

object

The L1 Tengine information.

Addr

string

The IP address and port.

150.xxx.xxx.197:81

Code

string

The HTTP status code.

200

ErrorLog

string

The error log.

Unmatched CNAME.

Fbt

string

The time to first byte.

107ms

Intro

string

The information about the requested node.

Node: cn4461\nRequest time: 2023-02-06 12:17:47\nStatus code: 200\nreq_time: 107ms\nresp_size: 2892bytes\nfbt: 107ms\nups_read_wait_time: 107ms\nups_header_time: 107ms\nups_connect_time: 0ms\nwrite_wait_time: 0ms

ReqHeader

string

The request header.

aG9zd******8tbWVtYmV

ReqTime

string

The request time. The time is in the YYYY-MM-DD HH:mm:ss format.

2023-02-06 12:17:47

RespHeader

string

The response header.

U2VydmV*******Qo

RespSize

integer

The size of the returned information, in bytes.

2892

Rt

string

The response time.

107ms

Station

string

The node name.

cn4461

SourceInfo

array

The origin server information.

string

The origin server information.

Origin server IP: xxx.xxx.xxx.xxx tproxy response status code: 200\nAverage response speed: 47.96 kb/s

State

string

The report generation status. Valid values:

  • 0: Successful.

  • 1: Failed.

  • 2: Timed out.

  • 3: Running.

  • 4: Waiting.

0

Status

integer

The status of the diagnostic URL. Valid values:

  • 1: Active.

  • 0: Invalid.

1

TaskId

string

The task ID.

xxxxxxx-xxxxx-xxxxx-xxxxxxxxxxx

TimeConsuming

integer

The time taken to generate the report.

1s

TraceId

string

The ID of the diagnostic trace.

0000006xxxxxxxxxxxx533427e

Examples

Success response

JSON format

{
  "RequestId": "64D28B53-xxxxx-xxx-xxxxx-FD46680144FE",
  "Content": {
    "Aliuid": "1077********7468",
    "ClientAddr": "xx.xx.xx.xx",
    "ClientInfo": {
      "BrowserInfo": "Chrome",
      "Os": "Macintosh",
      "UAString": "Mozilla/5.0 (Macintosh Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/97.0.4692.71 Safari/537.36"
    },
    "ClientIp": "xx.xx.xx.xx",
    "CreateTime": "2022-12-10 15:11:47",
    "DiagnoseId": "f2xxxxd5",
    "DiagnoseReportLink": "https://cdnskyeye.alibaba-inc.com/#/databrain/detectionPlatformAction?module=trace报表&id=xxx&instance_id=xxxx&type=copy&edition_id=xxxxx",
    "DiagnoseUrl": "http://cdn.dns-detect.alicdn.com/diagnose/xxxxxx",
    "Domain": "http://www.example.com",
    "ExpireTime": 1678701915,
    "RemainDiagnoseTimes": 10,
    "Report": {
      "ClientInfo": "客户端IP : xxx.xxx.xxx.xxx DNS_IP : xxx.xxx.xxx.xxx ",
      "DiagnoseResult": "诊断结论 : 检测正常 调度结论 : 检测正常 检测项详情 :  异常项 : 【请求正常】 ",
      "L1Node": "节点:cn4461 电信-山东省青岛市(400G)\\n水位: (223.36G/400G)\\n状态: online\\n节点IP: 150.138.98.121\\n响应状态码: 200\\n响应时长: 107ms\\n响应大小: 3775 bytes\\n平均响应速度: 35.28 kb/s\\n",
      "L1Tengine": {
        "Addr": "150.xxx.xxx.197:81",
        "Code": "200",
        "ErrorLog": "Unmatched CNAME.",
        "Fbt": "107ms",
        "Intro": "节点: cn4461\\n请求时间: 2023-02-06 12:17:47\\n状态码: 200\\nreq_time : 107ms\\nresp_size : 2892bytes\\nfbt : 107ms\\nups_read_wait_time: 107ms\\nups_header_time: 107ms\\nups_connect_time: 0ms\\nwrite_wait_time: 0ms",
        "ReqHeader": "aG9zd******8tbWVtYmV",
        "ReqTime": "2023-02-06 12:17:47",
        "RespHeader": "U2VydmV*******Qo",
        "RespSize": 2892,
        "Rt": "107ms",
        "Station": "cn4461"
      },
      "SourceInfo": [
        "源站IP : xxx.xxx.xxx.xxx tproxy响应状态码 : 200\\n平均响应速度 : 47.96 kb/s"
      ]
    },
    "State": "0",
    "Status": 1,
    "TaskId": "xxxxxxx-xxxxx-xxxxx-xxxxxxxxxxx\n",
    "TimeConsuming": 0,
    "TraceDisplayLink": "https://tracing-sk.alibaba-inc.com/trace/xxxxxxxxxxxxxx",
    "TraceId": "0000006xxxxxxxxxxxx533427e"
  }
}

Error codes

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.