Logstreem
List monitors
GET

List monitors

Every alerting rule and its current state.

state is ok, alert or no_data at the last evaluation.

GET/v1/monitors

Query parameters

stateenum

Filter by current state.

okalertno_data

datasetstring

Only monitors on this dataset.

curl -X GET https://api.logstreem.com/v1/monitors \
  -H "Authorization: Bearer $LOGSTREEM_TOKEN"

Responses

200OK
{
  "object": "list",
  "data": [
    {
      "object": "monitor",
      "id": "mon_4a81e0c3f6a5b2d1e0c9",
      "name": "Checkout 5xx rate",
      "type": "threshold",
      "dataset": "api-gateway-prod",
      "apl": "['api-gateway-prod']\n| where status >= 500\n| summarize count() by bin(_time, 5m)",
      "operator": "above",
      "threshold": 25,
      "interval_minutes": 5,
      "state": "ok",
      "notifiers": ["ntf_1d7e4b3a09c2f856d4a1"],
      "created_at": "2026-08-02T09:41:00.000Z"
    }
  ],
  "has_more": false,
  "next_cursor": null
}
401Unauthorized
{
  "error": {
    "type": "authentication_error",
    "code": "missing_token",
    "message": "No API token provided.",
    "doc_url": "https://logstreem.com/docs/errors#missing_token",
    "request_id": "req_9f3c2a7b41de08c5b2e6"
  }
}
Try itsandbox