Create a project alert rule

post/projects/{projectId}/alertRules
Internal-Use Only

Creates an alert rule for a project.

Request Samples

1

Response Samples

1{
2 "projectId": "string",
3 "name": "string",
4 "description": "string",
5 "kpi": "string",
6 "severity": "string",
7 "operator": "string",
8 "value": 0,
9 "violations": 0,
10 "modelRole": "string",
11 "triggered": true,
12 "versionNum": 0
13}

Path Parameters

NameTypeRequiredDescription
projectId
string
true

The ID of a project in the common model repository.

Responses

StatusMeaningDescription
201CreatedThe request succeeded.HeadersSchema
400Bad RequestThe project ID was not specified.Schema
404Not FoundThe project ID is not valid.Schema