Datadog/on Call
@webframp/datadog/on-callv2026.07.20.11
01README
Datadog On-Call — on-call schedules, escalation policies, and routing
02Release Notes
2026.07.20.11
Added: Initial code-generated release of @webframp/datadog/on-call with 21 methods covering the Datadog on call API surface.
03Models
@webframp/datadog/on-callv2026.07.20.11datadog/on_call.ts
Global Arguments
| Argument | Type | Description |
|---|---|---|
| apiKey | string | Datadog API key (DD-API-KEY) |
| appKey | string | Datadog application key (DD-APPLICATION-KEY) |
| site | enum | Datadog site |
fn create_on_call_escalation_policy(include?: string, name: string, resolve_page_on_policy_end?: boolean, retries?: number, steps: array)
Create On-Call escalation policy
| Argument | Type | Description |
|---|---|---|
| include? | string | Comma-separated list of included relationships to be returned. Allowed values... |
| name | string | Specifies the name for the new escalation policy. |
| resolve_page_on_policy_end? | boolean | Indicates whether the page is automatically resolved when the policy ends. |
| retries? | number | Specifies how many times the escalation sequence is retried if there is no re... |
| steps | array | A list of escalation steps, each defining assignment, escalation timeout, and... |
fn get_on_call_escalation_policy(policy_id: string, include?: string)
Get On-Call escalation policy
| Argument | Type | Description |
|---|---|---|
| policy_id | string | The ID of the escalation policy |
| include? | string | Comma-separated list of included relationships to be returned. Allowed values... |
fn update_on_call_escalation_policy(policy_id: string, include?: string, name: string, resolve_page_on_policy_end?: boolean, retries?: number, steps: array)
Update On-Call escalation policy
| Argument | Type | Description |
|---|---|---|
| policy_id | string | The ID of the escalation policy |
| include? | string | Comma-separated list of included relationships to be returned. Allowed values... |
| name | string | Specifies the name of the escalation policy. |
| resolve_page_on_policy_end? | boolean | Indicates whether the page is automatically resolved when the policy ends. |
| retries? | number | Specifies how many times the escalation sequence is retried if there is no re... |
| steps | array | A list of escalation steps, each defining assignment, escalation timeout, and... |
fn delete_on_call_escalation_policy(policy_id: string)
Delete On-Call escalation policy
| Argument | Type | Description |
|---|---|---|
| policy_id | string | The ID of the escalation policy |
fn create_on_call_schedule(include?: string, layers: array, name: string, time_zone: string)
Create On-Call schedule
| Argument | Type | Description |
|---|---|---|
| include? | string | Comma-separated list of included relationships to be returned. Allowed values... |
| layers | array | The layers of On-Call coverage that define rotation intervals and restrictions. |
| name | string | A human-readable name for the new schedule. |
| time_zone | string | The time zone in which the schedule is defined. |
fn get_on_call_schedule(schedule_id: string, include?: string)
Get On-Call schedule
| Argument | Type | Description |
|---|---|---|
| schedule_id | string | The ID of the schedule |
| include? | string | Comma-separated list of included relationships to be returned. Allowed values... |
fn update_on_call_schedule(schedule_id: string, include?: string, layers: array, name: string, time_zone: string)
Update On-Call schedule
| Argument | Type | Description |
|---|---|---|
| schedule_id | string | The ID of the schedule |
| include? | string | Comma-separated list of included relationships to be returned. Allowed values... |
| layers | array | The updated list of layers (rotations) for this schedule. |
| name | string | A short name for the schedule. |
| time_zone | string | The time zone used when interpreting rotation times. |
fn delete_on_call_schedule(schedule_id: string)
Delete On-Call schedule
| Argument | Type | Description |
|---|---|---|
| schedule_id | string | The ID of the schedule |
fn get_schedule_on_call_responders(schedule_id: string, include?: string, filter_position?: string, filter_at_ts?: string)
Get on-call responders for a schedule
| Argument | Type | Description |
|---|---|---|
| schedule_id | string | The ID of the schedule. |
| include? | string | Comma-separated list of included relationships to be returned. Allowed values... |
| filter_position? | string | Comma-separated list of positions to retrieve. Allowed values: `previous`, `c... |
| filter_at_ts? | string |
fn get_team_on_call_users(team_id: string, include?: string)
Get team on-call users
| Argument | Type | Description |
|---|---|---|
| team_id | string | The team ID |
| include? | string | Comma-separated list of included relationships to be returned. Allowed values... |
fn get_on_call_team_routing_rules(team_id: string, include?: string)
Get On-Call team routing rules
| Argument | Type | Description |
|---|---|---|
| team_id | string | The team ID |
| include? | string | Comma-separated list of included relationships to be returned. Allowed values... |
fn set_on_call_team_routing_rules(team_id: string, include?: string, rules?: array)
Set On-Call team routing rules
| Argument | Type | Description |
|---|---|---|
| team_id | string | The team ID |
| include? | string | Comma-separated list of included relationships to be returned. Allowed values... |
| rules? | array | A list of routing rule items that define how incoming pages should be handled. |
fn list_user_notification_channels(user_id: string)
List On-Call notification channels for a user
| Argument | Type | Description |
|---|---|---|
| user_id | string | The user ID |
fn create_user_notification_channel(user_id: string, config?: unknown)
Create an On-Call notification channel for a user
| Argument | Type | Description |
|---|---|---|
| user_id | string | The user ID |
| config? | unknown | Notification channel configuration |
fn get_user_notification_channel(user_id: string, channel_id: string)
Get an On-Call notification channel for a user
| Argument | Type | Description |
|---|---|---|
| user_id | string | The user ID |
| channel_id | string | The channel ID |
fn delete_user_notification_channel(user_id: string, channel_id: string)
Delete an On-Call notification channel for a user
| Argument | Type | Description |
|---|---|---|
| user_id | string | The user ID |
| channel_id | string | The channel ID |
fn list_user_notification_rules(user_id: string, include?: string)
List On-Call notification rules for a user
| Argument | Type | Description |
|---|---|---|
| user_id | string | The user ID |
| include? | string | Comma-separated list of included relationships to be returned. Allowed values... |
fn create_user_notification_rule(user_id: string, category?: unknown, channel_settings?: unknown, delay_minutes?: number)
Create an On-Call notification rule for a user
| Argument | Type | Description |
|---|---|---|
| user_id | string | The user ID |
| category? | unknown | |
| channel_settings? | unknown | Configuration for the associated channel, if necessary |
| delay_minutes? | number | The number of minutes that will elapse before this rule is evaluated. 0 indic... |
fn get_user_notification_rule(user_id: string, rule_id: string, include?: string)
Get an On-Call notification rule for a user
| Argument | Type | Description |
|---|---|---|
| user_id | string | The user ID |
| rule_id | string | The rule ID |
| include? | string | Comma-separated list of included relationships to be returned. Allowed values... |
fn update_user_notification_rule(user_id: string, rule_id: string, include?: string, category?: unknown, channel_settings?: unknown, delay_minutes?: number)
Update an On-Call notification rule for a user
| Argument | Type | Description |
|---|---|---|
| user_id | string | The user ID |
| rule_id | string | The rule ID |
| include? | string | Comma-separated list of included relationships to be returned. Allowed values... |
| category? | unknown | |
| channel_settings? | unknown | Configuration for the associated channel, if necessary |
| delay_minutes? | number | The number of minutes that will elapse before this rule is evaluated. 0 indic... |
fn delete_user_notification_rule(user_id: string, rule_id: string)
Delete an On-Call notification rule for a user
| Argument | Type | Description |
|---|---|---|
| user_id | string | The user ID |
| rule_id | string | The rule ID |
Resources
on_call_escalation_policy(infinite)— Create On-Call escalation policy
on_call_schedule(infinite)— Create On-Call schedule
schedule_on_call_responders(infinite)— Get on-call responders for a schedule
team_on_call_users(infinite)— Get team on-call users
on_call_team_routing_rules(infinite)— Get On-Call team routing rules
set_on_call_team_routing_rules(infinite)— Set On-Call team routing rules
user_notification_channels(infinite)— List On-Call notification channels for a user
user_notification_channel(infinite)— Create an On-Call notification channel for a user
user_notification_rules(infinite)— List On-Call notification rules for a user
user_notification_rule(infinite)— Create an On-Call notification rule for a user
04Stats
A
100 / 100
Downloads
0
Archive size
18.0 KB
- Has README or module doc2/2earned
- README has a code example1/1earned
- README is substantive1/1earned
- Most symbols documented1/1earned
- No slow types (deprecated)1/1earned
- Dependencies pass trust audit2/2earned
- Has description1/1earned
- Platform support declared (or universal)2/2earned
- License declared1/1earned
- Verified public repository2/2earned
05Platforms
06Labels