Skip to main content
POST
/
api
/
metricAlerts
/
v1
Send a metric alert
curl --request POST \
  --url https://api.example.com/api/metricAlerts/v1 \
  --header 'Content-Type: application/json' \
  --header 'X-Domino-Api-Key: <api-key>' \
  --data '
{
  "metric": "<string>",
  "modelMonitoringId": "<string>",
  "targetRange": {
    "lowerLimit": 123,
    "upperLimit": 123
  },
  "value": 123,
  "description": "<string>"
}
'
{
  "error": "<string>"
}

Authorizations

X-Domino-Api-Key
string
header
required

Body

application/json

Details about the metric alert to send

metric
string
required

Name of the metric to send alert for

modelMonitoringId
string
required

ID of the monitored model to send metric alerts for

targetRange
object
required
value
number
required

Value of the metric

description
string

Optional text to append to the metric alert message

Response

Success