Get Capacity Prediction (v2.0)
POST/sdwan/v2.0/api/monitor/aiops/forecast
Get capacity prediction for site v2.0 Note
- Start and end time need to be specified in ISO8601 UTC format.
- Forecast basis need be to specified according to 2.0 specifications.
- Type need to be specified according to the specifications.
Request
- application/json
Body
Query request for getting capacity prediction based on type and forecast basis
- Array [
- Array [
- ]
- ]
- Array [
- Array [
- ]
- ]
anomaly Forecast[]
The number of sites that will reach high capacity utilization threshold within the next 28 days.
The forecast date and time.
Bw Site Anomaly
The forecast status. True or False.
items ForecastResult[]
The deatils of the forecast results.
The direction of traffic.
The site.
The WAN path.
Possible values: [CAPACITY_EXCEED_THRESHOLD
, ANOMALY
, CIRCUIT_CAPACITY_FORECAST
, CIRCUIT_UTILIZATION
, ANOMALY_SITE_CIRCUIT_DETAILS
]
The name of the forecast.
Possible values: [FORECAST_28_DAYS
, FORECAST_7_DAYS
, CIRCUIT_UTILIZATION_ANOMALY
]
The type of forecast.
The end time of the capacity prediction query. End times need to be specified in ISO8601 UTC format.
filter CapacityPredictionFilter
Filters according to the specifications.
Possible values: [Ingress
, Egress
]
Filter by direction of traffic.
Filter by site.
Filter by WAN path.
forecast Forecast[]
The details of the forecast.
The forecast date and time.
Bw Site Anomaly
The forecast status. True or False.
items ForecastResult[]
The deatils of the forecast results.
The direction of traffic.
The site.
The WAN path.
Possible values: [CAPACITY_EXCEED_THRESHOLD
, ANOMALY
, CIRCUIT_CAPACITY_FORECAST
, CIRCUIT_UTILIZATION
, ANOMALY_SITE_CIRCUIT_DETAILS
]
The name of the forecast.
Possible values: [FORECAST_28_DAYS
, FORECAST_7_DAYS
, CIRCUIT_UTILIZATION_ANOMALY
]
The type of forecast.
Possible values: [CAPACITY_EXCEED_THRESHOLD
, ANOMALY
, CIRCUIT_CAPACITY_FORECAST
, CIRCUIT_UTILIZATION
, ANOMALY_SITE_CIRCUIT_DETAILS
]
The forecast basis types. Forecast basis need be to specified according to 2.0 specifications.
The forecast data.
The name of the capacity prediction query. Maz size = 128.
The start time to get the capacity prediction query. Start times need to be specified in ISO8601 UTC format.,
Possible values: [SITE
, CIRCUIT
]
The type of capacity prediction query. Type need to be specified according to the specifications.
Responses
- 200
- 400
Successful Operation
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- Array [
- ]
- ]
- Array [
- Array [
- ]
- ]
anomaly Forecast[]
The number of sites that will reach high capacity utilization threshold within the next 28 days.
The forecast date and time.
Bw Site Anomaly
The forecast status. True or False.
items ForecastResult[]
The deatils of the forecast results.
The direction of traffic.
The site.
The WAN path.
Possible values: [CAPACITY_EXCEED_THRESHOLD
, ANOMALY
, CIRCUIT_CAPACITY_FORECAST
, CIRCUIT_UTILIZATION
, ANOMALY_SITE_CIRCUIT_DETAILS
]
The name of the forecast.
Possible values: [FORECAST_28_DAYS
, FORECAST_7_DAYS
, CIRCUIT_UTILIZATION_ANOMALY
]
The type of forecast.
The end time of the capacity prediction query. End times need to be specified in ISO8601 UTC format.
filter CapacityPredictionFilter
Filters according to the specifications.
Possible values: [Ingress
, Egress
]
Filter by direction of traffic.
Filter by site.
Filter by WAN path.
forecast Forecast[]
The details of the forecast.
The forecast date and time.
Bw Site Anomaly
The forecast status. True or False.
items ForecastResult[]
The deatils of the forecast results.
The direction of traffic.
The site.
The WAN path.
Possible values: [CAPACITY_EXCEED_THRESHOLD
, ANOMALY
, CIRCUIT_CAPACITY_FORECAST
, CIRCUIT_UTILIZATION
, ANOMALY_SITE_CIRCUIT_DETAILS
]
The name of the forecast.
Possible values: [FORECAST_28_DAYS
, FORECAST_7_DAYS
, CIRCUIT_UTILIZATION_ANOMALY
]
The type of forecast.
Possible values: [CAPACITY_EXCEED_THRESHOLD
, ANOMALY
, CIRCUIT_CAPACITY_FORECAST
, CIRCUIT_UTILIZATION
, ANOMALY_SITE_CIRCUIT_DETAILS
]
The forecast basis types. Forecast basis need be to specified according to 2.0 specifications.
The forecast data.
The name of the capacity prediction query. Maz size = 128.
The start time to get the capacity prediction query. Start times need to be specified in ISO8601 UTC format.,
Possible values: [SITE
, CIRCUIT
]
The type of capacity prediction query. Type need to be specified according to the specifications.
{
"anomaly": [
{
"actual_forecast_date": "2024-07-29T15:51:28.071Z",
"bw_site_anomaly": 0,
"forecast_status": true,
"items": [
{
"direction": {},
"site": "string",
"wn_path": "string"
}
],
"name": "CAPACITY_EXCEED_THRESHOLD",
"type": "FORECAST_28_DAYS"
}
],
"end_time": "2024-07-29",
"filter": {
"direction": "Ingress",
"site": [
"string"
],
"wn_path": [
"string"
]
},
"forecast": [
{
"actual_forecast_date": "2024-07-29T15:51:28.071Z",
"bw_site_anomaly": 0,
"forecast_status": true,
"items": [
{
"direction": {},
"site": "string",
"wn_path": "string"
}
],
"name": "CAPACITY_EXCEED_THRESHOLD",
"type": "FORECAST_28_DAYS"
}
],
"forecast_basis": [
"CAPACITY_EXCEED_THRESHOLD"
],
"forecast_date": "2024-07-29",
"name": "string",
"start_time": "2024-07-29",
"type": "SITE"
}
Bad Request
- application/json
- Schema
- Example (from schema)
- Example
Schema
- Array [
- ]
_error ErrorResponse[]
The error code.
The error message.
{
"_error": [
{
"code": "string",
"message": "string"
}
]
}
{
"value": {
"_error": [
{
"code": "INVALID_REQUEST_ERROR_0001"
},
{
"code": "SCHEMA_MISMATCH"
},
{
"code": "START_TIME_GREATER_THAN_END_TIME"
},
{
"code": "MAX_DATAPOINTS_END_TIME"
}
]
}
}