All Products
Search
Document Center

Edge Security Acceleration:DescribeSiteTimeSeriesData

Last Updated:Jul 17, 2026

Queries network traffic analysis timing data at the account dimension or site dimension.

Operation description

  • If you do not specify StartTime and EndTime, this operation returns data from the past 24 hours. If you specify StartTime and EndTime, this operation returns data for the specified time range.

  • The time granularity of returned data varies based on the time span between StartTime and EndTime.
    • Less than or equal to 3 hours: returns data at 1-minute granularity.

    • Greater than 3 hours and less than or equal to 12 hours: returns data at 5-minute granularity.

    • Greater than 12 hours and less than or equal to 1 day: returns data at 15-minute granularity.

    • Greater than 1 day and less than or equal to 10 days: returns data at 1-hour granularity.

    • Greater than 10 days and less than or equal to 31 days: returns data at 1-day granularity.

  • Due to the large number of access requests during the query time range, data analytics results may involve sampling.

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:DescribeSiteTimeSeriesData

none

*Site

acs:esa:{#regionId}:{#accountId}:site/{#SiteId}

None None

Request parameters

Parameter

Type

Required

Description

Example

SiteId

string

No

The site ID. You can call the ListSites operation to obtain the site ID.

If this parameter is left empty, account-level data is queried.

1150376036*****

StartTime

string

No

The start time for the data query.

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

2023-04-08T16:00:00Z

EndTime

string

No

The end time for the data query.

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

Note

The end time must be later than the start time.

2023-04-09T16:00:00Z

Interval

string

No

The time granularity for the query data, in seconds.

Based on the maximum time span of a single query, this parameter supports the values 60 (1 minute), 300 (5 minutes), 3600 (1 hour), and 86400 (1 day). For more information, see the Supported time granularity section above.

300

Fields

array<object>

Yes

The query metrics.

object

No

The query metrics.

FieldName

string

No

The metric name.

Note

For specific dimensions, see Data analytics field description.

Traffic

Dimension

array

No

The query dimension.

string

No

The query dimension.

Note

For specific dimensions, see Data analytics field description.

ALL

Response elements

Element

Type

Description

Example

object

Data

array<object>

The returned data.

array<object>

The returned data.

FieldName

string

The metric name.

Traffic

DimensionName

string

The query dimension.

ALL

DimensionValue

string

The dimension value.

ALL

DetailData

array<object>

The returned data.

object

The returned data.

TimeStamp

string

Start timestamp of the time slice.

2023-04-08T16:00:00Z

Value

any

Value.

123

SummarizedData

array<object>

The summarized data.

object

FieldName

string

The summarized metric name.

Traffic

DimensionName

string

The summarized dimension name.

ALL

DimensionValue

string

The summarized dimension value.

ALL

AggMethod

string

The aggregation method.

sum

Value

any

The aggregated value.

12345

RequestId

string

The request ID.

04F0F334-1335-436C-A1D7-6C044FE7****

StartTime

string

The start time for the data query.

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

2023-04-08T16:00:00Z

EndTime

string

The end time of the returned data.

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

2023-04-09T16:00:00Z

Interval

integer

The data granularity. Unit: seconds.

300

SamplingRate

number

The sampling rate. Unit: %.

100

Examples

Success response

JSON format

{
  "Data": [
    {
      "FieldName": "Traffic",
      "DimensionName": "ALL",
      "DimensionValue": "ALL",
      "DetailData": [
        {
          "TimeStamp": "2023-04-08T16:00:00Z",
          "Value": "123"
        }
      ]
    }
  ],
  "SummarizedData": [
    {
      "FieldName": "Traffic",
      "DimensionName": "ALL",
      "DimensionValue": "ALL",
      "AggMethod": "sum",
      "Value": "12345"
    }
  ],
  "RequestId": "04F0F334-1335-436C-A1D7-6C044FE7****",
  "StartTime": "2023-04-08T16:00:00Z",
  "EndTime": "2023-04-09T16:00:00Z",
  "Interval": 300,
  "SamplingRate": 100
}

Error codes

HTTP status code

Error code

Error message

Description

400 InvalidParameter.TimeRange The specified time range exceeds the limit. Adjust it and try again. The specified time range exceeds the limit. Adjust it and try again.
400 TooManyRequests Too many requests.Please try again later. Requests are too frequent, please try again later.
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 InvalidParameter Parameter verification failed. Check your configurations and try again. Parameter verification failed. Check your configurations and try again.
400 QuotaCheckFailed.Function The feature is unavailable in your plan. Upgrade the plan or contact your account manager to request the feature. The feature is unavailable in your plan. Upgrade the plan or contact your account manager to request the feature.
400 InvalidParameter.Field The specified Field is invalid. The specified Field is invalid. For more information, see OpenAPI Documentation .
400 InvalidParameter.Dimension The specified Dimension is invalid. The specified Dimension is invalid. For more information, see OpenAPI Documentation .
400 InvalidTime.Malformed Specified 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.
400 TooManyDimensions Too many query dimensions specified. Delete some and try again. Too many query dimensions specified. Delete some and try again.

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.