All Products
Search
Document Center

Edge Security Acceleration:DescribeUrlObservationData

Last Updated:Nov 07, 2025

Queries the page monitoring data.

Operation description

If you do not specify the StartTime or EndTime parameter, this operation returns the data collected within the last 24 hours. If you specify both parameters, this operation returns the data collected within the specified time range.

Debugging

You can run this interface directly in OpenAPI Explorer, saving you the trouble of calculating signatures. After running successfully, OpenAPI Explorer can automatically generate SDK code samples.

Authorization information

The following table shows the authorization information corresponding to the API. The authorization information can be used in the Action policy element to grant a RAM user or RAM role the permissions to call this API operation. Description:

  • Operation: the value that you can use in the Action element to specify the operation on a resource.
  • Access level: the access level of each operation. The levels are read, write, and list.
  • Resource type: the type of the resource on which you can authorize the RAM user or the RAM role to perform the operation. Take note of the following items:
    • For mandatory resource types, indicate with a prefix of * .
    • If the permissions cannot be granted at the resource level, All Resources is used in the Resource type column of the operation.
  • Condition Key: the condition key that is defined by the cloud service.
  • Associated operation: other operations that the RAM user or the RAM role must have permissions to perform to complete the operation. To complete the operation, the RAM user or the RAM role must have the permissions to perform the associated operations.
OperationAccess levelResource typeCondition keyAssociated operation
esa:DescribeUrlObservationDatanone
*Site
acs:esa:{#regionId}:{#accountId}:site/{#SiteId}
    none
none

Request parameters

ParameterTypeRequiredDescriptionExample
SiteIdstringYes

The website ID, which can be obtained by calling the ListSites operation.

54362329990032
StartTimestringNo

The beginning of the time range to query.

The time follows the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time is displayed in UTC.

2023-04-08T16:00:00Z
EndTimestringNo

The end of the time range to query.

Specify the time in the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time must be in UTC. The time must be in UTC.

2023-04-19T15:59:59Z
UrlstringNo

The URL of the web page to monitor.

example.com/test
ClientPlatformstringNo

The platform of the device. If the parameter is left empty, all devices are queried.

  • PC
  • Mobile
PC
MetricstringNo

The metric data that is detected.

  • TTFB: Measures the time between when a resource initiates a request and when the first byte of the response starts to arrive.
  • FCP: Measures the time between when the page is loaded and when any part of the page's content is rendered on the screen.
  • LCP: Reports the rendering time of the largest image or text block visible in the viewport.
  • CLS: A metric that measures the maximum layout mutation score for every unexpected layout change that occurs throughout the life of the page.
  • INP: Measures the responsiveness of the page, or how long it takes for the page to respond to user input in a visible way.
  • FID: Measures the time between when the user first interacts with the page and when the browser is actually able to start processing the event handler in response to that interaction.
TTFB

Response parameters

ParameterTypeDescriptionExample
object

Schema of Response

UrlDetailDataarray<object>

The objects that are returned.

contentobject
Urlstring

The URL of the web page to monitor.

example.com/test
ClientPlatformstring

The platform of the device.

PC
Countrystring

The country or region to which the IP address belongs.

CN
TTFBfloat

This metric measures the time between when a resource initiates a request and when the first byte of the response starts to arrive. Unit: ms.

123
FCPfloat

Measures the time between when the page is loaded and when any part of the page's content is rendered on the screen. Unit: ms.

123
LCPfloat

Reports the rendering time of the largest image or text block visible in the viewport. Unit: ms.

123
CLSfloat

Measures the maximum layout mutation score for every unexpected layout change that occurs throughout the life of the page.

0.5
FIDfloat

Measures the time between when the user first interacts with the page and when the browser is actually able to start processing an event handler in response to that interaction. Unit: ms.

123
INPfloat

Measures the responsiveness of the page, or how long it takes for the page to respond to user input visibly. Unit: ms.

123
RequestIdstring

The request ID.

0AEDAF20-4DDF-4165-8750-47FF9C1929C9
StartTimestring

The create time. The time is in the yyyy-MM-ddTHH:mm:ssZ format.

2022-11-06T16:00:00Z
EndTimestring

The end of the time range during which data was queried.

Specify the time in the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time must be in UTC. The time must be in UTC.

2023-04-19T15:59:59Z

Examples

Sample success responses

JSONformat

{
  "UrlDetailData": [
    {
      "Url": "example.com/test",
      "ClientPlatform": "PC",
      "Country": "CN",
      "TTFB": 123,
      "FCP": 123,
      "LCP": 123,
      "CLS": 0.5,
      "FID": 123,
      "INP": 123
    }
  ],
  "RequestId": "0AEDAF20-4DDF-4165-8750-47FF9C1929C9",
  "StartTime": "2022-11-06T16:00:00Z",
  "EndTime": "2023-04-19T15:59:59Z"
}

Error codes

HTTP status codeError codeError messageDescription
400InvalidParameter.TimeRangeThe specified time range exceeds the limit. Adjust it and try again.The specified time range exceeds the limit. Adjust it and try again.
400TooManyRequestsToo many requests.Please try again later.Requests are too frequent, please try again later.
400InvalidEndTime.MismatchThe specified EndTime is earlier than the StartTime.The end time you entered is earlier than the start time. Please check and try again.
400InvalidParameterParameter verification failed. Check your configurations and try again.Parameter verification failed. Check your configurations and try again.
400InvalidTime.MalformedSpecified start time or end time is malformed.The specified time format is incorrect. The time must conform to the yyyy-MM-ddTHH:mm:ssZ format. Please enter it correctly and try again.

For a list of error codes, visit the Service error codes.