Get project alert rule

get/projects/{projectId}/alertRules/{alertRuleId}

Retrieves an alert rule by ID for a project.

Request Samples

Response Samples

1{
2 "projectId": "proj-001",
3 "name": "High Error Rate Alert",
4 "description": "Alert triggered when the error rate KPI for a model exceeds the threshold.",
5 "kpi": "error_rate",
6 "severity": "high",
7 "operator": "greaterThan",
8 "value": 0.05,
9 "violations": 3,
10 "modelRole": "production",
11 "triggered": true,
12 "versionNum": 2
13}

Path Parameters

projectId
string
true

The ID of a project in the common model repository.

alertRuleId
string
true

The ID of an alert rule.

Responses

StatusMeaningDescription
200OK

The request succeeded.

HeadersSchema
404Not Found

The project ID is not valid.

Schema