{"type":"model","meta":{"id":"/apps/pubhub/media/000-v7-apis/5b3454a4300b838cc17f7b2cdc0690fdd15058d5/301f59de-3d0d-342e-94f3-1388b071308d","info":{"description":"\n## Overview\nManage all agents available to your account in ThousandEyes, including both Cloud and Enterprise Agents.","title":"Agents API","version":"7.0.34"},"security":[{"BearerAuth":[]}],"tags":[{"name":"Cloud and Enterprise Agents"},{"name":"Enterprise Agent Cluster"},{"name":"Cloud and Enterprise Agent Notification Rules"},{"name":"Agent Proxies"}],"externalDocs":{"description":"Find out more about Agents & Monitors","url":"https://docs.thousandeyes.com/product-documentation/global-vantage-points/working-with-agent-settings"},"openapi":"3.0.1","servers":[{"description":"ThousandEyes API production URL","url":"https://api.thousandeyes.com/v7"}],"securitySchemes":{"BearerAuth":{"description":"Bearer authentication token","scheme":"bearer","type":"http"}}},"spec":{"properties":{"agentAlertRules":{"example":[{"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}],"items":{"properties":{"ruleId":{"description":"Agent notification rule ID","example":"281474976710706","readOnly":true,"type":"string"},"ruleName":{"description":"Name of the agent notification rule","example":"Default Agent Offline Notification","type":"string"},"expression":{"description":"Expression of agent notification rule","example":"((lastContact \u003e= 30 min))","type":"string"},"notifyOnClear":{"description":"Send notification when notification clears","example":true,"type":"boolean"},"isDefault":{"description":"Agent notification rule will be automatically included on all new Enterprise Agents.","example":false,"type":"boolean"}},"type":"object","$$ref":"#/components/schemas/NotificationRule"},"type":"array"}},"type":"object","$$ref":"#/components/schemas/NotificationRules","title":"NotificationRules"}}