cURL
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" } ]
Returns all alert rules configured by the user. Filtering by rule type or enabled state is supported.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
List of alert rules