provider On-Call GET
/api/v2/on-call/teams/{team_id}/routing-rules @utdk/datadog
/api/v2/on-call/teams/{team_id}/routing-rules Get On-Call team routing rules
Get a team's On-Call routing rules
- team_id path required
- The team ID
- string
- include query
- Comma-separated list of included relationships to be returned. Allowed values: `rules`, `rules.policy`.
- 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.getoncallteamroutingrules()