Alerting
AlertingAvailable Alerts
Get Alert Types
client.alerting.availableAlerts.list(AvailableAlertListParams { account_id } params, RequestOptionsoptions?): AvailableAlertListResponse { description, display_name, filter_options, type }
GET/accounts/{account_id}/alerting/v3/available_alerts
AlertingDestinations
AlertingDestinationsEligible
Get delivery mechanism eligibility
client.alerting.destinations.eligible.get(EligibleGetParams { account_id } params, RequestOptionsoptions?): EligibleGetResponse { eligible, ready, type }
GET/accounts/{account_id}/alerting/v3/destinations/eligible
AlertingDestinationsPagerduty
List PagerDuty services
client.alerting.destinations.pagerduty.get(PagerdutyGetParams { account_id } params, RequestOptionsoptions?): SinglePage<Pagerduty { id, name } >
GET/accounts/{account_id}/alerting/v3/destinations/pagerduty
Create PagerDuty integration token
client.alerting.destinations.pagerduty.create(PagerdutyCreateParams { account_id } params, RequestOptionsoptions?): PagerdutyCreateResponse { id }
POST/accounts/{account_id}/alerting/v3/destinations/pagerduty/connect
Delete PagerDuty Services
client.alerting.destinations.pagerduty.delete(PagerdutyDeleteParams { account_id } params, RequestOptionsoptions?): PagerdutyDeleteResponse { errors, messages, success }
DELETE/accounts/{account_id}/alerting/v3/destinations/pagerduty
Connect PagerDuty
client.alerting.destinations.pagerduty.link(stringtokenId, PagerdutyLinkParams { account_id } params, RequestOptionsoptions?): PagerdutyLinkResponse { id }
GET/accounts/{account_id}/alerting/v3/destinations/pagerduty/connect/{token_id}
AlertingDestinationsWebhooks
List webhooks
client.alerting.destinations.webhooks.list(WebhookListParams { account_id } params, RequestOptionsoptions?): SinglePage<Webhooks { id, created_at, last_failure, 5 more } >
GET/accounts/{account_id}/alerting/v3/destinations/webhooks
Get a webhook
client.alerting.destinations.webhooks.get(stringwebhookId, WebhookGetParams { account_id } params, RequestOptionsoptions?): Webhooks { id, created_at, last_failure, 5 more }
GET/accounts/{account_id}/alerting/v3/destinations/webhooks/{webhook_id}
Create a webhook
client.alerting.destinations.webhooks.create(WebhookCreateParams { account_id, name, url, secret } params, RequestOptionsoptions?): WebhookCreateResponse { id }
POST/accounts/{account_id}/alerting/v3/destinations/webhooks
Update a webhook
client.alerting.destinations.webhooks.update(stringwebhookId, WebhookUpdateParams { account_id, name, url, secret } params, RequestOptionsoptions?): WebhookUpdateResponse { id }
PUT/accounts/{account_id}/alerting/v3/destinations/webhooks/{webhook_id}
Delete a webhook
client.alerting.destinations.webhooks.delete(stringwebhookId, WebhookDeleteParams { account_id } params, RequestOptionsoptions?): WebhookDeleteResponse { errors, messages, success }
DELETE/accounts/{account_id}/alerting/v3/destinations/webhooks/{webhook_id}
AlertingHistory
List History
client.alerting.history.list(HistoryListParams { account_id, before, page, 2 more } params, RequestOptionsoptions?): V4PagePaginationArray<History { id, alert_body, alert_type, 6 more } >
GET/accounts/{account_id}/alerting/v3/history
AlertingPolicies
List Notification policies
client.alerting.policies.list(PolicyListParams { account_id } params, RequestOptionsoptions?): SinglePage<Policy { id, alert_interval, alert_type, 7 more } >
GET/accounts/{account_id}/alerting/v3/policies
Get a Notification policy
client.alerting.policies.get(stringpolicyId, PolicyGetParams { account_id } params, RequestOptionsoptions?): Policy { id, alert_interval, alert_type, 7 more }
GET/accounts/{account_id}/alerting/v3/policies/{policy_id}
Create a Notification policy
client.alerting.policies.create(PolicyCreateParams { account_id, alert_type, enabled, 5 more } params, RequestOptionsoptions?): PolicyCreateResponse { id }
POST/accounts/{account_id}/alerting/v3/policies
Update a Notification policy
client.alerting.policies.update(stringpolicyId, PolicyUpdateParams { account_id, alert_interval, alert_type, 5 more } params, RequestOptionsoptions?): PolicyUpdateResponse { id }
PUT/accounts/{account_id}/alerting/v3/policies/{policy_id}
Delete a Notification policy
client.alerting.policies.delete(stringpolicyId, PolicyDeleteParams { account_id } params, RequestOptionsoptions?): PolicyDeleteResponse { errors, messages, success, result_info }
DELETE/accounts/{account_id}/alerting/v3/policies/{policy_id}
AlertingSilences
List Silences
client.alerting.silences.list(SilenceListParams { account_id } params, RequestOptionsoptions?): SinglePage<SilenceListResponse { id, created_at, end_time, 3 more } >
GET/accounts/{account_id}/alerting/v3/silences
Get Silence
client.alerting.silences.get(stringsilenceId, SilenceGetParams { account_id } params, RequestOptionsoptions?): SilenceGetResponse { id, created_at, end_time, 3 more }
GET/accounts/{account_id}/alerting/v3/silences/{silence_id}
Create Silences
client.alerting.silences.create(SilenceCreateParams { account_id, body } params, RequestOptionsoptions?): SilenceCreateResponse { errors, messages, success }
POST/accounts/{account_id}/alerting/v3/silences
Update Silences
client.alerting.silences.update(SilenceUpdateParams { account_id, body } params, RequestOptionsoptions?): SinglePage<SilenceUpdateResponse { id, created_at, end_time, 3 more } >
PUT/accounts/{account_id}/alerting/v3/silences
Delete Silence
client.alerting.silences.delete(stringsilenceId, SilenceDeleteParams { account_id } params, RequestOptionsoptions?): SilenceDeleteResponse { errors, messages, success }
DELETE/accounts/{account_id}/alerting/v3/silences/{silence_id}