Alerts

Test a SQL query and return results

Changed on
post/dashboard/api/alerts/test-query

Request

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

Request body

sql_querystring required
query_type'condition' | 'action'

Response

Query results

Changes