Platform Operations/Platform Self-Monitor
POSTPlatformSince 1.0SynchronousAuth Required
TestSelfMonRule
Evaluate a self-monitoring rule against current metrics and return a sample alert.
Execution Availability
Try It Out
Submit a mock request using the current auth context and example-driven inputs.
Path Parameters
Request Inputs
Path Parameters
ruleIdStringRequiredID of the rule to test against current metrics
Responses
Endpoint
POST/api/v1/self-monitor/rules/{ruleId}/test
/api/v1/self-monitor/rules/{ruleId}/test
Request Example
curl -X POST '{host}/api/v1/self-monitor/rules/{ruleId}/test' -H 'Authorization: Bearer {token}' -H 'Content-Type: application/json' -d '{}'
Response Example
200{
"id": "alert-001-xyz",
"ruleId": "rule-selfmon-001",
"ruleName": "High Error Rate",
"value": 0.08,
"threshold": 0.05,
"severity": "warning",
"status": "firing",
"firedAt": "example"
}Change History
This API has no change history records yet.
