Monitors
Create a Data Test Monitor
Audit Logs
Data sources
Data diffs
Explore
BI
- GETList all integrations
- POSTCreate a DBT BI integration
- PUTUpdate a DBT BI integration
- POSTCreate a Hightouch integration
- PUTUpdate a Hightouch integration
- POSTCreate a Looker integration
- PUTUpdate a Looker integration
- POSTCreate a Mode Analytics integration
- PUTUpdate a Mode Analytics integration
- POSTCreate a Power BI integration
- PUTRename a Power BI integration
- POSTCreate a Tableau integration
- PUTUpdate a Tableau integration
- GETGet an integration
- DELRemove an integration
- GETSync a BI integration
Monitors
Create a Data Test Monitor
POST
/
api
/
v1
/
monitors
/
create
/
test
curl --request POST \
--url https://app.datafold.com/api/v1/monitors/create/test \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '{
"connection_id": 123,
"description": "<string>",
"enabled": true,
"name": "<string>",
"notifications": [
{
"features": [
"attach_csv"
],
"recipients": [
"<string>"
],
"type": "email"
}
],
"query": "<string>",
"schedule": {
"interval": {
"every": "<string>",
"type": "hourly"
}
},
"tags": [
"<string>"
],
"test": {
"tables": [
{
"columns": [
"<string>"
],
"path": "<string>"
}
],
"type": "unique",
"variables": {}
}
}'
{
"id": 123
}
Authorizations
Use the 'Authorization' header with the format 'Key <api-key>'
Body
application/json
Response
200
application/json
Successful Response
The response is of type object
.
curl --request POST \
--url https://app.datafold.com/api/v1/monitors/create/test \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '{
"connection_id": 123,
"description": "<string>",
"enabled": true,
"name": "<string>",
"notifications": [
{
"features": [
"attach_csv"
],
"recipients": [
"<string>"
],
"type": "email"
}
],
"query": "<string>",
"schedule": {
"interval": {
"every": "<string>",
"type": "hourly"
}
},
"tags": [
"<string>"
],
"test": {
"tables": [
{
"columns": [
"<string>"
],
"path": "<string>"
}
],
"type": "unique",
"variables": {}
}
}'
{
"id": 123
}