curl --request PATCH \
--url https://app.datafold.com/api/v1/monitors/{id}/update \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"type": "<string>",
"alert": {
"different_rows_count": 123,
"different_rows_percent": 123
},
"datadiff": {
"column_remapping": {},
"columns_to_compare": [
"<string>"
],
"ignore_string_case": true,
"materialize_results": true,
"primary_key": [
"<string>"
],
"sampling": {
"confidence": 123,
"tolerance": 123,
"threshold": 123
},
"timeseries_dimension_column": "<string>",
"tolerance": {
"float": {
"column_tolerance": {},
"default": {
"value": 123,
"type": "relative"
}
}
}
},
"description": "<string>",
"name": "<string>",
"notifications": [
{
"recipients": [
"<string>"
],
"features": [
"attach_csv"
],
"type": "email"
}
],
"schedule": {
"interval": {
"every": "<string>",
"type": "hourly"
}
},
"tags": [
"<string>"
]
}
'{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}curl --request PATCH \
--url https://app.datafold.com/api/v1/monitors/{id}/update \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"type": "<string>",
"alert": {
"different_rows_count": 123,
"different_rows_percent": 123
},
"datadiff": {
"column_remapping": {},
"columns_to_compare": [
"<string>"
],
"ignore_string_case": true,
"materialize_results": true,
"primary_key": [
"<string>"
],
"sampling": {
"confidence": 123,
"tolerance": 123,
"threshold": 123
},
"timeseries_dimension_column": "<string>",
"tolerance": {
"float": {
"column_tolerance": {},
"default": {
"value": 123,
"type": "relative"
}
}
}
},
"description": "<string>",
"name": "<string>",
"notifications": [
{
"recipients": [
"<string>"
],
"features": [
"attach_csv"
],
"type": "email"
}
],
"schedule": {
"interval": {
"every": "<string>",
"type": "hourly"
}
},
"tags": [
"<string>"
]
}
'{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}Use the 'Authorization' header with the format 'Key
The unique identifier of the monitor.
The type of monitor.
"diff"Condition for triggering alerts based on the data diff.
Configuration for the data diff.
Show child attributes
Optional list of columns to compare between the datasets.
Indicates whether to ignore case differences in string comparisons.
Indicates whether to materialize the results of the comparison.
List of columns that make up the primary key for the datasets.
Sampling configuration for the data comparison.
Column used for time series dimensioning in the comparison.
Configuration for tolerance applied to FLOAT columns.
Show child attributes
Configuration for float columns tolerance.
Show child attributes
Specific tolerance per column.
Show child attributes
The description of the monitor.
The name of the monitor.
Notification configuration for the monitor.
Show child attributes
A list of email addresses to receive the notification.
A list of features to enable for this notification.
attach_csv, notify_first_triggered_only, disable_recovery_notifications, notify_every_run "email"The schedule at which the monitor runs.
Tags associated with the monitor.
Successful Response