Version v0.44 of Metabase is no longer supported. Check out the docs for the current stable version, Metabase v0.63.
Alert
/api/alert endpoints.
DELETE /api/alert/:id/subscription
For users to unsubscribe themselves from the given alert.
PARAMS:
id
GET /api/alert/
Fetch all alerts.
PARAMS:
-
archivedvalue may be nil, or if non-nil, value must be a valid boolean string (‘true’ or ‘false’). -
user_idvalue may be nil, or if non-nil, value must be an integer greater than zero.
GET /api/alert/:id
Fetch an alert by ID.
PARAMS:
id
GET /api/alert/question/:id
Fetch all questions for the given question (Card) id.
PARAMS:
-
idvalue may be nil, or if non-nil, value must be an integer greater than zero. -
archivedvalue may be nil, or if non-nil, value must be a valid boolean string (‘true’ or ‘false’).
POST /api/alert/
Create a new Alert.
PARAMS:
-
alert_conditionvalue must be one of:goal,rows. -
cardvalue must be a map with the keysid,include_csv,include_xls, anddashboard_card_id. -
channelsvalue must be an array. Each value must be a map. The array cannot be empty. -
alert_first_onlyvalue must be a boolean. -
alert_above_goalvalue may be nil, or if non-nil, value must be a boolean. -
new-alert-request-body
PUT /api/alert/:id
Update a Alert with ID.
PARAMS:
-
id -
alert_conditionvalue may be nil, or if non-nil, value must be one of:goal,rows. -
alert_first_onlyvalue may be nil, or if non-nil, value must be a boolean. -
alert_above_goalvalue may be nil, or if non-nil, value must be a boolean. -
cardvalue may be nil, or if non-nil, value must be a map with the keysid,include_csv,include_xls, anddashboard_card_id. -
channelsvalue may be nil, or if non-nil, value must be an array. Each value must be a map. The array cannot be empty. -
archivedvalue may be nil, or if non-nil, value must be a boolean. -
alert-updates
Read docs for other versions of Metabase.