List agent notification rules

GET {{baseUrl}}/agents/notification-rules?aid=1234

Returns a list of all agent notification rules configured under the account.

Request Params

KeyDatatypeRequiredDescription
aidnumberA unique identifier associated with your account group. You can retrieve your AccountGroupId from the /account-groups endpoint. Note that you must be assigned to the target account group. Specifying this parameter without being assigned to the target account group will result in an error response.

HEADERS

KeyDatatypeRequiredDescription
Acceptstring

RESPONSES

status: OK

{"agentAlertRules":[{"ruleId":"281474976710706","ruleName":"Default Agent Offline Notification","expression":"((lastContact \u003e= 30 min))","notifyOnClear":true,"isDefault":false},{"ruleId":"281474976710709","ruleName":"Test Rule","expression":"((lastContact \u003e= 40 min))","notifyOnClear":true,"isDefault":true}],"_links":{"self":{"href":"https://api.thousandeyes.com/v7/link/to/resource/id","templated":false,"type":"quis veniam ut","deprecation":"pariatur magna elit","name":"minim Duis eiusmod ex enim","profile":"Ut","title":"occaecat ex labore deserunt","hreflang":"eiusmod Duis Lorem"}}}