Query and Get Site or Path Level Aggregated Statistics (v2.0)
POSThttps://api.sase.paloaltonetworks.com/sdwan/v2.0/api/monitor/aiops/aggregates
Query and get the site or path level aggregated statistics.
Request
- application/json
Body
Details of app object stats query
aggregatesobject[]required
The aggregate number of supported app stats. Max number = 10.
end_timedate
The end time to get the app stats.
filter AggregateStatsFilterrequired
namestring
The description of the app. Maz size = 128.
start_timedate
The start time to get the app statistics.
Responses
- 200
- 400
Successful Operation
- application/json
- Schema
- Example (auto)
Schema
aggregatesobject[]
The aggregate number of supported app stats. Max number = 10.
end_timedate
The end time to get the app stats.
start_timedate
The start time to get the app statistics.
{
"aggregates": [
{}
],
"end_time": "2024-07-29",
"start_time": "2024-07-29"
}
Bad Request
- application/json
- Schema
- Example (auto)
- Example
Schema
_error ErrorResponse[]
{
"_error": [
{
"code": "string",
"message": "string"
}
]
}
{
"value": {
"_error": [
{
"code": "INVALID_REQUEST_ERROR_0001"
},
{
"code": "AGGREGATE_STATS_QUERY_AGGREGATES_REQUIRED"
},
{
"code": "AGGREGATE_STATS_APP_ID_REQUIRED"
},
{
"code": "AGGREGATE_STATS_APP_LENGTH_EXCEEDED"
},
{
"code": "AGGREGATE_STATS_QUERY_APP_INVALID_VALUE"
},
{
"code": "AGGREGATE_STATS_QUERY_FILTER_SITE_ID_REQUIRED"
},
{
"code": "AGGREGATE_STATS_QUERY_SITE_LIST_LENGTH_EXCEEDED"
},
{
"code": "AGGREGATE_STATS_QUERY_SITE_ID_INVALID_VALUE"
},
{
"code": "AGGREGATE_STATS_QUERY_PATH_ID_INVALID_VALUE"
},
{
"code": "AGGREGATE_STATS_QUERY_AGGREGATES_UNSUPPORTED"
},
{
"code": "AGGREGATE_STATS_QUERY_START_TIME_BEFORE_END_TIME"
},
{
"code": "AGGREGATE_STATS_QUERY_FILTER_UNSUPPORTED"
}
]
}
}
- curl
- python
- go
- nodejs
- csharp
- php
- CURL
curl -L 'https://api.sase.paloaltonetworks.com/sdwan/v2.0/api/monitor/aiops/aggregates' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-d '{
"aggregates": [
{}
],
"end_time": "2024-07-29",
"filter": {
"app": [
"string"
],
"path": [
"string"
],
"site": [
"string"
]
},
"name": "string",
"start_time": "2024-07-29"
}'
ResponseClear