Monitors
Get 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
Get Monitor
GET
/
api
/
v1
/
monitors
/
{id}
curl --request GET \
--url https://app.datafold.com/api/v1/monitors/{id} \
--header 'Authorization: <api-key>'
{
"alert": {
"different_rows_count": 123,
"different_rows_percent": 123,
"type": "<string>"
},
"created_at": "2023-11-07T05:31:56Z",
"dataset": [
{
"column": "<string>",
"connection_id": 123,
"filter": "<string>",
"metric": "<string>",
"query": "<string>",
"table": "<string>"
}
],
"description": "<string>",
"enabled": true,
"id": 123,
"last_alert": "2023-11-07T05:31:56Z",
"last_run": "2023-11-07T05:31:56Z",
"modified_at": "2023-11-07T05:31:56Z",
"monitor_type": "diff",
"name": "<string>",
"notifications": [
{
"features": [
"attach_csv"
],
"recipients": [
"<string>"
],
"type": "email"
}
],
"schedule": {
"interval": {
"every": "<string>",
"type": "hourly"
}
},
"state": "ok",
"tags": [
"<string>"
]
}
Authorizations
Use the 'Authorization' header with the format 'Key <api-key>'
Path Parameters
The unique identifier of the monitor.
Response
200
application/json
Successful Response
The response is of type object
.
curl --request GET \
--url https://app.datafold.com/api/v1/monitors/{id} \
--header 'Authorization: <api-key>'
{
"alert": {
"different_rows_count": 123,
"different_rows_percent": 123,
"type": "<string>"
},
"created_at": "2023-11-07T05:31:56Z",
"dataset": [
{
"column": "<string>",
"connection_id": 123,
"filter": "<string>",
"metric": "<string>",
"query": "<string>",
"table": "<string>"
}
],
"description": "<string>",
"enabled": true,
"id": 123,
"last_alert": "2023-11-07T05:31:56Z",
"last_run": "2023-11-07T05:31:56Z",
"modified_at": "2023-11-07T05:31:56Z",
"monitor_type": "diff",
"name": "<string>",
"notifications": [
{
"features": [
"attach_csv"
],
"recipients": [
"<string>"
],
"type": "email"
}
],
"schedule": {
"interval": {
"every": "<string>",
"type": "hourly"
}
},
"state": "ok",
"tags": [
"<string>"
]
}