These are the docs for Metabase v0.44. Check out the docs for the latest version, Metabase v0.54.

Alert

/api/alert endpoints.

DELETE /api/alert/:id/subscription

For users to unsubscribe themselves from the given alert.

  • id

Fetch all alerts.

  • archived value may be nil, or if non-nil, value must be a valid boolean string (‘true’ or ‘false’).

  • user_id value may be nil, or if non-nil, value must be an integer greater than zero.

Fetch an alert by ID.

  • id

Fetch all questions for the given question (Card) id.

  • id value may be nil, or if non-nil, value must be an integer greater than zero.

  • archived value may be nil, or if non-nil, value must be a valid boolean string (‘true’ or ‘false’).

Create a new Alert.

  • alert_condition value must be one of: goal, rows.

  • card value must be a map with the keys id, include_csv, include_xls, and dashboard_card_id.

  • channels value must be an array. Each value must be a map. The array cannot be empty.

  • alert_first_only value must be a boolean.

  • alert_above_goal value may be nil, or if non-nil, value must be a boolean.

  • new-alert-request-body

Update a Alert with ID.

  • id

  • alert_condition value may be nil, or if non-nil, value must be one of: goal, rows.

  • alert_first_only value may be nil, or if non-nil, value must be a boolean.

  • alert_above_goal value may be nil, or if non-nil, value must be a boolean.

  • card value may be nil, or if non-nil, value must be a map with the keys id, include_csv, include_xls, and dashboard_card_id.

  • channels value may be nil, or if non-nil, value must be an array. Each value must be a map. The array cannot be empty.

  • archived value may be nil, or if non-nil, value must be a boolean.

  • alert-updates


« Back to API index

Read docs for other versions of Metabase.