Skip to main content
POST
/
model-monitor
/
v2
/
api
/
notification
/
model-config
/
{model_id}
Create or Update the existing model alert config.
curl --request POST \
  --url https://api.example.com/model-monitor/v2/api/notification/model-config/{model_id} \
  --header 'Content-Type: application/json' \
  --header 'X-Domino-Api-Key: <api-key>' \
  --data '
{
  "recipients": "<string>",
  "useGlobalRecipients": true
}
'
{
  "id": "<string>",
  "createdAt": 123,
  "updatedAt": 123,
  "modelId": "<string>",
  "recipients": "<string>",
  "useGlobalRecipients": true
}

Authorizations

X-Domino-Api-Key
string
header
required

Path Parameters

model_id
string
required

Body

application/json

request payload to be used to update or create the model alert config.

recipients
string

Alert recipients for the model.

useGlobalRecipients
boolean

Whether or not to use the global recipients for sending notifications.

Response

Model Alert Config was updated successfully.

Alert config for the model.

id
string

Model's Alert Config identifier.

createdAt
integer

Creation timestamp of the Alert Config for the model.

updatedAt
integer

Last update timestamp for the Model's alert config.

modelId
string

Unique identifier of the model.

recipients
string

recipients for the model's alert.

useGlobalRecipients
boolean

whether or not use the globally configured alert recipients.