Query Time Series Application QoS Metrics (v2.0)
POSThttps://api.sase.paloaltonetworks.com/sdwan/v2.0/api/monitor/application/qos_metrics
Query the time series application QoS metrics.
Request
- application/json
Body
Filters for application qos metrics
end_timedate
The end time to get the application QoS metrics.
filter ApplicationQosMetricsFilterrequired
intervalstringrequired
The interval time of the application QoS metrics.
Possible values: [10sec
, 1min
, 5min
, 1hour
, 1day
, 1month
]
max_datapointsint32
The max datapoints of the application QoS metrics.
metrics Metrics[]required
namestring
The name of the Application QoS metric.
start_timedate
The start time to get the application QoS metrics.
view View
Responses
- 200
- 400
Successful Operation
- application/json
- Schema
- Example (auto)
Schema
metrics MetricArray[]
{
"metrics": [
{
"series": [
{
"data": [
{
"datapoints": [
{
"duration": "2024-07-29T15:51:28.071Z",
"filter_property_id": "string",
"links": [
"string"
],
"max_value_time": "2024-07-29T15:51:28.071Z",
"ninetieth_percentile": 0,
"sites": [
"string"
],
"value": 0
}
],
"statistics": {}
}
],
"interval": "string",
"name": "string",
"unit": "string",
"view": {}
}
]
}
]
}
Bad Request
- application/json
- Schema
- Example (auto)
- Example
Schema
_error ErrorResponse[]
{
"_error": [
{
"code": "string",
"message": "string"
}
]
}
{
"value": {
"_error": [
{
"code": "REQUIRED_PROPERTY"
},
{
"code": "INVALID_STATS_REQUEST_BODY"
},
{
"code": "INVALID_FILTER"
},
{
"code": "APPLICATION_NOT_SUPPORTED"
},
{
"code": "MULTIPLE_QOS_TYPE_NOT_SUPPORTED"
},
{
"code": "REQUESTED_METRIC_NOT_SUPPORTED"
},
{
"code": "REQUESTED_METRIC_UNIT_NOT_SUPPORTED"
},
{
"code": "REQUESTED_METRIC_STATISTICS_NOT_SUPPORTED"
},
{
"code": "MAX_DATAPOINTS_NOT_SUPPORTED"
},
{
"code": "REQUESTED_VIEW_NOT_SUPPORTED"
},
{
"code": "START_TIME_GREATER_THAN_END_TIME"
},
{
"code": "OTHER_METRICS_NOT_SUPPORTED"
},
{
"code": "REQUESTED_VIEW_NOT_SUPPORTED_FOR_METRIC"
},
{
"code": "MOS_METRICS_NOT_SUPPORTED"
},
{
"code": "SERVICE_UNAVAILABLE"
}
]
}
}
- curl
- python
- go
- nodejs
- csharp
- php
- CURL
curl -L 'https://api.sase.paloaltonetworks.com/sdwan/v2.0/api/monitor/application/qos_metrics' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-d '{
"end_time": "2024-07-29",
"filter": {
"application_name": "string",
"direction": "Ingress",
"email": [
"string"
],
"site": [
"string"
],
"user": [
"string"
]
},
"interval": "10sec",
"max_datapoints": 0,
"metrics": [
{
"name": "string",
"statistics": [
"string"
],
"unit": "string"
}
],
"name": "string",
"start_time": "2024-07-29",
"view": {
"individual": "ELEMENT",
"summary": true
}
}'
ResponseClear