Search Alert

LLM-friendly URL
POST
https://api.luzmo.com/0.1.0/alert
API call form
Examples

Search and get alerts

Parameters
Expand all Reset
find *OBJECTrequired
search OBJECT
where OBJECT
attributes ARRAY[STRING]
include ARRAY[OBJECT]
order ARRAY
limit NUMBER
offset NUMBER
Can be executed by:
Alert Owner
Can be associated to:
Schedule
User
Securable
Channel
Did this page help you?
Yes No
Language
Shell
Node
Java
.NET
Python
PHP
Install
npm install @luzmo/nodejs-sdk
Example Response
200
400
500
{
  "count": 2,
  "rows": [
    {
      "id": "0218f31b-0296-4cce-b2a4-384f27d2526a",
      "name": {
        "en": "My alert"
      },
      "query": {
        "measures": [
          {
            "dataset_id": "74379a5b-4979-49b0-9fda-7b72ca5c1c77",
            "column_id": "8aaa54b3-b605-4f2b-a93f-6d6c7d017366",
            "aggregation": {
              "type": "sum"
            }
          }
        ],
        "dimensions": [
          {
            "column_id": "7d4a54b3-a805-4f2b-a93f-6d6c7d017305",
            "dataset_id": "74379a5b-4979-49b0-9fda-7b72ca5c1c77"
          }
        ],
        "where": [
          {
            "expression": "? in ?",
            "parameters": [
              {
                "dataset_id": "74379a5b-4979-49b0-9fda-7b72ca5c1c77",
                "column_id": "7d4a54b3-a805-4f2b-a93f-6d6c7d017305"
              },
              [
                "Quesarito",
                "Chicken baconito"
              ]
            ]
          }
        ],
        "having": [
          {
            "expression": "? > ?",
            "parameters": [
              {
                "dataset_id": "74379a5b-4979-49b0-9fda-7b72ca5c1c77",
                "column_id": "8aaa54b3-b605-4f2b-a93f-6d6c7d017366",
                "aggregation": {
                  "type": "sum"
                }
              },
              10000
            ]
          }
        ],
        "context": {},
        "options": {
          "timezone_id": "Europe/Brussels"
        }
      },
      "chart_id": null,
      "created_at": "2024-02-09T15:20:52.350Z",
      "updated_at": "2024-02-09T15:20:52.360Z",
      "user_id": "444e2d0c-8dfb-45c1-bb97-52cb9264671f",
      "schedule_id": "845ce6b8-6371-4f80-b471-74a0ba163db6",
      "securable_id": "74379a5b-4979-49b0-9fda-7b72ca5c1c77",
      "frequency": {
        "unit": "week",
        "quantity": 1
      }
    },
    {
      "id": "a2ba965d-7538-4f79-9da8-d6bcdaacda3a",
      "name": {
        "en": "My new alert"
      },
      "query": {
        "measures": [
          {
            "dataset_id": "74379a5b-4979-49b0-9fda-7b72ca5c1c77",
            "column_id": "99df0100-61a7-4974-a9b1-b62e49d92c04",
            "aggregation": {
              "type": "count"
            }
          }
        ],
        "dimensions": [
          {
            "column_id": "99df0100-61a7-4974-a9b1-b62e49d92c04",
            "dataset_id": "74379a5b-4979-49b0-9fda-7b72ca5c1c77",
            "level": 1,
            "discretization": {
              "type": "none"
            }
          }
        ],
        "having": [
          {
            "expression": "? > ?",
            "parameters": [
              {
                "dataset_id": "74379a5b-4979-49b0-9fda-7b72ca5c1c77",
                "column_id": "99df0100-61a7-4974-a9b1-b62e49d92c04",
                "aggregation": {
                  "type": "count"
                }
              },
              100
            ]
          }
        ],
        "context": {
          "dashboard_id": "5322b4d1-c44f-449c-ab38-69ba6852726c",
          "chart_id": "968c944b-d304-4980-941b-030445780bc5"
        },
        "options": {
          "timezone_id": "Europe/Brussels"
        }
      },
      "chart_id": "968c944b-d304-4980-941b-030445780bc5",
      "created_at": "2024-02-09T15:26:02.019Z",
      "updated_at": "2024-02-09T15:26:02.026Z",
      "user_id": "444e2d0c-8dfb-45c1-bb97-52cb9264671f",
      "schedule_id": "a4995d69-734c-4adb-b3cb-ac9615ad28a4",
      "securable_id": "5322b4d1-c44f-449c-ab38-69ba6852726c",
      "frequency": {
        "unit": "day",
        "quantity": 1
      }
    }
  ]
}