Alerts
get/dashboard/api/alerts

Request

  • Base URL
    https://api.agnost.ai
  • URL
    https://api.agnost.ai/dashboard/api/alerts
  • Auth
    • HTTP bearer and API key in header x-org-id
    • or API key in header x-api-key

Response

List of custom, daily summary, and proactive suggested-intent alert configurations.

idstring uuid
namestring
event_type'custom' | 'global_report' | 'suggested_intent'

suggested_intent alerts are triggered by intent discovery rather than the scheduled alert poller.

natural_language_querystring
sql_querystring
context_sql_querystring

Required for custom alerts. Returns up to five recent detail rows after the condition threshold is met.

action_natural_language_querystring

Optional instruction used only when no details query is available.

threshold_valuenumber
threshold_operator'>' | '<' | '>=' | '<=' | '=='
check_interval_hoursinteger
connection_idsstring[]
recipient_emailsstring[]
activeboolean
created_atstring date-time
updated_atstring date-time

Changes