Alerts
Alerts can be created by users on datasets. These alerts can then be used to inform users of information related to that dataset.
Requests
Initialise an alert on a dataset
POST /datasets/{dataset-id}/alerts
Initialises a new alert on a dataset.
Prerequisites
- The authenticated user must own a Meltano Cloud account
Examples
- cURL
- Python (requests)
curl -H "Authorization: Bearer $ACCESS_TOKEN" 'https://app.matatika.com/api/datasets/e05d715a-457d-49f9-8ecb-5c89649a46df/alerts' -i -X POST \
-H 'Content-Type: application/json'
import requests
url = "https://app.matatika.com/api/datasets/e05d715a-457d-49f9-8ecb-5c89649a46df/alerts"
headers = {
'Authorization': ACCESS_TOKEN
}
response = requests.request("POST", url, headers=headers)
print(response.text.encode('utf8'))
Response
200 OK
{
"id" : "1d25e41d-7f3e-43cb-9ccf-14777e380e5d",
"created" : "2026-06-10T07:08:13.37405547",
"lastModified" : "2026-06-10T07:08:13.374058138",
"_links" : {
"create alert" : {
"href" : "https://app.matatika.com/api/datasets/e05d715a-457d-49f9-8ecb-5c89649a46df/alerts/1d25e41d-7f3e-43cb-9ccf-14777e380e5d"
}
}
}
Create an alert on a dataset
PUT /datasets/{dataset-id}/alerts/{alert-id}
Create a new alert on a dataset.
Prerequisites
- The authenticated user must own a Meltano Cloud account
Examples
- cURL
- Python (requests)
curl -H "Authorization: Bearer $ACCESS_TOKEN" 'https://app.matatika.com/api/datasets/e05d715a-457d-49f9-8ecb-5c89649a46df/alerts/1d25e41d-7f3e-43cb-9ccf-14777e380e5d' -i -X PUT \
-H 'Content-Type: application/json' \
-d '{
"detail" : "New dataset alert"
}'
import requests
url = "https://app.matatika.com/api/datasets/e05d715a-457d-49f9-8ecb-5c89649a46df/alerts/1d25e41d-7f3e-43cb-9ccf-14777e380e5d"
data = {
"detail" : "New dataset alert"
}
headers = {
'Authorization': ACCESS_TOKEN
}
response = requests.request("PUT", url, headers=headers, data=data)
print(response.text.encode('utf8'))
Response
201 Created
{
"id" : "1d25e41d-7f3e-43cb-9ccf-14777e380e5d",
"created" : "2026-06-10T07:08:13.436523194",
"lastModified" : "2026-06-10T07:08:13.436523631",
"raised" : "2026-06-10T07:08:13.436523194",
"detail" : "New dataset alert",
"_links" : {
"dataset" : {
"href" : "https://app.matatika.com/api/datasets/e05d715a-457d-49f9-8ecb-5c89649a46df"
}
}
}
View alerts on a dataset
GET /datasets/{dataset-id}/alerts
View alerts on a dataset.
Prerequisites
- The authenticated user must own a Meltano Cloud account
Examples
- cURL
- Python (requests)
curl -H "Authorization: Bearer $ACCESS_TOKEN" 'https://app.matatika.com/api/datasets/e05d715a-457d-49f9-8ecb-5c89649a46df/alerts' -i -X GET
import requests
url = "https://app.matatika.com/api/datasets/e05d715a-457d-49f9-8ecb-5c89649a46df/alerts"
headers = {
'Authorization': ACCESS_TOKEN
}
response = requests.request("GET", url, headers=headers)
print(response.text.encode('utf8'))
Response
200 OK
{
"_embedded" : {
"alerts" : [ {
"id" : "1d25e41d-7f3e-43cb-9ccf-14777e380e5d",
"created" : "2026-06-10T07:08:13.436523",
"lastModified" : "2026-06-10T07:08:13.436524",
"raised" : "2026-06-10T07:08:13.436523",
"detail" : "New dataset alert",
"_links" : {
"dataset" : {
"href" : "https://app.matatika.com/api/datasets/e05d715a-457d-49f9-8ecb-5c89649a46df"
}
}
} ]
},
"_links" : {
"self" : {
"href" : "https://app.matatika.com/api/datasets/e05d715a-457d-49f9-8ecb-5c89649a46df/alerts?page=0&size=20"
}
},
"page" : {
"size" : 20,
"totalElements" : 1,
"totalPages" : 1,
"number" : 0
}
}
View an alert
GET /alerts/{alert-id}
View an alert.
Prerequisites
- The authenticated user must own a Meltano Cloud account
Examples
- cURL
- Python (requests)
curl -H "Authorization: Bearer $ACCESS_TOKEN" 'https://app.matatika.com/api/alerts/1d25e41d-7f3e-43cb-9ccf-14777e380e5d' -i -X GET
import requests
url = "https://app.matatika.com/api/alerts/1d25e41d-7f3e-43cb-9ccf-14777e380e5d"
headers = {
'Authorization': ACCESS_TOKEN
}
response = requests.request("GET", url, headers=headers)
print(response.text.encode('utf8'))
Response
200 OK
{
"id" : "1d25e41d-7f3e-43cb-9ccf-14777e380e5d",
"created" : "2026-06-10T07:08:13.436523",
"lastModified" : "2026-06-10T07:08:13.436524",
"raised" : "2026-06-10T07:08:13.436523",
"detail" : "New dataset alert",
"_links" : {
"dataset" : {
"href" : "https://app.matatika.com/api/datasets/e05d715a-457d-49f9-8ecb-5c89649a46df"
}
}
}