Create and Get Alert Prediction Policy
Creates and gets alert prediction policies of a tenant.
This endpoint list all the alert prediction policies of the client.
Path Parameters
- tenantId
Describes the clientId or mspId of the tenant
Query Parameters
- pageNo
Default: 1
- pageSize
Default: 100
Responses
- results
- totalResults
- orderBy
- pageNo
- pageSize
- totalPages
- nextPage
- previousPageNo
- descendingOrder
This endpoint creates a new alert prediction policy of the client.
Path Parameters
- tenantId
Describes the clientId or mspId of the tenant
Request Body
application/json
- name
The name of the alert prediction policy.
- id
uuid of the policy.
- seasonalityTimeFrame
Learning based on the data for last N days.
- Enum:
- 10D30D60D90D7D
Default: 90D
- enabledMode
To enable an alert prediction policy, set "enabledMode": "ON". To disable an alert prediction policy, set "enabledMode: "OFF"
- filterCriteria
Determine if the alert prediction policy should consider the below filter rules.
Responses
- name
The name of the alert prediction policy.
- id
uuid of the policy.
- seasonalityTimeFrame
Learning based on the data for last N days.
- Enum:
- 10D30D60D90D7D
Default: 90D
- enabledMode
To enable an alert prediction policy, set "enabledMode": "ON". To disable an alert prediction policy, set "enabledMode: "OFF"
- filterCriteria
Determine if the alert prediction policy should consider the below filter rules.