Skip to main content

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 -H "Authorization: Bearer $ACCESS_TOKEN" 'https://staging.meltano.com:443/api/datasets/2db9ba64-8602-4968-a120-9c2d67095d50/alerts' -i -X POST \
-H 'Content-Type: application/json'

Response​

200 OK

{
"id" : "4ebabf34-815e-4109-b23d-3dd7cc9869be",
"created" : "2026-08-06T13:48:55.291399527",
"lastModified" : "2026-08-06T13:48:55.291408461",
"_links" : {
"create alert" : {
"href" : "https://staging.meltano.com/api/datasets/2db9ba64-8602-4968-a120-9c2d67095d50/alerts/4ebabf34-815e-4109-b23d-3dd7cc9869be"
}
}
}

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 -H "Authorization: Bearer $ACCESS_TOKEN" 'https://staging.meltano.com:443/api/datasets/2db9ba64-8602-4968-a120-9c2d67095d50/alerts/4ebabf34-815e-4109-b23d-3dd7cc9869be' -i -X PUT \
-H 'Content-Type: application/json' \
-d '{
"detail" : "New dataset alert"
}'

Response​

201 Created

{
"id" : "4ebabf34-815e-4109-b23d-3dd7cc9869be",
"created" : "2026-08-06T13:48:55.442681069",
"lastModified" : "2026-08-06T13:48:55.442686103",
"raised" : "2026-08-06T13:48:55.442681069",
"detail" : "New dataset alert",
"_links" : {
"dataset" : {
"href" : "https://staging.meltano.com/api/datasets/2db9ba64-8602-4968-a120-9c2d67095d50"
}
}
}

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 -H "Authorization: Bearer $ACCESS_TOKEN" 'https://staging.meltano.com:443/api/datasets/2db9ba64-8602-4968-a120-9c2d67095d50/alerts' -i -X GET

Response​

200 OK

{
"_embedded" : {
"alerts" : [ {
"id" : "4ebabf34-815e-4109-b23d-3dd7cc9869be",
"created" : "2026-08-06T13:48:55.442681",
"lastModified" : "2026-08-06T13:48:55.442686",
"raised" : "2026-08-06T13:48:55.442681",
"detail" : "New dataset alert",
"_links" : {
"dataset" : {
"href" : "https://staging.meltano.com/api/datasets/2db9ba64-8602-4968-a120-9c2d67095d50"
}
}
} ]
},
"_links" : {
"self" : {
"href" : "https://staging.meltano.com/api/datasets/2db9ba64-8602-4968-a120-9c2d67095d50/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 -H "Authorization: Bearer $ACCESS_TOKEN" 'https://staging.meltano.com:443/api/alerts/4ebabf34-815e-4109-b23d-3dd7cc9869be' -i -X GET

Response​

200 OK

{
"id" : "4ebabf34-815e-4109-b23d-3dd7cc9869be",
"created" : "2026-08-06T13:48:55.442681",
"lastModified" : "2026-08-06T13:48:55.442686",
"raised" : "2026-08-06T13:48:55.442681",
"detail" : "New dataset alert",
"_links" : {
"dataset" : {
"href" : "https://staging.meltano.com/api/datasets/2db9ba64-8602-4968-a120-9c2d67095d50"
}
}
}