v1
latestOpenAPI 3.0.02026-07-14198572488.4 KBReporting
Total requests from all sources
Shows all sources of requests to the site
get/v1/sites/{id}/reporting/total_requests
Path parameters
idinteger required
ID of the Site you are interacting with
Example:8880000888
Query parameters
duration'30m' | '1h' | '6h' | '12h' | '24h' | '72h' | '7d' | '30d' required
Duration that the listed data is for (m = minutes, h = hours, d = days)
Example:7d
Response
OK
Example response
{
"success": true,
"errors": [],
"messages": [],
"result": {
"totals": {
"totalRequests": {
"count": 1456,
"countPercentage": 45.23
},
"edgeRequests": {
"count": 1456,
"countPercentage": 45.23
},
"originRequests": {
"count": 1456,
"countPercentage": 45.23
},
"wafEvents": {
"count": 1456,
"countPercentage": 45.23
}
},
"graph": {
"totalRequests": [
{
"count": 521,
"ts": "2024-01-01T02:00:00Z"
}
],
"edgeRequests": [
{
"count": 521,
"ts": "2024-01-01T02:00:00Z"
}
],
"originRequests": [
{
"count": 521,
"ts": "2024-01-01T02:00:00Z"
}
],
"wafEvents": [
{
"count": 521,
"ts": "2024-01-01T02:00:00Z"
}
]
}
}
}