Skip to main content
GET
/
alerts
/
rules
List alert rules
curl --request GET \
  --url https://api.artosai.com/alerts/rules \
  --header 'Authorization: Bearer <token>'
[
  {
    "rule_id": "<string>",
    "name": "<string>",
    "description": "<string>",
    "rule_type": "<string>",
    "conditions": {},
    "notification": {},
    "enabled": true,
    "created_at": "2023-11-07T05:31:56Z",
    "last_triggered": "2023-11-07T05:31:56Z"
  }
]

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

enabled
boolean
rule_type
string

Response

200 - application/json

List of alert rules

rule_id
string
name
string
description
string
rule_type
string
conditions
object
notification
object
enabled
boolean
created_at
string<date-time>
last_triggered
string<date-time>