{"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":{"description":"Alert notification object.","properties":{"email":{"properties":{"message":{"description":"Message used for email notification.","example":"This test is failing, check as soon as possible.","type":"string"},"recipients":{"description":"List of recipients emails that will be notified.","example":["user1@thousandeyes.com","user2@cisco.com"],"items":{"type":"string"},"type":"array"}},"type":"object","$$ref":"#/components/schemas/AlertEmail"},"thirdParty":{"items":{"properties":{"integrationId":{"description":"Unique ID of the integration.","example":"wb-78","type":"string"},"integrationName":{"description":"Name of the integration.","example":"integrationSlack1","type":"string"},"integrationType":{"description":"Type of the alert integration","enum":["pager-duty","slack"],"example":"slack","type":"string","$$ref":"#/components/schemas/AlertIntegrationType"},"target":{"description":"Target URL of the integration.","example":"https://hooks.slack.com/services/asd/0VqDYEpidpHVAK397x8PBsmZ","type":"string"},"authMethod":{"description":"(PagerDuty only) Authentication method.","example":"Basic","type":"string"},"authUser":{"description":"(PagerDuty only) Authentication user.","example":"user123","type":"string"},"authToken":{"description":"(PagerDuty only) Authentication token.","example":"0VqDYEpidpHVAK397x8PBsmZ","type":"string"},"channel":{"description":"(Slack only) Slack `#channel` or `@user`.","example":"#slackChannel","type":"string"}},"type":"object","$$ref":"#/components/schemas/AlertIntegrationBase"},"type":"array"},"webhook":{"items":{"properties":{"integrationId":{"description":"Unique ID of the integration.","example":"wb-78","type":"string"},"integrationName":{"description":"Name of the integration.","example":"integrationSlack1","type":"string"},"integrationType":{"description":"Type of the alert integration","enum":["pager-duty","slack"],"example":"slack","type":"string","$$ref":"#/components/schemas/AlertIntegrationType"},"target":{"description":"Target URL of the integration.","example":"https://hooks.slack.com/services/asd/0VqDYEpidpHVAK397x8PBsmZ","type":"string"},"authMethod":{"description":"(PagerDuty only) Authentication method.","example":"Basic","type":"string"},"authUser":{"description":"(PagerDuty only) Authentication user.","example":"user123","type":"string"},"authToken":{"description":"(PagerDuty only) Authentication token.","example":"0VqDYEpidpHVAK397x8PBsmZ","type":"string"},"channel":{"description":"(Slack only) Slack `#channel` or `@user`.","example":"#slackChannel","type":"string"}},"type":"object","$$ref":"#/components/schemas/AlertIntegrationBase"},"type":"array"}},"type":"object","$$ref":"#/components/schemas/AgentNotification","title":"AgentNotification"}}