Alert message field via API is not found

Hi,

I am unable to see the message field while pulling the alert data via API. Here is the example API I am using:

curl -H “Authorization: Bearer asdfasdfasdfasdfasdfasdf” http://1.1.1.1:3000/api/alerts

I get all the alert data with the exception of the alert message field. Can you help me understand why?

Here is the Grafana version info:
Grafana version: Grafana v5.0.1 (commit: a747ec3)
OS: Ubuntu

Thanks for the help!
Haseeb.

Hi,

By the alert message field you’re referring to the notification message? You should be able to get that by retrieving the dashboard json from api where the alert in question are defined.

Marcus