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://app.meltano.com:443/api/datasets/e575eb65-4b11-4149-a239-064306d91b74/alerts' -i -X POST \
-H 'Content-Type: application/json'

Response​

200 OK

{
"id" : "f9402182-ffcc-41dd-9472-190a8eea0bf0",
"created" : "2026-10-01T13:39:44.350280529",
"lastModified" : "2026-10-01T13:39:44.350286033",
"_links" : {
"create alert" : {
"href" : "https://app.meltano.com/api/datasets/e575eb65-4b11-4149-a239-064306d91b74/alerts/f9402182-ffcc-41dd-9472-190a8eea0bf0"
}
}
}

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://app.meltano.com:443/api/datasets/e575eb65-4b11-4149-a239-064306d91b74/alerts/f9402182-ffcc-41dd-9472-190a8eea0bf0' -i -X PUT \
-H 'Content-Type: application/json' \
-d '{
"detail" : "New dataset alert"
}'

Response​

201 Created

{
"id" : "f9402182-ffcc-41dd-9472-190a8eea0bf0",
"created" : "2026-10-01T13:39:44.494646254",
"lastModified" : "2026-10-01T13:39:44.494647322",
"raised" : "2026-10-01T13:39:44.494646254",
"detail" : "New dataset alert",
"_links" : {
"dataset" : {
"href" : "https://app.meltano.com/api/datasets/e575eb65-4b11-4149-a239-064306d91b74"
}
}
}

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://app.meltano.com:443/api/datasets/e575eb65-4b11-4149-a239-064306d91b74/alerts' -i -X GET

Response​

200 OK

{
"_embedded" : {
"alerts" : [ {
"id" : "f9402182-ffcc-41dd-9472-190a8eea0bf0",
"created" : "2026-10-01T13:39:44.494646",
"lastModified" : "2026-10-01T13:39:44.494647",
"raised" : "2026-10-01T13:39:44.494646",
"detail" : "New dataset alert",
"_links" : {
"dataset" : {
"href" : "https://app.meltano.com/api/datasets/e575eb65-4b11-4149-a239-064306d91b74"
}
}
} ]
},
"_links" : {
"self" : {
"href" : "https://app.meltano.com/api/datasets/e575eb65-4b11-4149-a239-064306d91b74/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://app.meltano.com:443/api/alerts/f9402182-ffcc-41dd-9472-190a8eea0bf0' -i -X GET

Response​

200 OK

{
"id" : "f9402182-ffcc-41dd-9472-190a8eea0bf0",
"created" : "2026-10-01T13:39:44.494646",
"lastModified" : "2026-10-01T13:39:44.494647",
"raised" : "2026-10-01T13:39:44.494646",
"detail" : "New dataset alert",
"_links" : {
"dataset" : {
"href" : "https://app.meltano.com/api/datasets/e575eb65-4b11-4149-a239-064306d91b74"
}
}
}