provider Monitors GET
/api/v2/monitor/notification_rule @utdk/datadog
/api/v2/monitor/notification_rule Get all monitor notification rules
Returns a list of all monitor notification rules.
- page query
- The page to start paginating from. If `page` is not specified, the argument defaults to the first page.
- integer
- per_page query
- The number of rules to return per page. If `per_page` is not specified, the argument defaults to 100.
- integer
- sort query
- String for sort order, composed of field and sort order separated by a colon, for example `name:asc`. Supported sort directions: `asc`, `desc`. Supported fields: `name`, `created_at`.
- string
- filters query
- JSON-encoded filter object. Supported keys: * `text`: Free-text query matched against rule name, tags, and recipients. * `tags`: Array of strings. Return rules that have any of these tags. * `recipients`: Array of strings. Return rules that have any of these recipients.
- string
- include query
- Comma-separated list of resource paths for related resources to include in the response. Supported resource path is `created_by`.
- string
Try it
Authentication
Configure credentials for Datadog API V2 Collection
Gateway
The gateway proxies requests and injects credentials server-side. Configure credentials above, then enter your gateway URL.
Saved automatically to browser storage.
Code snippet
Updates live as you fill in the form above.
TypeScript
import datadog from '@utdk/datadog';
await datadog.getmonitornotificationrules()