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

  • tenantIdstringrequired

    Describes the clientId or mspId of the tenant

Query Parameters

  • pageNointeger

    Default: 1

  • pageSizeinteger

    Default: 100

Responses

  • resultsarray

  • totalResultsinteger

  • orderBystring

  • pageNointeger

  • pageSizeinteger

  • totalPagesinteger

  • nextPageboolean

  • previousPageNointeger

  • descendingOrderboolean

Loading Examples...

This endpoint creates a new alert prediction policy of the client.

Path Parameters

  • tenantIdstringrequired

    Describes the clientId or mspId of the tenant

Request Body

application/json

  • namestringrequired

    The name of the alert prediction policy.

  • idstring

    uuid of the policy.

  • seasonalityTimeFramestring

    Learning based on the data for last N days.

    Enum:
    10D30D60D90D7D

    Default: 90D

  • enabledModestring

    To enable an alert prediction policy, set "enabledMode": "ON". To disable an alert prediction policy, set "enabledMode: "OFF"

  • filterCriteriaobject

    Determine if the alert prediction policy should consider the below filter rules.

Loading Examples...

Responses

  • namestringrequired

    The name of the alert prediction policy.

  • idstring

    uuid of the policy.

  • seasonalityTimeFramestring

    Learning based on the data for last N days.

    Enum:
    10D30D60D90D7D

    Default: 90D

  • enabledModestring

    To enable an alert prediction policy, set "enabledMode": "ON". To disable an alert prediction policy, set "enabledMode: "OFF"

  • filterCriteriaobject

    Determine if the alert prediction policy should consider the below filter rules.

Loading Examples...