You can call this operation to retrieve the query volume.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

Request parameters

Parameter Type Required Example Description
Action String Yes DescribeRequestGraph

The operation that you want to perform. Set the value to DescribeRequestGraph.

EndTimestamp Long Yes 1571673600000

The end of the time range to query. This value is a UNIX timestamp representing the number of milliseconds that have elapsed since the epoch time January 1, 1970, 00:00:00 UTC.

StartTimestamp Long Yes 1571587200000

The beginning of the time range to query. This value is a UNIX timestamp representing the number of milliseconds that have elapsed since the epoch time January 1, 1970, 00:00:00 UTC.

Lang String No en

The language of the specific content returned in the response.

UserClientIp String No 127.0.0.1

The IP address of the client.

VpcId String No vpc-1111

The ID of the Virtual Private Cloud (VPC).

ZoneId String No 29c752a01cd281a20ddcfaecef

The ID of the private zone.

Response parameters

Parameter Type Example Description
RequestDetails Array

The detailed information about the queries.

ZoneRequestTop

The detailed information about the queries received in the corresponding granularity of statistics.

RequestCount Long 103

The number of queries received in the corresponding granularity of statistics.

Time String 2019-10-21T10:00Z

The time when the statistics were collected on the number of queries.

Timestamp Long 1571652000000

The timestamp when the statistics were collected on the number of queries. Unit: milliseconds.

RequestId String EB71815-A421-4E51-8E8D-667F44ABE633

The ID of the request.

Examples

Sample requests

http(s)://pvtz.aliyuncs.com/? Action=DescribeRequestGraph&EndTimestamp=1571673600000&StartTimestamp=1571587200000&<Common request parameters>

Sample success responses

XML format

<DescribeRequestGraphResponse>    <RequestDetails>    <ZoneRequestTop>      <Time>2019-10-25T16:00Z</Time>      <RequestCount>97</RequestCount>      <Timestamp>1572019200000</Timestamp>    </ZoneRequestTop>    <ZoneRequestTop>      <Time>2019-10-25T17:00Z</Time>      <RequestCount>93</RequestCount>      <Timestamp>1572022800000</Timestamp>    </ZoneRequestTop>    <ZoneRequestTop>      <Time>2019-10-25T18:00Z</Time>      <RequestCount>98</RequestCount>      <Timestamp>1572026400000</Timestamp>    </ZoneRequestTop>    <ZoneRequestTop>      <Time>2019-10-27T15:00Z</Time>      <RequestCount>95</RequestCount>      <Timestamp>1572188400000</Timestamp>    </ZoneRequestTop>    <ZoneRequestTop>      <Time>2019-10-27T16:00Z</Time>      <RequestCount>90</RequestCount>      <Timestamp>1572192000000</Timestamp>    </ZoneRequestTop>    <ZoneRequestTop>      <Time>2019-10-27T17:00Z</Time>      <RequestCount>89</RequestCount>      <Timestamp>1572195600000</Timestamp>    </ZoneRequestTop>    <ZoneRequestTop>      <Time>2019-10-27T18:00Z</Time>      <RequestCount>93</RequestCount>      <Timestamp>1572199200000</Timestamp>    </ZoneRequestTop>    <ZoneRequestTop>      <Time>2019-10-27T19:00Z</Time>      <RequestCount>97</RequestCount>      <Timestamp>1572202800000</Timestamp>    </ZoneRequestTop>    <ZoneRequestTop>      <Time>2019-10-27T20:00Z</Time>      <RequestCount>94</RequestCount>      <Timestamp>1572206400000</Timestamp>    </ZoneRequestTop>    <ZoneRequestTop>      <Time>2019-10-27T21:00Z</Time>      <RequestCount>90</RequestCount>      <Timestamp>1572210000000</Timestamp>    </ZoneRequestTop>    <ZoneRequestTop>      <Time>2019-10-27T22:00Z</Time>      <RequestCount>87</RequestCount>      <Timestamp>1572213600000</Timestamp>    </ZoneRequestTop>    <ZoneRequestTop>      <Time>2019-10-27T23:00Z</Time>      <RequestCount>88</RequestCount>      <Timestamp>1572217200000</Timestamp>    </ZoneRequestTop>    <ZoneRequestTop>      <Time>2019-10-28T00:00Z</Time>      <RequestCount>94</RequestCount>      <Timestamp>1572220800000</Timestamp>    </ZoneRequestTop>    </RequestDetails>    <RequestId>041B0CBF-3D5F-4AAB-ABDE-420817341522</RequestId></DescribeRequestGraphResponse>

JSON format

{“RequestDetails”:{“ZoneRequestTop”:[{“Time”:”2019-10-20T16:00Z”,“RequestCount”:96,“Timestamp”:1571587200000},{“Time”:”2019-10-20T17:00Z”,“RequestCount”:98,“Timestamp”:1571590800000},{“Time”:”2019-10-20T18:00Z”,“RequestCount”:98,“Timestamp”:1571594400000},{“Time”:”2019-10-20T19:00Z”,“RequestCount”:93,“Timestamp”:1571598000000},{“Time”:”2019-10-20T20:00Z”,“RequestCount”:87,“Timestamp”:1571601600000},{“Time”:”2019-10-20T21:00Z”,“RequestCount”:95,“Timestamp”:1571605200000},{“Time”:”2019-10-20T22:00Z”,“RequestCount”:104,“Timestamp”:1571608800000},{“Time”:”2019-10-20T23:00Z”,“RequestCount”:99,“Timestamp”:1571612400000},{“Time”:”2019-10-21T00:00Z”,“RequestCount”:88,“Timestamp”:1571616000000},{“Time”:”2019-10-21T01:00Z”,“RequestCount”:84,“Timestamp”:1571619600000},{“Time”:”2019-10-21T02:00Z”,“RequestCount”:101,“Timestamp”:1571623200000},{“Time”:”2019-10-21T03:00Z”,“RequestCount”:95,“Timestamp”:1571626800000},{“Time”:”2019-10-21T04:00Z”,“RequestCount”:94,“Timestamp”:1571630400000},{“Time”:”2019-10-21T05:00Z”,“RequestCount”:99,“Timestamp”:1571634000000},{“Time”:”2019-10-21T06:00Z”,“RequestCount”:86,“Timestamp”:1571637600000},{“Time”:”2019-10-21T07:00Z”,“RequestCount”:88,“Timestamp”:1571641200000},{“Time”:”2019-10-21T08:00Z”,“RequestCount”:94,“Timestamp”:1571644800000},{“Time”:”2019-10-21T09:00Z”,“RequestCount”:98,“Timestamp”:1571648400000},{“Time”:”2019-10-21T10:00Z”,“RequestCount”:103,“Timestamp”:1571652000000},{“Time”:”2019-10-21T11:00Z”,“RequestCount”:84,“Timestamp”:1571655600000},{“Time”:”2019-10-21T12:00Z”,“RequestCount”:89,“Timestamp”:1571659200000},{“Time”:”2019-10-21T13:00Z”,“RequestCount”:98,“Timestamp”:1571662800000},{“Time”:”2019-10-21T14:00Z”,“RequestCount”:89,“Timestamp”:1571666400000},{“Time”:”2019-10-21T15:00Z”,“RequestCount”:94,“Timestamp”:1571670000000}]},“RequestId”:”1EB71815-A421-4E51-8E8D-667F44ABE633”}

Error codes

For a list of error codes, visit the API Error Center.