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/d0d40c59-5b89-42a0-b053-eedb6e821043/alerts' -i -X POST \
-H 'Content-Type: application/json'

Response​

200 OK

{
"id" : "21744f8f-57e2-444a-8fcb-0b74d7a489f3",
"created" : "2026-07-13T16:04:28.431103419",
"lastModified" : "2026-07-13T16:04:28.431113875",
"_links" : {
"create alert" : {
"href" : "https://staging.meltano.com/api/datasets/d0d40c59-5b89-42a0-b053-eedb6e821043/alerts/21744f8f-57e2-444a-8fcb-0b74d7a489f3"
}
}
}

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/d0d40c59-5b89-42a0-b053-eedb6e821043/alerts/21744f8f-57e2-444a-8fcb-0b74d7a489f3' -i -X PUT \
-H 'Content-Type: application/json' \
-d '{
"detail" : "New dataset alert"
}'

Response​

201 Created

{
"id" : "21744f8f-57e2-444a-8fcb-0b74d7a489f3",
"created" : "2026-07-13T16:04:28.643512963",
"lastModified" : "2026-07-13T16:04:28.643520004",
"raised" : "2026-07-13T16:04:28.643512963",
"detail" : "New dataset alert",
"_links" : {
"dataset" : {
"href" : "https://staging.meltano.com/api/datasets/d0d40c59-5b89-42a0-b053-eedb6e821043"
}
}
}

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/d0d40c59-5b89-42a0-b053-eedb6e821043/alerts' -i -X GET

Response​

200 OK

{
"_embedded" : {
"alerts" : [ {
"id" : "21744f8f-57e2-444a-8fcb-0b74d7a489f3",
"created" : "2026-07-13T16:04:28.643513",
"lastModified" : "2026-07-13T16:04:28.64352",
"raised" : "2026-07-13T16:04:28.643513",
"detail" : "New dataset alert",
"_links" : {
"dataset" : {
"href" : "https://staging.meltano.com/api/datasets/d0d40c59-5b89-42a0-b053-eedb6e821043"
}
}
} ]
},
"_links" : {
"self" : {
"href" : "https://staging.meltano.com/api/datasets/d0d40c59-5b89-42a0-b053-eedb6e821043/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/21744f8f-57e2-444a-8fcb-0b74d7a489f3' -i -X GET

Response​

200 OK

{
"id" : "21744f8f-57e2-444a-8fcb-0b74d7a489f3",
"created" : "2026-07-13T16:04:28.643513",
"lastModified" : "2026-07-13T16:04:28.64352",
"raised" : "2026-07-13T16:04:28.643513",
"detail" : "New dataset alert",
"_links" : {
"dataset" : {
"href" : "https://staging.meltano.com/api/datasets/d0d40c59-5b89-42a0-b053-eedb6e821043"
}
}
}