diff --git a/hugo/content/en/api/v2/monitors/examples.json b/hugo/content/en/api/v2/monitors/examples.json index 361bb8bb0b63..52b5cdca9b5a 100644 --- a/hugo/content/en/api/v2/monitors/examples.json +++ b/hugo/content/en/api/v2/monitors/examples.json @@ -36,7 +36,10 @@ "recipients": [ "slack-test-channel", "jira-test" - ] + ], + "rule_options": { + "is_threaded": true + } }, "id": "00000000-0000-1234-0000-000000000000", "relationships": { @@ -105,7 +108,7 @@ } ] }, - "html": "
\n
\n
\n
\n

data

\n
\n

[object]

\n

A list of monitor notification rules.

\n
\n
\n
\n
\n
\n

attributes

\n
\n

object

\n

Attributes of the monitor notification rule.

\n
\n
\n
\n
\n
\n

bundle_config

\n
\n

object

\n

Use bundle config to enable alert bundling to reduce monitor signal noises. Note: This feature is in preview and is subject to change.\nIf you have any feedback, contact Datadog support.

\n
\n
\n
\n
\n
\n

duration [required]

\n
\n

int32

\n

Duration of the bundling period.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

conditional_recipients

\n
\n

object

\n

Use conditional recipients to define different recipients for different situations. Cannot be used with recipients.

\n
\n
\n
\n
\n
\n

conditions [required]

\n
\n

[object]

\n

Conditions of the notification rule.

\n
\n
\n
\n
\n
\n

recipients [required]

\n
\n

[string]

\n

A list of recipients to notify. Uses the same format as the monitor message field. Must not start with an '@'.

\n
\n \n
\n
\n
\n
\n
\n

scope [required]

\n
\n

string

\n

Defines the condition under which the recipients are notified. Supported formats:

\n
    \n
  • Monitor status condition using transition_type:<status>, for example transition_type:is_alert.
  • \n
  • A single tag key:value pair, for example env:prod.
  • \n
\n
\n \n
\n
\n
\n
\n
\n
\n
\n

fallback_recipients

\n
\n

[string]

\n

If none of the conditions applied, fallback_recipients will get notified.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

created

\n
\n

date-time

\n

Creation time of the monitor notification rule.

\n
\n \n
\n
\n
\n
\n
\n

filter

\n
\n

 <oneOf>

\n

Specifies the matching criteria for monitor notifications.

\n
\n
\n
\n
\n
\n

Object 1

\n
\n

object

\n

Filters monitor notifications by a list of tag key:value pairs.

\n
\n
\n
\n
\n
\n

tags [required]

\n
\n

[string]

\n

A list of tag key:value pairs (e.g. team:product). All tags must match (AND semantics).

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

Object 2

\n
\n

object

\n

Filters monitor notifications using a scope expression over key:value pairs with boolean logic (AND, OR, NOT).

\n
\n
\n
\n
\n
\n

scope [required]

\n
\n

string

\n

A scope expression composed by key:value pairs (e.g. service:foo) with boolean operators (AND, OR, NOT) and parentheses for grouping.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

modified

\n
\n

date-time

\n

Time the monitor notification rule was last modified.

\n
\n \n
\n
\n
\n
\n
\n

name

\n
\n

string

\n

The name of the monitor notification rule.

\n
\n \n
\n
\n
\n
\n
\n

recipients

\n
\n

[string]

\n

A list of recipients to notify. Uses the same format as the monitor message field. Must not start with an '@'. Cannot be used with conditional_recipients.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

id

\n
\n

string

\n

The ID of the monitor notification rule.

\n
\n \n
\n
\n
\n
\n
\n

relationships

\n
\n

object

\n

All relationships associated with monitor notification rule.

\n
\n
\n
\n
\n
\n

created_by

\n
\n

object

\n

The user who created the monitor notification rule.

\n
\n
\n
\n
\n
\n

data

\n
\n

object

\n

Data for the user who created the monitor notification rule.

\n
\n
\n
\n
\n
\n

id

\n
\n

string

\n

User ID of the monitor notification rule creator.

\n
\n \n
\n
\n
\n
\n
\n

type

\n
\n

enum

\n

Users resource type. \nAllowed enum values: users

default: users

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n

type

\n
\n

enum

\n

Monitor notification rule resource type. \nAllowed enum values: monitor-notification-rule

default: monitor-notification-rule

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

included

\n
\n

[ <oneOf>]

\n

Array of objects related to the monitor notification rules.

\n
\n
\n
\n
\n
\n

<type=users>

\n
\n

object

\n

User object returned by the API.

\n
\n
\n
\n
\n
\n

attributes

\n
\n

object

\n

Attributes of user object returned by the API.

\n
\n
\n
\n
\n
\n

created_at

\n
\n

date-time

\n

The ISO 8601 timestamp of when the user account was created.

\n
\n \n
\n
\n
\n
\n
\n

disabled

\n
\n

boolean

\n

Whether the user account is deactivated. Disabled users cannot log in.

\n
\n \n
\n
\n
\n
\n
\n

email

\n
\n

string

\n

The email address of the user, used for login and notifications.

\n
\n \n
\n
\n
\n
\n
\n

handle

\n
\n

string

\n

The unique handle (username) of the user, typically matching their email prefix.

\n
\n \n
\n
\n
\n
\n
\n

icon

\n
\n

string

\n

URL of the user's profile icon, typically a Gravatar URL derived from the email address.

\n
\n \n
\n
\n
\n
\n
\n

last_login_time

\n
\n

date-time

\n

The ISO 8601 timestamp of the user's most recent login, or null if the user has never logged in.

\n
\n \n
\n
\n
\n
\n
\n

mfa_enabled

\n
\n

boolean

\n

Whether multi-factor authentication (MFA) is enabled for the user's account.

\n
\n \n
\n
\n
\n
\n
\n

modified_at

\n
\n

date-time

\n

The ISO 8601 timestamp of when the user account was last modified.

\n
\n \n
\n
\n
\n
\n
\n

name

\n
\n

string

\n

The full display name of the user as shown in the Datadog UI.

\n
\n \n
\n
\n
\n
\n
\n

service_account

\n
\n

boolean

\n

Whether this is a service account rather than a human user.\nService accounts are used for programmatic API access.

\n
\n \n
\n
\n
\n
\n
\n

status

\n
\n

string

\n

The current status of the user account (for example, Active, Pending, or Disabled).

\n
\n \n
\n
\n
\n
\n
\n

title

\n
\n

string

\n

The job title of the user (for example, "Senior Engineer" or "Product Manager").

\n
\n \n
\n
\n
\n
\n
\n

uuid

\n
\n

string

\n

The globally unique identifier (UUID) of the user.

\n
\n \n
\n
\n
\n
\n
\n

verified

\n
\n

boolean

\n

Whether the user's email address has been verified.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

id

\n
\n

string

\n

ID of the user.

\n
\n \n
\n
\n
\n
\n
\n

relationships

\n
\n

object

\n

Relationships of the user object returned by the API.

\n
\n
\n
\n
\n
\n

org

\n
\n

object

\n

Relationship to an organization.

\n
\n
\n
\n
\n
\n

data [required]

\n
\n

object

\n

Relationship to organization object.

\n
\n
\n
\n
\n
\n

id [required]

\n
\n

string

\n

ID of the organization.

\n
\n \n
\n
\n
\n
\n
\n

type [required]

\n
\n

enum

\n

Organizations resource type. \nAllowed enum values: orgs

default: orgs

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

other_orgs

\n
\n

object

\n

Relationship to organizations.

\n
\n
\n
\n
\n
\n

data [required]

\n
\n

[object]

\n

Relationships to organization objects.

\n
\n
\n
\n
\n
\n

id [required]

\n
\n

string

\n

ID of the organization.

\n
\n \n
\n
\n
\n
\n
\n

type [required]

\n
\n

enum

\n

Organizations resource type. \nAllowed enum values: orgs

default: orgs

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

other_users

\n
\n

object

\n

Relationship to users.

\n
\n
\n
\n
\n
\n

data [required]

\n
\n

[object]

\n

Relationships to user objects.

\n
\n
\n
\n
\n
\n

id [required]

\n
\n

string

\n

A unique identifier that represents the user.

\n
\n \n
\n
\n
\n
\n
\n

type [required]

\n
\n

enum

\n

Users resource type. \nAllowed enum values: users

default: users

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

roles

\n
\n

object

\n

Relationship to roles.

\n
\n
\n
\n
\n
\n

data

\n
\n

[object]

\n

An array containing type and the unique identifier of a role.

\n
\n
\n
\n
\n
\n

id

\n
\n

string

\n

The unique identifier of the role.

\n
\n \n
\n
\n
\n
\n
\n

type

\n
\n

enum

\n

Roles type. \nAllowed enum values: roles

default: roles

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n

type

\n
\n

enum

\n

Users resource type. \nAllowed enum values: users

default: users

\n
\n \n
\n
\n
\n
\n
\n
" + "html": "
\n
\n
\n
\n

data

\n
\n

[object]

\n

A list of monitor notification rules.

\n
\n
\n
\n
\n
\n

attributes

\n
\n

object

\n

Attributes of the monitor notification rule.

\n
\n
\n
\n
\n
\n

bundle_config

\n
\n

object

\n

Use bundle config to enable alert bundling to reduce monitor signal noises. Note: This feature is in preview and is subject to change.\nIf you have any feedback, contact Datadog support.

\n
\n
\n
\n
\n
\n

duration [required]

\n
\n

int32

\n

Duration of the bundling period.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

conditional_recipients

\n
\n

object

\n

Use conditional recipients to define different recipients for different situations. Cannot be used with recipients.

\n
\n
\n
\n
\n
\n

conditions [required]

\n
\n

[object]

\n

Conditions of the notification rule.

\n
\n
\n
\n
\n
\n

recipients [required]

\n
\n

[string]

\n

A list of recipients to notify. Uses the same format as the monitor message field. Must not start with an '@'.

\n
\n \n
\n
\n
\n
\n
\n

scope [required]

\n
\n

string

\n

Defines the condition under which the recipients are notified. Supported formats:

\n
    \n
  • Monitor status condition using transition_type:<status>, for example transition_type:is_alert.
  • \n
  • A single tag key:value pair, for example env:prod.
  • \n
\n
\n \n
\n
\n
\n
\n
\n
\n
\n

fallback_recipients

\n
\n

[string]

\n

If none of the conditions applied, fallback_recipients will get notified.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

created

\n
\n

date-time

\n

Creation time of the monitor notification rule.

\n
\n \n
\n
\n
\n
\n
\n

filter

\n
\n

 <oneOf>

\n

Specifies the matching criteria for monitor notifications.

\n
\n
\n
\n
\n
\n

Object 1

\n
\n

object

\n

Filters monitor notifications by a list of tag key:value pairs.

\n
\n
\n
\n
\n
\n

tags [required]

\n
\n

[string]

\n

A list of tag key:value pairs (e.g. team:product). All tags must match (AND semantics).

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

Object 2

\n
\n

object

\n

Filters monitor notifications using a scope expression over key:value pairs with boolean logic (AND, OR, NOT).

\n
\n
\n
\n
\n
\n

scope [required]

\n
\n

string

\n

A scope expression composed by key:value pairs (e.g. service:foo) with boolean operators (AND, OR, NOT) and parentheses for grouping.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

modified

\n
\n

date-time

\n

Time the monitor notification rule was last modified.

\n
\n \n
\n
\n
\n
\n
\n

name

\n
\n

string

\n

The name of the monitor notification rule.

\n
\n \n
\n
\n
\n
\n
\n

recipients

\n
\n

[string]

\n

A list of recipients to notify. Uses the same format as the monitor message field. Must not start with an '@'. Cannot be used with conditional_recipients.

\n
\n \n
\n
\n
\n
\n
\n

rule_options

\n
\n

object

\n

Additional options for the monitor notification rule.

\n
\n
\n
\n
\n
\n

is_threaded [required]

\n
\n

boolean

\n

Whether notifications from this rule are threaded. When true, follow-up notifications for the same monitor alert are posted in Slack as replies to the first notification.\nCannot be true when bundle_config is set.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

id

\n
\n

string

\n

The ID of the monitor notification rule.

\n
\n \n
\n
\n
\n
\n
\n

relationships

\n
\n

object

\n

All relationships associated with monitor notification rule.

\n
\n
\n
\n
\n
\n

created_by

\n
\n

object

\n

The user who created the monitor notification rule.

\n
\n
\n
\n
\n
\n

data

\n
\n

object

\n

Data for the user who created the monitor notification rule.

\n
\n
\n
\n
\n
\n

id

\n
\n

string

\n

User ID of the monitor notification rule creator.

\n
\n \n
\n
\n
\n
\n
\n

type

\n
\n

enum

\n

Users resource type. \nAllowed enum values: users

default: users

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n

type

\n
\n

enum

\n

Monitor notification rule resource type. \nAllowed enum values: monitor-notification-rule

default: monitor-notification-rule

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

included

\n
\n

[ <oneOf>]

\n

Array of objects related to the monitor notification rules.

\n
\n
\n
\n
\n
\n

<type=users>

\n
\n

object

\n

User object returned by the API.

\n
\n
\n
\n
\n
\n

attributes

\n
\n

object

\n

Attributes of user object returned by the API.

\n
\n
\n
\n
\n
\n

created_at

\n
\n

date-time

\n

The ISO 8601 timestamp of when the user account was created.

\n
\n \n
\n
\n
\n
\n
\n

disabled

\n
\n

boolean

\n

Whether the user account is deactivated. Disabled users cannot log in.

\n
\n \n
\n
\n
\n
\n
\n

email

\n
\n

string

\n

The email address of the user, used for login and notifications.

\n
\n \n
\n
\n
\n
\n
\n

handle

\n
\n

string

\n

The unique handle (username) of the user, typically matching their email prefix.

\n
\n \n
\n
\n
\n
\n
\n

icon

\n
\n

string

\n

URL of the user's profile icon, typically a Gravatar URL derived from the email address.

\n
\n \n
\n
\n
\n
\n
\n

last_login_time

\n
\n

date-time

\n

The ISO 8601 timestamp of the user's most recent login, or null if the user has never logged in.

\n
\n \n
\n
\n
\n
\n
\n

mfa_enabled

\n
\n

boolean

\n

Whether multi-factor authentication (MFA) is enabled for the user's account.

\n
\n \n
\n
\n
\n
\n
\n

modified_at

\n
\n

date-time

\n

The ISO 8601 timestamp of when the user account was last modified.

\n
\n \n
\n
\n
\n
\n
\n

name

\n
\n

string

\n

The full display name of the user as shown in the Datadog UI.

\n
\n \n
\n
\n
\n
\n
\n

service_account

\n
\n

boolean

\n

Whether this is a service account rather than a human user.\nService accounts are used for programmatic API access.

\n
\n \n
\n
\n
\n
\n
\n

status

\n
\n

string

\n

The current status of the user account (for example, Active, Pending, or Disabled).

\n
\n \n
\n
\n
\n
\n
\n

title

\n
\n

string

\n

The job title of the user (for example, "Senior Engineer" or "Product Manager").

\n
\n \n
\n
\n
\n
\n
\n

uuid

\n
\n

string

\n

The globally unique identifier (UUID) of the user.

\n
\n \n
\n
\n
\n
\n
\n

verified

\n
\n

boolean

\n

Whether the user's email address has been verified.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

id

\n
\n

string

\n

ID of the user.

\n
\n \n
\n
\n
\n
\n
\n

relationships

\n
\n

object

\n

Relationships of the user object returned by the API.

\n
\n
\n
\n
\n
\n

org

\n
\n

object

\n

Relationship to an organization.

\n
\n
\n
\n
\n
\n

data [required]

\n
\n

object

\n

Relationship to organization object.

\n
\n
\n
\n
\n
\n

id [required]

\n
\n

string

\n

ID of the organization.

\n
\n \n
\n
\n
\n
\n
\n

type [required]

\n
\n

enum

\n

Organizations resource type. \nAllowed enum values: orgs

default: orgs

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

other_orgs

\n
\n

object

\n

Relationship to organizations.

\n
\n
\n
\n
\n
\n

data [required]

\n
\n

[object]

\n

Relationships to organization objects.

\n
\n
\n
\n
\n
\n

id [required]

\n
\n

string

\n

ID of the organization.

\n
\n \n
\n
\n
\n
\n
\n

type [required]

\n
\n

enum

\n

Organizations resource type. \nAllowed enum values: orgs

default: orgs

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

other_users

\n
\n

object

\n

Relationship to users.

\n
\n
\n
\n
\n
\n

data [required]

\n
\n

[object]

\n

Relationships to user objects.

\n
\n
\n
\n
\n
\n

id [required]

\n
\n

string

\n

A unique identifier that represents the user.

\n
\n \n
\n
\n
\n
\n
\n

type [required]

\n
\n

enum

\n

Users resource type. \nAllowed enum values: users

default: users

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

roles

\n
\n

object

\n

Relationship to roles.

\n
\n
\n
\n
\n
\n

data

\n
\n

[object]

\n

An array containing type and the unique identifier of a role.

\n
\n
\n
\n
\n
\n

id

\n
\n

string

\n

The unique identifier of the role.

\n
\n \n
\n
\n
\n
\n
\n

type

\n
\n

enum

\n

Roles type. \nAllowed enum values: roles

default: roles

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n

type

\n
\n

enum

\n

Users resource type. \nAllowed enum values: users

default: users

\n
\n \n
\n
\n
\n
\n
\n
" }, "403": { "json": { @@ -166,7 +169,10 @@ "recipients": [ "slack-test-channel", "jira-test" - ] + ], + "rule_options": { + "is_threaded": true + } }, "id": "00000000-0000-1234-0000-000000000000", "relationships": { @@ -234,7 +240,7 @@ } ] }, - "html": "
\n
\n
\n
\n

data

\n
\n

object

\n

Monitor notification rule data.

\n
\n
\n
\n
\n
\n

attributes

\n
\n

object

\n

Attributes of the monitor notification rule.

\n
\n
\n
\n
\n
\n

bundle_config

\n
\n

object

\n

Use bundle config to enable alert bundling to reduce monitor signal noises. Note: This feature is in preview and is subject to change.\nIf you have any feedback, contact Datadog support.

\n
\n
\n
\n
\n
\n

duration [required]

\n
\n

int32

\n

Duration of the bundling period.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

conditional_recipients

\n
\n

object

\n

Use conditional recipients to define different recipients for different situations. Cannot be used with recipients.

\n
\n
\n
\n
\n
\n

conditions [required]

\n
\n

[object]

\n

Conditions of the notification rule.

\n
\n
\n
\n
\n
\n

recipients [required]

\n
\n

[string]

\n

A list of recipients to notify. Uses the same format as the monitor message field. Must not start with an '@'.

\n
\n \n
\n
\n
\n
\n
\n

scope [required]

\n
\n

string

\n

Defines the condition under which the recipients are notified. Supported formats:

\n
    \n
  • Monitor status condition using transition_type:<status>, for example transition_type:is_alert.
  • \n
  • A single tag key:value pair, for example env:prod.
  • \n
\n
\n \n
\n
\n
\n
\n
\n
\n
\n

fallback_recipients

\n
\n

[string]

\n

If none of the conditions applied, fallback_recipients will get notified.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

created

\n
\n

date-time

\n

Creation time of the monitor notification rule.

\n
\n \n
\n
\n
\n
\n
\n

filter

\n
\n

 <oneOf>

\n

Specifies the matching criteria for monitor notifications.

\n
\n
\n
\n
\n
\n

Object 1

\n
\n

object

\n

Filters monitor notifications by a list of tag key:value pairs.

\n
\n
\n
\n
\n
\n

tags [required]

\n
\n

[string]

\n

A list of tag key:value pairs (e.g. team:product). All tags must match (AND semantics).

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

Object 2

\n
\n

object

\n

Filters monitor notifications using a scope expression over key:value pairs with boolean logic (AND, OR, NOT).

\n
\n
\n
\n
\n
\n

scope [required]

\n
\n

string

\n

A scope expression composed by key:value pairs (e.g. service:foo) with boolean operators (AND, OR, NOT) and parentheses for grouping.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

modified

\n
\n

date-time

\n

Time the monitor notification rule was last modified.

\n
\n \n
\n
\n
\n
\n
\n

name

\n
\n

string

\n

The name of the monitor notification rule.

\n
\n \n
\n
\n
\n
\n
\n

recipients

\n
\n

[string]

\n

A list of recipients to notify. Uses the same format as the monitor message field. Must not start with an '@'. Cannot be used with conditional_recipients.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

id

\n
\n

string

\n

The ID of the monitor notification rule.

\n
\n \n
\n
\n
\n
\n
\n

relationships

\n
\n

object

\n

All relationships associated with monitor notification rule.

\n
\n
\n
\n
\n
\n

created_by

\n
\n

object

\n

The user who created the monitor notification rule.

\n
\n
\n
\n
\n
\n

data

\n
\n

object

\n

Data for the user who created the monitor notification rule.

\n
\n
\n
\n
\n
\n

id

\n
\n

string

\n

User ID of the monitor notification rule creator.

\n
\n \n
\n
\n
\n
\n
\n

type

\n
\n

enum

\n

Users resource type. \nAllowed enum values: users

default: users

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n

type

\n
\n

enum

\n

Monitor notification rule resource type. \nAllowed enum values: monitor-notification-rule

default: monitor-notification-rule

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

included

\n
\n

[ <oneOf>]

\n

Array of objects related to the monitor notification rule that the user requested.

\n
\n
\n
\n
\n
\n

<type=users>

\n
\n

object

\n

User object returned by the API.

\n
\n
\n
\n
\n
\n

attributes

\n
\n

object

\n

Attributes of user object returned by the API.

\n
\n
\n
\n
\n
\n

created_at

\n
\n

date-time

\n

The ISO 8601 timestamp of when the user account was created.

\n
\n \n
\n
\n
\n
\n
\n

disabled

\n
\n

boolean

\n

Whether the user account is deactivated. Disabled users cannot log in.

\n
\n \n
\n
\n
\n
\n
\n

email

\n
\n

string

\n

The email address of the user, used for login and notifications.

\n
\n \n
\n
\n
\n
\n
\n

handle

\n
\n

string

\n

The unique handle (username) of the user, typically matching their email prefix.

\n
\n \n
\n
\n
\n
\n
\n

icon

\n
\n

string

\n

URL of the user's profile icon, typically a Gravatar URL derived from the email address.

\n
\n \n
\n
\n
\n
\n
\n

last_login_time

\n
\n

date-time

\n

The ISO 8601 timestamp of the user's most recent login, or null if the user has never logged in.

\n
\n \n
\n
\n
\n
\n
\n

mfa_enabled

\n
\n

boolean

\n

Whether multi-factor authentication (MFA) is enabled for the user's account.

\n
\n \n
\n
\n
\n
\n
\n

modified_at

\n
\n

date-time

\n

The ISO 8601 timestamp of when the user account was last modified.

\n
\n \n
\n
\n
\n
\n
\n

name

\n
\n

string

\n

The full display name of the user as shown in the Datadog UI.

\n
\n \n
\n
\n
\n
\n
\n

service_account

\n
\n

boolean

\n

Whether this is a service account rather than a human user.\nService accounts are used for programmatic API access.

\n
\n \n
\n
\n
\n
\n
\n

status

\n
\n

string

\n

The current status of the user account (for example, Active, Pending, or Disabled).

\n
\n \n
\n
\n
\n
\n
\n

title

\n
\n

string

\n

The job title of the user (for example, "Senior Engineer" or "Product Manager").

\n
\n \n
\n
\n
\n
\n
\n

uuid

\n
\n

string

\n

The globally unique identifier (UUID) of the user.

\n
\n \n
\n
\n
\n
\n
\n

verified

\n
\n

boolean

\n

Whether the user's email address has been verified.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

id

\n
\n

string

\n

ID of the user.

\n
\n \n
\n
\n
\n
\n
\n

relationships

\n
\n

object

\n

Relationships of the user object returned by the API.

\n
\n
\n
\n
\n
\n

org

\n
\n

object

\n

Relationship to an organization.

\n
\n
\n
\n
\n
\n

data [required]

\n
\n

object

\n

Relationship to organization object.

\n
\n
\n
\n
\n
\n

id [required]

\n
\n

string

\n

ID of the organization.

\n
\n \n
\n
\n
\n
\n
\n

type [required]

\n
\n

enum

\n

Organizations resource type. \nAllowed enum values: orgs

default: orgs

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

other_orgs

\n
\n

object

\n

Relationship to organizations.

\n
\n
\n
\n
\n
\n

data [required]

\n
\n

[object]

\n

Relationships to organization objects.

\n
\n
\n
\n
\n
\n

id [required]

\n
\n

string

\n

ID of the organization.

\n
\n \n
\n
\n
\n
\n
\n

type [required]

\n
\n

enum

\n

Organizations resource type. \nAllowed enum values: orgs

default: orgs

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

other_users

\n
\n

object

\n

Relationship to users.

\n
\n
\n
\n
\n
\n

data [required]

\n
\n

[object]

\n

Relationships to user objects.

\n
\n
\n
\n
\n
\n

id [required]

\n
\n

string

\n

A unique identifier that represents the user.

\n
\n \n
\n
\n
\n
\n
\n

type [required]

\n
\n

enum

\n

Users resource type. \nAllowed enum values: users

default: users

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

roles

\n
\n

object

\n

Relationship to roles.

\n
\n
\n
\n
\n
\n

data

\n
\n

[object]

\n

An array containing type and the unique identifier of a role.

\n
\n
\n
\n
\n
\n

id

\n
\n

string

\n

The unique identifier of the role.

\n
\n \n
\n
\n
\n
\n
\n

type

\n
\n

enum

\n

Roles type. \nAllowed enum values: roles

default: roles

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n

type

\n
\n

enum

\n

Users resource type. \nAllowed enum values: users

default: users

\n
\n \n
\n
\n
\n
\n
\n
" + "html": "
\n
\n
\n
\n

data

\n
\n

object

\n

Monitor notification rule data.

\n
\n
\n
\n
\n
\n

attributes

\n
\n

object

\n

Attributes of the monitor notification rule.

\n
\n
\n
\n
\n
\n

bundle_config

\n
\n

object

\n

Use bundle config to enable alert bundling to reduce monitor signal noises. Note: This feature is in preview and is subject to change.\nIf you have any feedback, contact Datadog support.

\n
\n
\n
\n
\n
\n

duration [required]

\n
\n

int32

\n

Duration of the bundling period.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

conditional_recipients

\n
\n

object

\n

Use conditional recipients to define different recipients for different situations. Cannot be used with recipients.

\n
\n
\n
\n
\n
\n

conditions [required]

\n
\n

[object]

\n

Conditions of the notification rule.

\n
\n
\n
\n
\n
\n

recipients [required]

\n
\n

[string]

\n

A list of recipients to notify. Uses the same format as the monitor message field. Must not start with an '@'.

\n
\n \n
\n
\n
\n
\n
\n

scope [required]

\n
\n

string

\n

Defines the condition under which the recipients are notified. Supported formats:

\n
    \n
  • Monitor status condition using transition_type:<status>, for example transition_type:is_alert.
  • \n
  • A single tag key:value pair, for example env:prod.
  • \n
\n
\n \n
\n
\n
\n
\n
\n
\n
\n

fallback_recipients

\n
\n

[string]

\n

If none of the conditions applied, fallback_recipients will get notified.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

created

\n
\n

date-time

\n

Creation time of the monitor notification rule.

\n
\n \n
\n
\n
\n
\n
\n

filter

\n
\n

 <oneOf>

\n

Specifies the matching criteria for monitor notifications.

\n
\n
\n
\n
\n
\n

Object 1

\n
\n

object

\n

Filters monitor notifications by a list of tag key:value pairs.

\n
\n
\n
\n
\n
\n

tags [required]

\n
\n

[string]

\n

A list of tag key:value pairs (e.g. team:product). All tags must match (AND semantics).

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

Object 2

\n
\n

object

\n

Filters monitor notifications using a scope expression over key:value pairs with boolean logic (AND, OR, NOT).

\n
\n
\n
\n
\n
\n

scope [required]

\n
\n

string

\n

A scope expression composed by key:value pairs (e.g. service:foo) with boolean operators (AND, OR, NOT) and parentheses for grouping.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

modified

\n
\n

date-time

\n

Time the monitor notification rule was last modified.

\n
\n \n
\n
\n
\n
\n
\n

name

\n
\n

string

\n

The name of the monitor notification rule.

\n
\n \n
\n
\n
\n
\n
\n

recipients

\n
\n

[string]

\n

A list of recipients to notify. Uses the same format as the monitor message field. Must not start with an '@'. Cannot be used with conditional_recipients.

\n
\n \n
\n
\n
\n
\n
\n

rule_options

\n
\n

object

\n

Additional options for the monitor notification rule.

\n
\n
\n
\n
\n
\n

is_threaded [required]

\n
\n

boolean

\n

Whether notifications from this rule are threaded. When true, follow-up notifications for the same monitor alert are posted in Slack as replies to the first notification.\nCannot be true when bundle_config is set.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

id

\n
\n

string

\n

The ID of the monitor notification rule.

\n
\n \n
\n
\n
\n
\n
\n

relationships

\n
\n

object

\n

All relationships associated with monitor notification rule.

\n
\n
\n
\n
\n
\n

created_by

\n
\n

object

\n

The user who created the monitor notification rule.

\n
\n
\n
\n
\n
\n

data

\n
\n

object

\n

Data for the user who created the monitor notification rule.

\n
\n
\n
\n
\n
\n

id

\n
\n

string

\n

User ID of the monitor notification rule creator.

\n
\n \n
\n
\n
\n
\n
\n

type

\n
\n

enum

\n

Users resource type. \nAllowed enum values: users

default: users

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n

type

\n
\n

enum

\n

Monitor notification rule resource type. \nAllowed enum values: monitor-notification-rule

default: monitor-notification-rule

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

included

\n
\n

[ <oneOf>]

\n

Array of objects related to the monitor notification rule that the user requested.

\n
\n
\n
\n
\n
\n

<type=users>

\n
\n

object

\n

User object returned by the API.

\n
\n
\n
\n
\n
\n

attributes

\n
\n

object

\n

Attributes of user object returned by the API.

\n
\n
\n
\n
\n
\n

created_at

\n
\n

date-time

\n

The ISO 8601 timestamp of when the user account was created.

\n
\n \n
\n
\n
\n
\n
\n

disabled

\n
\n

boolean

\n

Whether the user account is deactivated. Disabled users cannot log in.

\n
\n \n
\n
\n
\n
\n
\n

email

\n
\n

string

\n

The email address of the user, used for login and notifications.

\n
\n \n
\n
\n
\n
\n
\n

handle

\n
\n

string

\n

The unique handle (username) of the user, typically matching their email prefix.

\n
\n \n
\n
\n
\n
\n
\n

icon

\n
\n

string

\n

URL of the user's profile icon, typically a Gravatar URL derived from the email address.

\n
\n \n
\n
\n
\n
\n
\n

last_login_time

\n
\n

date-time

\n

The ISO 8601 timestamp of the user's most recent login, or null if the user has never logged in.

\n
\n \n
\n
\n
\n
\n
\n

mfa_enabled

\n
\n

boolean

\n

Whether multi-factor authentication (MFA) is enabled for the user's account.

\n
\n \n
\n
\n
\n
\n
\n

modified_at

\n
\n

date-time

\n

The ISO 8601 timestamp of when the user account was last modified.

\n
\n \n
\n
\n
\n
\n
\n

name

\n
\n

string

\n

The full display name of the user as shown in the Datadog UI.

\n
\n \n
\n
\n
\n
\n
\n

service_account

\n
\n

boolean

\n

Whether this is a service account rather than a human user.\nService accounts are used for programmatic API access.

\n
\n \n
\n
\n
\n
\n
\n

status

\n
\n

string

\n

The current status of the user account (for example, Active, Pending, or Disabled).

\n
\n \n
\n
\n
\n
\n
\n

title

\n
\n

string

\n

The job title of the user (for example, "Senior Engineer" or "Product Manager").

\n
\n \n
\n
\n
\n
\n
\n

uuid

\n
\n

string

\n

The globally unique identifier (UUID) of the user.

\n
\n \n
\n
\n
\n
\n
\n

verified

\n
\n

boolean

\n

Whether the user's email address has been verified.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

id

\n
\n

string

\n

ID of the user.

\n
\n \n
\n
\n
\n
\n
\n

relationships

\n
\n

object

\n

Relationships of the user object returned by the API.

\n
\n
\n
\n
\n
\n

org

\n
\n

object

\n

Relationship to an organization.

\n
\n
\n
\n
\n
\n

data [required]

\n
\n

object

\n

Relationship to organization object.

\n
\n
\n
\n
\n
\n

id [required]

\n
\n

string

\n

ID of the organization.

\n
\n \n
\n
\n
\n
\n
\n

type [required]

\n
\n

enum

\n

Organizations resource type. \nAllowed enum values: orgs

default: orgs

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

other_orgs

\n
\n

object

\n

Relationship to organizations.

\n
\n
\n
\n
\n
\n

data [required]

\n
\n

[object]

\n

Relationships to organization objects.

\n
\n
\n
\n
\n
\n

id [required]

\n
\n

string

\n

ID of the organization.

\n
\n \n
\n
\n
\n
\n
\n

type [required]

\n
\n

enum

\n

Organizations resource type. \nAllowed enum values: orgs

default: orgs

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

other_users

\n
\n

object

\n

Relationship to users.

\n
\n
\n
\n
\n
\n

data [required]

\n
\n

[object]

\n

Relationships to user objects.

\n
\n
\n
\n
\n
\n

id [required]

\n
\n

string

\n

A unique identifier that represents the user.

\n
\n \n
\n
\n
\n
\n
\n

type [required]

\n
\n

enum

\n

Users resource type. \nAllowed enum values: users

default: users

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

roles

\n
\n

object

\n

Relationship to roles.

\n
\n
\n
\n
\n
\n

data

\n
\n

[object]

\n

An array containing type and the unique identifier of a role.

\n
\n
\n
\n
\n
\n

id

\n
\n

string

\n

The unique identifier of the role.

\n
\n \n
\n
\n
\n
\n
\n

type

\n
\n

enum

\n

Roles type. \nAllowed enum values: roles

default: roles

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n

type

\n
\n

enum

\n

Users resource type. \nAllowed enum values: users

default: users

\n
\n \n
\n
\n
\n
\n
\n
" }, "400": { "json": { @@ -279,7 +285,10 @@ } ] }, - "name": "A notification rule name" + "name": "A notification rule name", + "rule_options": { + "is_threaded": true + } } } }, @@ -314,12 +323,15 @@ "recipients": [ "slack-test-channel", "jira-test" - ] + ], + "rule_options": { + "is_threaded": true + } }, "type": "monitor-notification-rule" } }, - "html": "
\n
\n
\n
\n

data [required]

\n
\n

object

\n

Object to create a monitor notification rule.

\n
\n
\n
\n
\n
\n

attributes [required]

\n
\n

object

\n

Attributes of the monitor notification rule.

\n
\n
\n
\n
\n
\n

bundle_config

\n
\n

object

\n

Use bundle config to enable alert bundling to reduce monitor signal noises. Note: This feature is in preview and is subject to change.\nIf you have any feedback, contact Datadog support.

\n
\n
\n
\n
\n
\n

duration [required]

\n
\n

int32

\n

Duration of the bundling period.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

conditional_recipients

\n
\n

object

\n

Use conditional recipients to define different recipients for different situations. Cannot be used with recipients.

\n
\n
\n
\n
\n
\n

conditions [required]

\n
\n

[object]

\n

Conditions of the notification rule.

\n
\n
\n
\n
\n
\n

recipients [required]

\n
\n

[string]

\n

A list of recipients to notify. Uses the same format as the monitor message field. Must not start with an '@'.

\n
\n \n
\n
\n
\n
\n
\n

scope [required]

\n
\n

string

\n

Defines the condition under which the recipients are notified. Supported formats:

\n
    \n
  • Monitor status condition using transition_type:<status>, for example transition_type:is_alert.
  • \n
  • A single tag key:value pair, for example env:prod.
  • \n
\n
\n \n
\n
\n
\n
\n
\n
\n
\n

fallback_recipients

\n
\n

[string]

\n

If none of the conditions applied, fallback_recipients will get notified.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

filter

\n
\n

 <oneOf>

\n

Specifies the matching criteria for monitor notifications.

\n
\n
\n
\n
\n
\n

Object 1

\n
\n

object

\n

Filters monitor notifications by a list of tag key:value pairs.

\n
\n
\n
\n
\n
\n

tags [required]

\n
\n

[string]

\n

A list of tag key:value pairs (e.g. team:product). All tags must match (AND semantics).

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

Object 2

\n
\n

object

\n

Filters monitor notifications using a scope expression over key:value pairs with boolean logic (AND, OR, NOT).

\n
\n
\n
\n
\n
\n

scope [required]

\n
\n

string

\n

A scope expression composed by key:value pairs (e.g. service:foo) with boolean operators (AND, OR, NOT) and parentheses for grouping.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

name [required]

\n
\n

string

\n

The name of the monitor notification rule.

\n
\n \n
\n
\n
\n
\n
\n

recipients

\n
\n

[string]

\n

A list of recipients to notify. Uses the same format as the monitor message field. Must not start with an '@'. Cannot be used with conditional_recipients.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

type

\n
\n

enum

\n

Monitor notification rule resource type. \nAllowed enum values: monitor-notification-rule

default: monitor-notification-rule

\n
\n \n
\n
\n
\n
" + "html": "
\n
\n
\n
\n

data [required]

\n
\n

object

\n

Object to create a monitor notification rule.

\n
\n
\n
\n
\n
\n

attributes [required]

\n
\n

object

\n

Attributes of the monitor notification rule.

\n
\n
\n
\n
\n
\n

bundle_config

\n
\n

object

\n

Use bundle config to enable alert bundling to reduce monitor signal noises. Note: This feature is in preview and is subject to change.\nIf you have any feedback, contact Datadog support.

\n
\n
\n
\n
\n
\n

duration [required]

\n
\n

int32

\n

Duration of the bundling period.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

conditional_recipients

\n
\n

object

\n

Use conditional recipients to define different recipients for different situations. Cannot be used with recipients.

\n
\n
\n
\n
\n
\n

conditions [required]

\n
\n

[object]

\n

Conditions of the notification rule.

\n
\n
\n
\n
\n
\n

recipients [required]

\n
\n

[string]

\n

A list of recipients to notify. Uses the same format as the monitor message field. Must not start with an '@'.

\n
\n \n
\n
\n
\n
\n
\n

scope [required]

\n
\n

string

\n

Defines the condition under which the recipients are notified. Supported formats:

\n
    \n
  • Monitor status condition using transition_type:<status>, for example transition_type:is_alert.
  • \n
  • A single tag key:value pair, for example env:prod.
  • \n
\n
\n \n
\n
\n
\n
\n
\n
\n
\n

fallback_recipients

\n
\n

[string]

\n

If none of the conditions applied, fallback_recipients will get notified.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

filter

\n
\n

 <oneOf>

\n

Specifies the matching criteria for monitor notifications.

\n
\n
\n
\n
\n
\n

Object 1

\n
\n

object

\n

Filters monitor notifications by a list of tag key:value pairs.

\n
\n
\n
\n
\n
\n

tags [required]

\n
\n

[string]

\n

A list of tag key:value pairs (e.g. team:product). All tags must match (AND semantics).

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

Object 2

\n
\n

object

\n

Filters monitor notifications using a scope expression over key:value pairs with boolean logic (AND, OR, NOT).

\n
\n
\n
\n
\n
\n

scope [required]

\n
\n

string

\n

A scope expression composed by key:value pairs (e.g. service:foo) with boolean operators (AND, OR, NOT) and parentheses for grouping.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

name [required]

\n
\n

string

\n

The name of the monitor notification rule.

\n
\n \n
\n
\n
\n
\n
\n

recipients

\n
\n

[string]

\n

A list of recipients to notify. Uses the same format as the monitor message field. Must not start with an '@'. Cannot be used with conditional_recipients.

\n
\n \n
\n
\n
\n
\n
\n

rule_options

\n
\n

object

\n

Additional options for the monitor notification rule.

\n
\n
\n
\n
\n
\n

is_threaded [required]

\n
\n

boolean

\n

Whether notifications from this rule are threaded. When true, follow-up notifications for the same monitor alert are posted in Slack as replies to the first notification.\nCannot be true when bundle_config is set.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

type

\n
\n

enum

\n

Monitor notification rule resource type. \nAllowed enum values: monitor-notification-rule

default: monitor-notification-rule

\n
\n \n
\n
\n
\n
" } }, "DeleteMonitorNotificationRule": { @@ -391,7 +403,10 @@ "recipients": [ "slack-test-channel", "jira-test" - ] + ], + "rule_options": { + "is_threaded": true + } }, "id": "00000000-0000-1234-0000-000000000000", "relationships": { @@ -459,7 +474,7 @@ } ] }, - "html": "
\n
\n
\n
\n

data

\n
\n

object

\n

Monitor notification rule data.

\n
\n
\n
\n
\n
\n

attributes

\n
\n

object

\n

Attributes of the monitor notification rule.

\n
\n
\n
\n
\n
\n

bundle_config

\n
\n

object

\n

Use bundle config to enable alert bundling to reduce monitor signal noises. Note: This feature is in preview and is subject to change.\nIf you have any feedback, contact Datadog support.

\n
\n
\n
\n
\n
\n

duration [required]

\n
\n

int32

\n

Duration of the bundling period.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

conditional_recipients

\n
\n

object

\n

Use conditional recipients to define different recipients for different situations. Cannot be used with recipients.

\n
\n
\n
\n
\n
\n

conditions [required]

\n
\n

[object]

\n

Conditions of the notification rule.

\n
\n
\n
\n
\n
\n

recipients [required]

\n
\n

[string]

\n

A list of recipients to notify. Uses the same format as the monitor message field. Must not start with an '@'.

\n
\n \n
\n
\n
\n
\n
\n

scope [required]

\n
\n

string

\n

Defines the condition under which the recipients are notified. Supported formats:

\n
    \n
  • Monitor status condition using transition_type:<status>, for example transition_type:is_alert.
  • \n
  • A single tag key:value pair, for example env:prod.
  • \n
\n
\n \n
\n
\n
\n
\n
\n
\n
\n

fallback_recipients

\n
\n

[string]

\n

If none of the conditions applied, fallback_recipients will get notified.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

created

\n
\n

date-time

\n

Creation time of the monitor notification rule.

\n
\n \n
\n
\n
\n
\n
\n

filter

\n
\n

 <oneOf>

\n

Specifies the matching criteria for monitor notifications.

\n
\n
\n
\n
\n
\n

Object 1

\n
\n

object

\n

Filters monitor notifications by a list of tag key:value pairs.

\n
\n
\n
\n
\n
\n

tags [required]

\n
\n

[string]

\n

A list of tag key:value pairs (e.g. team:product). All tags must match (AND semantics).

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

Object 2

\n
\n

object

\n

Filters monitor notifications using a scope expression over key:value pairs with boolean logic (AND, OR, NOT).

\n
\n
\n
\n
\n
\n

scope [required]

\n
\n

string

\n

A scope expression composed by key:value pairs (e.g. service:foo) with boolean operators (AND, OR, NOT) and parentheses for grouping.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

modified

\n
\n

date-time

\n

Time the monitor notification rule was last modified.

\n
\n \n
\n
\n
\n
\n
\n

name

\n
\n

string

\n

The name of the monitor notification rule.

\n
\n \n
\n
\n
\n
\n
\n

recipients

\n
\n

[string]

\n

A list of recipients to notify. Uses the same format as the monitor message field. Must not start with an '@'. Cannot be used with conditional_recipients.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

id

\n
\n

string

\n

The ID of the monitor notification rule.

\n
\n \n
\n
\n
\n
\n
\n

relationships

\n
\n

object

\n

All relationships associated with monitor notification rule.

\n
\n
\n
\n
\n
\n

created_by

\n
\n

object

\n

The user who created the monitor notification rule.

\n
\n
\n
\n
\n
\n

data

\n
\n

object

\n

Data for the user who created the monitor notification rule.

\n
\n
\n
\n
\n
\n

id

\n
\n

string

\n

User ID of the monitor notification rule creator.

\n
\n \n
\n
\n
\n
\n
\n

type

\n
\n

enum

\n

Users resource type. \nAllowed enum values: users

default: users

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n

type

\n
\n

enum

\n

Monitor notification rule resource type. \nAllowed enum values: monitor-notification-rule

default: monitor-notification-rule

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

included

\n
\n

[ <oneOf>]

\n

Array of objects related to the monitor notification rule that the user requested.

\n
\n
\n
\n
\n
\n

<type=users>

\n
\n

object

\n

User object returned by the API.

\n
\n
\n
\n
\n
\n

attributes

\n
\n

object

\n

Attributes of user object returned by the API.

\n
\n
\n
\n
\n
\n

created_at

\n
\n

date-time

\n

The ISO 8601 timestamp of when the user account was created.

\n
\n \n
\n
\n
\n
\n
\n

disabled

\n
\n

boolean

\n

Whether the user account is deactivated. Disabled users cannot log in.

\n
\n \n
\n
\n
\n
\n
\n

email

\n
\n

string

\n

The email address of the user, used for login and notifications.

\n
\n \n
\n
\n
\n
\n
\n

handle

\n
\n

string

\n

The unique handle (username) of the user, typically matching their email prefix.

\n
\n \n
\n
\n
\n
\n
\n

icon

\n
\n

string

\n

URL of the user's profile icon, typically a Gravatar URL derived from the email address.

\n
\n \n
\n
\n
\n
\n
\n

last_login_time

\n
\n

date-time

\n

The ISO 8601 timestamp of the user's most recent login, or null if the user has never logged in.

\n
\n \n
\n
\n
\n
\n
\n

mfa_enabled

\n
\n

boolean

\n

Whether multi-factor authentication (MFA) is enabled for the user's account.

\n
\n \n
\n
\n
\n
\n
\n

modified_at

\n
\n

date-time

\n

The ISO 8601 timestamp of when the user account was last modified.

\n
\n \n
\n
\n
\n
\n
\n

name

\n
\n

string

\n

The full display name of the user as shown in the Datadog UI.

\n
\n \n
\n
\n
\n
\n
\n

service_account

\n
\n

boolean

\n

Whether this is a service account rather than a human user.\nService accounts are used for programmatic API access.

\n
\n \n
\n
\n
\n
\n
\n

status

\n
\n

string

\n

The current status of the user account (for example, Active, Pending, or Disabled).

\n
\n \n
\n
\n
\n
\n
\n

title

\n
\n

string

\n

The job title of the user (for example, "Senior Engineer" or "Product Manager").

\n
\n \n
\n
\n
\n
\n
\n

uuid

\n
\n

string

\n

The globally unique identifier (UUID) of the user.

\n
\n \n
\n
\n
\n
\n
\n

verified

\n
\n

boolean

\n

Whether the user's email address has been verified.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

id

\n
\n

string

\n

ID of the user.

\n
\n \n
\n
\n
\n
\n
\n

relationships

\n
\n

object

\n

Relationships of the user object returned by the API.

\n
\n
\n
\n
\n
\n

org

\n
\n

object

\n

Relationship to an organization.

\n
\n
\n
\n
\n
\n

data [required]

\n
\n

object

\n

Relationship to organization object.

\n
\n
\n
\n
\n
\n

id [required]

\n
\n

string

\n

ID of the organization.

\n
\n \n
\n
\n
\n
\n
\n

type [required]

\n
\n

enum

\n

Organizations resource type. \nAllowed enum values: orgs

default: orgs

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

other_orgs

\n
\n

object

\n

Relationship to organizations.

\n
\n
\n
\n
\n
\n

data [required]

\n
\n

[object]

\n

Relationships to organization objects.

\n
\n
\n
\n
\n
\n

id [required]

\n
\n

string

\n

ID of the organization.

\n
\n \n
\n
\n
\n
\n
\n

type [required]

\n
\n

enum

\n

Organizations resource type. \nAllowed enum values: orgs

default: orgs

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

other_users

\n
\n

object

\n

Relationship to users.

\n
\n
\n
\n
\n
\n

data [required]

\n
\n

[object]

\n

Relationships to user objects.

\n
\n
\n
\n
\n
\n

id [required]

\n
\n

string

\n

A unique identifier that represents the user.

\n
\n \n
\n
\n
\n
\n
\n

type [required]

\n
\n

enum

\n

Users resource type. \nAllowed enum values: users

default: users

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

roles

\n
\n

object

\n

Relationship to roles.

\n
\n
\n
\n
\n
\n

data

\n
\n

[object]

\n

An array containing type and the unique identifier of a role.

\n
\n
\n
\n
\n
\n

id

\n
\n

string

\n

The unique identifier of the role.

\n
\n \n
\n
\n
\n
\n
\n

type

\n
\n

enum

\n

Roles type. \nAllowed enum values: roles

default: roles

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n

type

\n
\n

enum

\n

Users resource type. \nAllowed enum values: users

default: users

\n
\n \n
\n
\n
\n
\n
\n
" + "html": "
\n
\n
\n
\n

data

\n
\n

object

\n

Monitor notification rule data.

\n
\n
\n
\n
\n
\n

attributes

\n
\n

object

\n

Attributes of the monitor notification rule.

\n
\n
\n
\n
\n
\n

bundle_config

\n
\n

object

\n

Use bundle config to enable alert bundling to reduce monitor signal noises. Note: This feature is in preview and is subject to change.\nIf you have any feedback, contact Datadog support.

\n
\n
\n
\n
\n
\n

duration [required]

\n
\n

int32

\n

Duration of the bundling period.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

conditional_recipients

\n
\n

object

\n

Use conditional recipients to define different recipients for different situations. Cannot be used with recipients.

\n
\n
\n
\n
\n
\n

conditions [required]

\n
\n

[object]

\n

Conditions of the notification rule.

\n
\n
\n
\n
\n
\n

recipients [required]

\n
\n

[string]

\n

A list of recipients to notify. Uses the same format as the monitor message field. Must not start with an '@'.

\n
\n \n
\n
\n
\n
\n
\n

scope [required]

\n
\n

string

\n

Defines the condition under which the recipients are notified. Supported formats:

\n
    \n
  • Monitor status condition using transition_type:<status>, for example transition_type:is_alert.
  • \n
  • A single tag key:value pair, for example env:prod.
  • \n
\n
\n \n
\n
\n
\n
\n
\n
\n
\n

fallback_recipients

\n
\n

[string]

\n

If none of the conditions applied, fallback_recipients will get notified.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

created

\n
\n

date-time

\n

Creation time of the monitor notification rule.

\n
\n \n
\n
\n
\n
\n
\n

filter

\n
\n

 <oneOf>

\n

Specifies the matching criteria for monitor notifications.

\n
\n
\n
\n
\n
\n

Object 1

\n
\n

object

\n

Filters monitor notifications by a list of tag key:value pairs.

\n
\n
\n
\n
\n
\n

tags [required]

\n
\n

[string]

\n

A list of tag key:value pairs (e.g. team:product). All tags must match (AND semantics).

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

Object 2

\n
\n

object

\n

Filters monitor notifications using a scope expression over key:value pairs with boolean logic (AND, OR, NOT).

\n
\n
\n
\n
\n
\n

scope [required]

\n
\n

string

\n

A scope expression composed by key:value pairs (e.g. service:foo) with boolean operators (AND, OR, NOT) and parentheses for grouping.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

modified

\n
\n

date-time

\n

Time the monitor notification rule was last modified.

\n
\n \n
\n
\n
\n
\n
\n

name

\n
\n

string

\n

The name of the monitor notification rule.

\n
\n \n
\n
\n
\n
\n
\n

recipients

\n
\n

[string]

\n

A list of recipients to notify. Uses the same format as the monitor message field. Must not start with an '@'. Cannot be used with conditional_recipients.

\n
\n \n
\n
\n
\n
\n
\n

rule_options

\n
\n

object

\n

Additional options for the monitor notification rule.

\n
\n
\n
\n
\n
\n

is_threaded [required]

\n
\n

boolean

\n

Whether notifications from this rule are threaded. When true, follow-up notifications for the same monitor alert are posted in Slack as replies to the first notification.\nCannot be true when bundle_config is set.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

id

\n
\n

string

\n

The ID of the monitor notification rule.

\n
\n \n
\n
\n
\n
\n
\n

relationships

\n
\n

object

\n

All relationships associated with monitor notification rule.

\n
\n
\n
\n
\n
\n

created_by

\n
\n

object

\n

The user who created the monitor notification rule.

\n
\n
\n
\n
\n
\n

data

\n
\n

object

\n

Data for the user who created the monitor notification rule.

\n
\n
\n
\n
\n
\n

id

\n
\n

string

\n

User ID of the monitor notification rule creator.

\n
\n \n
\n
\n
\n
\n
\n

type

\n
\n

enum

\n

Users resource type. \nAllowed enum values: users

default: users

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n

type

\n
\n

enum

\n

Monitor notification rule resource type. \nAllowed enum values: monitor-notification-rule

default: monitor-notification-rule

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

included

\n
\n

[ <oneOf>]

\n

Array of objects related to the monitor notification rule that the user requested.

\n
\n
\n
\n
\n
\n

<type=users>

\n
\n

object

\n

User object returned by the API.

\n
\n
\n
\n
\n
\n

attributes

\n
\n

object

\n

Attributes of user object returned by the API.

\n
\n
\n
\n
\n
\n

created_at

\n
\n

date-time

\n

The ISO 8601 timestamp of when the user account was created.

\n
\n \n
\n
\n
\n
\n
\n

disabled

\n
\n

boolean

\n

Whether the user account is deactivated. Disabled users cannot log in.

\n
\n \n
\n
\n
\n
\n
\n

email

\n
\n

string

\n

The email address of the user, used for login and notifications.

\n
\n \n
\n
\n
\n
\n
\n

handle

\n
\n

string

\n

The unique handle (username) of the user, typically matching their email prefix.

\n
\n \n
\n
\n
\n
\n
\n

icon

\n
\n

string

\n

URL of the user's profile icon, typically a Gravatar URL derived from the email address.

\n
\n \n
\n
\n
\n
\n
\n

last_login_time

\n
\n

date-time

\n

The ISO 8601 timestamp of the user's most recent login, or null if the user has never logged in.

\n
\n \n
\n
\n
\n
\n
\n

mfa_enabled

\n
\n

boolean

\n

Whether multi-factor authentication (MFA) is enabled for the user's account.

\n
\n \n
\n
\n
\n
\n
\n

modified_at

\n
\n

date-time

\n

The ISO 8601 timestamp of when the user account was last modified.

\n
\n \n
\n
\n
\n
\n
\n

name

\n
\n

string

\n

The full display name of the user as shown in the Datadog UI.

\n
\n \n
\n
\n
\n
\n
\n

service_account

\n
\n

boolean

\n

Whether this is a service account rather than a human user.\nService accounts are used for programmatic API access.

\n
\n \n
\n
\n
\n
\n
\n

status

\n
\n

string

\n

The current status of the user account (for example, Active, Pending, or Disabled).

\n
\n \n
\n
\n
\n
\n
\n

title

\n
\n

string

\n

The job title of the user (for example, "Senior Engineer" or "Product Manager").

\n
\n \n
\n
\n
\n
\n
\n

uuid

\n
\n

string

\n

The globally unique identifier (UUID) of the user.

\n
\n \n
\n
\n
\n
\n
\n

verified

\n
\n

boolean

\n

Whether the user's email address has been verified.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

id

\n
\n

string

\n

ID of the user.

\n
\n \n
\n
\n
\n
\n
\n

relationships

\n
\n

object

\n

Relationships of the user object returned by the API.

\n
\n
\n
\n
\n
\n

org

\n
\n

object

\n

Relationship to an organization.

\n
\n
\n
\n
\n
\n

data [required]

\n
\n

object

\n

Relationship to organization object.

\n
\n
\n
\n
\n
\n

id [required]

\n
\n

string

\n

ID of the organization.

\n
\n \n
\n
\n
\n
\n
\n

type [required]

\n
\n

enum

\n

Organizations resource type. \nAllowed enum values: orgs

default: orgs

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

other_orgs

\n
\n

object

\n

Relationship to organizations.

\n
\n
\n
\n
\n
\n

data [required]

\n
\n

[object]

\n

Relationships to organization objects.

\n
\n
\n
\n
\n
\n

id [required]

\n
\n

string

\n

ID of the organization.

\n
\n \n
\n
\n
\n
\n
\n

type [required]

\n
\n

enum

\n

Organizations resource type. \nAllowed enum values: orgs

default: orgs

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

other_users

\n
\n

object

\n

Relationship to users.

\n
\n
\n
\n
\n
\n

data [required]

\n
\n

[object]

\n

Relationships to user objects.

\n
\n
\n
\n
\n
\n

id [required]

\n
\n

string

\n

A unique identifier that represents the user.

\n
\n \n
\n
\n
\n
\n
\n

type [required]

\n
\n

enum

\n

Users resource type. \nAllowed enum values: users

default: users

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

roles

\n
\n

object

\n

Relationship to roles.

\n
\n
\n
\n
\n
\n

data

\n
\n

[object]

\n

An array containing type and the unique identifier of a role.

\n
\n
\n
\n
\n
\n

id

\n
\n

string

\n

The unique identifier of the role.

\n
\n \n
\n
\n
\n
\n
\n

type

\n
\n

enum

\n

Roles type. \nAllowed enum values: roles

default: roles

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n

type

\n
\n

enum

\n

Users resource type. \nAllowed enum values: users

default: users

\n
\n \n
\n
\n
\n
\n
\n
" }, "403": { "json": { @@ -528,7 +543,10 @@ "recipients": [ "slack-test-channel", "jira-test" - ] + ], + "rule_options": { + "is_threaded": true + } }, "id": "00000000-0000-1234-0000-000000000000", "relationships": { @@ -596,7 +614,7 @@ } ] }, - "html": "
\n
\n
\n
\n

data

\n
\n

object

\n

Monitor notification rule data.

\n
\n
\n
\n
\n
\n

attributes

\n
\n

object

\n

Attributes of the monitor notification rule.

\n
\n
\n
\n
\n
\n

bundle_config

\n
\n

object

\n

Use bundle config to enable alert bundling to reduce monitor signal noises. Note: This feature is in preview and is subject to change.\nIf you have any feedback, contact Datadog support.

\n
\n
\n
\n
\n
\n

duration [required]

\n
\n

int32

\n

Duration of the bundling period.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

conditional_recipients

\n
\n

object

\n

Use conditional recipients to define different recipients for different situations. Cannot be used with recipients.

\n
\n
\n
\n
\n
\n

conditions [required]

\n
\n

[object]

\n

Conditions of the notification rule.

\n
\n
\n
\n
\n
\n

recipients [required]

\n
\n

[string]

\n

A list of recipients to notify. Uses the same format as the monitor message field. Must not start with an '@'.

\n
\n \n
\n
\n
\n
\n
\n

scope [required]

\n
\n

string

\n

Defines the condition under which the recipients are notified. Supported formats:

\n
    \n
  • Monitor status condition using transition_type:<status>, for example transition_type:is_alert.
  • \n
  • A single tag key:value pair, for example env:prod.
  • \n
\n
\n \n
\n
\n
\n
\n
\n
\n
\n

fallback_recipients

\n
\n

[string]

\n

If none of the conditions applied, fallback_recipients will get notified.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

created

\n
\n

date-time

\n

Creation time of the monitor notification rule.

\n
\n \n
\n
\n
\n
\n
\n

filter

\n
\n

 <oneOf>

\n

Specifies the matching criteria for monitor notifications.

\n
\n
\n
\n
\n
\n

Object 1

\n
\n

object

\n

Filters monitor notifications by a list of tag key:value pairs.

\n
\n
\n
\n
\n
\n

tags [required]

\n
\n

[string]

\n

A list of tag key:value pairs (e.g. team:product). All tags must match (AND semantics).

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

Object 2

\n
\n

object

\n

Filters monitor notifications using a scope expression over key:value pairs with boolean logic (AND, OR, NOT).

\n
\n
\n
\n
\n
\n

scope [required]

\n
\n

string

\n

A scope expression composed by key:value pairs (e.g. service:foo) with boolean operators (AND, OR, NOT) and parentheses for grouping.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

modified

\n
\n

date-time

\n

Time the monitor notification rule was last modified.

\n
\n \n
\n
\n
\n
\n
\n

name

\n
\n

string

\n

The name of the monitor notification rule.

\n
\n \n
\n
\n
\n
\n
\n

recipients

\n
\n

[string]

\n

A list of recipients to notify. Uses the same format as the monitor message field. Must not start with an '@'. Cannot be used with conditional_recipients.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

id

\n
\n

string

\n

The ID of the monitor notification rule.

\n
\n \n
\n
\n
\n
\n
\n

relationships

\n
\n

object

\n

All relationships associated with monitor notification rule.

\n
\n
\n
\n
\n
\n

created_by

\n
\n

object

\n

The user who created the monitor notification rule.

\n
\n
\n
\n
\n
\n

data

\n
\n

object

\n

Data for the user who created the monitor notification rule.

\n
\n
\n
\n
\n
\n

id

\n
\n

string

\n

User ID of the monitor notification rule creator.

\n
\n \n
\n
\n
\n
\n
\n

type

\n
\n

enum

\n

Users resource type. \nAllowed enum values: users

default: users

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n

type

\n
\n

enum

\n

Monitor notification rule resource type. \nAllowed enum values: monitor-notification-rule

default: monitor-notification-rule

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

included

\n
\n

[ <oneOf>]

\n

Array of objects related to the monitor notification rule that the user requested.

\n
\n
\n
\n
\n
\n

<type=users>

\n
\n

object

\n

User object returned by the API.

\n
\n
\n
\n
\n
\n

attributes

\n
\n

object

\n

Attributes of user object returned by the API.

\n
\n
\n
\n
\n
\n

created_at

\n
\n

date-time

\n

The ISO 8601 timestamp of when the user account was created.

\n
\n \n
\n
\n
\n
\n
\n

disabled

\n
\n

boolean

\n

Whether the user account is deactivated. Disabled users cannot log in.

\n
\n \n
\n
\n
\n
\n
\n

email

\n
\n

string

\n

The email address of the user, used for login and notifications.

\n
\n \n
\n
\n
\n
\n
\n

handle

\n
\n

string

\n

The unique handle (username) of the user, typically matching their email prefix.

\n
\n \n
\n
\n
\n
\n
\n

icon

\n
\n

string

\n

URL of the user's profile icon, typically a Gravatar URL derived from the email address.

\n
\n \n
\n
\n
\n
\n
\n

last_login_time

\n
\n

date-time

\n

The ISO 8601 timestamp of the user's most recent login, or null if the user has never logged in.

\n
\n \n
\n
\n
\n
\n
\n

mfa_enabled

\n
\n

boolean

\n

Whether multi-factor authentication (MFA) is enabled for the user's account.

\n
\n \n
\n
\n
\n
\n
\n

modified_at

\n
\n

date-time

\n

The ISO 8601 timestamp of when the user account was last modified.

\n
\n \n
\n
\n
\n
\n
\n

name

\n
\n

string

\n

The full display name of the user as shown in the Datadog UI.

\n
\n \n
\n
\n
\n
\n
\n

service_account

\n
\n

boolean

\n

Whether this is a service account rather than a human user.\nService accounts are used for programmatic API access.

\n
\n \n
\n
\n
\n
\n
\n

status

\n
\n

string

\n

The current status of the user account (for example, Active, Pending, or Disabled).

\n
\n \n
\n
\n
\n
\n
\n

title

\n
\n

string

\n

The job title of the user (for example, "Senior Engineer" or "Product Manager").

\n
\n \n
\n
\n
\n
\n
\n

uuid

\n
\n

string

\n

The globally unique identifier (UUID) of the user.

\n
\n \n
\n
\n
\n
\n
\n

verified

\n
\n

boolean

\n

Whether the user's email address has been verified.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

id

\n
\n

string

\n

ID of the user.

\n
\n \n
\n
\n
\n
\n
\n

relationships

\n
\n

object

\n

Relationships of the user object returned by the API.

\n
\n
\n
\n
\n
\n

org

\n
\n

object

\n

Relationship to an organization.

\n
\n
\n
\n
\n
\n

data [required]

\n
\n

object

\n

Relationship to organization object.

\n
\n
\n
\n
\n
\n

id [required]

\n
\n

string

\n

ID of the organization.

\n
\n \n
\n
\n
\n
\n
\n

type [required]

\n
\n

enum

\n

Organizations resource type. \nAllowed enum values: orgs

default: orgs

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

other_orgs

\n
\n

object

\n

Relationship to organizations.

\n
\n
\n
\n
\n
\n

data [required]

\n
\n

[object]

\n

Relationships to organization objects.

\n
\n
\n
\n
\n
\n

id [required]

\n
\n

string

\n

ID of the organization.

\n
\n \n
\n
\n
\n
\n
\n

type [required]

\n
\n

enum

\n

Organizations resource type. \nAllowed enum values: orgs

default: orgs

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

other_users

\n
\n

object

\n

Relationship to users.

\n
\n
\n
\n
\n
\n

data [required]

\n
\n

[object]

\n

Relationships to user objects.

\n
\n
\n
\n
\n
\n

id [required]

\n
\n

string

\n

A unique identifier that represents the user.

\n
\n \n
\n
\n
\n
\n
\n

type [required]

\n
\n

enum

\n

Users resource type. \nAllowed enum values: users

default: users

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

roles

\n
\n

object

\n

Relationship to roles.

\n
\n
\n
\n
\n
\n

data

\n
\n

[object]

\n

An array containing type and the unique identifier of a role.

\n
\n
\n
\n
\n
\n

id

\n
\n

string

\n

The unique identifier of the role.

\n
\n \n
\n
\n
\n
\n
\n

type

\n
\n

enum

\n

Roles type. \nAllowed enum values: roles

default: roles

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n

type

\n
\n

enum

\n

Users resource type. \nAllowed enum values: users

default: users

\n
\n \n
\n
\n
\n
\n
\n
" + "html": "
\n
\n
\n
\n

data

\n
\n

object

\n

Monitor notification rule data.

\n
\n
\n
\n
\n
\n

attributes

\n
\n

object

\n

Attributes of the monitor notification rule.

\n
\n
\n
\n
\n
\n

bundle_config

\n
\n

object

\n

Use bundle config to enable alert bundling to reduce monitor signal noises. Note: This feature is in preview and is subject to change.\nIf you have any feedback, contact Datadog support.

\n
\n
\n
\n
\n
\n

duration [required]

\n
\n

int32

\n

Duration of the bundling period.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

conditional_recipients

\n
\n

object

\n

Use conditional recipients to define different recipients for different situations. Cannot be used with recipients.

\n
\n
\n
\n
\n
\n

conditions [required]

\n
\n

[object]

\n

Conditions of the notification rule.

\n
\n
\n
\n
\n
\n

recipients [required]

\n
\n

[string]

\n

A list of recipients to notify. Uses the same format as the monitor message field. Must not start with an '@'.

\n
\n \n
\n
\n
\n
\n
\n

scope [required]

\n
\n

string

\n

Defines the condition under which the recipients are notified. Supported formats:

\n
    \n
  • Monitor status condition using transition_type:<status>, for example transition_type:is_alert.
  • \n
  • A single tag key:value pair, for example env:prod.
  • \n
\n
\n \n
\n
\n
\n
\n
\n
\n
\n

fallback_recipients

\n
\n

[string]

\n

If none of the conditions applied, fallback_recipients will get notified.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

created

\n
\n

date-time

\n

Creation time of the monitor notification rule.

\n
\n \n
\n
\n
\n
\n
\n

filter

\n
\n

 <oneOf>

\n

Specifies the matching criteria for monitor notifications.

\n
\n
\n
\n
\n
\n

Object 1

\n
\n

object

\n

Filters monitor notifications by a list of tag key:value pairs.

\n
\n
\n
\n
\n
\n

tags [required]

\n
\n

[string]

\n

A list of tag key:value pairs (e.g. team:product). All tags must match (AND semantics).

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

Object 2

\n
\n

object

\n

Filters monitor notifications using a scope expression over key:value pairs with boolean logic (AND, OR, NOT).

\n
\n
\n
\n
\n
\n

scope [required]

\n
\n

string

\n

A scope expression composed by key:value pairs (e.g. service:foo) with boolean operators (AND, OR, NOT) and parentheses for grouping.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

modified

\n
\n

date-time

\n

Time the monitor notification rule was last modified.

\n
\n \n
\n
\n
\n
\n
\n

name

\n
\n

string

\n

The name of the monitor notification rule.

\n
\n \n
\n
\n
\n
\n
\n

recipients

\n
\n

[string]

\n

A list of recipients to notify. Uses the same format as the monitor message field. Must not start with an '@'. Cannot be used with conditional_recipients.

\n
\n \n
\n
\n
\n
\n
\n

rule_options

\n
\n

object

\n

Additional options for the monitor notification rule.

\n
\n
\n
\n
\n
\n

is_threaded [required]

\n
\n

boolean

\n

Whether notifications from this rule are threaded. When true, follow-up notifications for the same monitor alert are posted in Slack as replies to the first notification.\nCannot be true when bundle_config is set.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

id

\n
\n

string

\n

The ID of the monitor notification rule.

\n
\n \n
\n
\n
\n
\n
\n

relationships

\n
\n

object

\n

All relationships associated with monitor notification rule.

\n
\n
\n
\n
\n
\n

created_by

\n
\n

object

\n

The user who created the monitor notification rule.

\n
\n
\n
\n
\n
\n

data

\n
\n

object

\n

Data for the user who created the monitor notification rule.

\n
\n
\n
\n
\n
\n

id

\n
\n

string

\n

User ID of the monitor notification rule creator.

\n
\n \n
\n
\n
\n
\n
\n

type

\n
\n

enum

\n

Users resource type. \nAllowed enum values: users

default: users

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n

type

\n
\n

enum

\n

Monitor notification rule resource type. \nAllowed enum values: monitor-notification-rule

default: monitor-notification-rule

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

included

\n
\n

[ <oneOf>]

\n

Array of objects related to the monitor notification rule that the user requested.

\n
\n
\n
\n
\n
\n

<type=users>

\n
\n

object

\n

User object returned by the API.

\n
\n
\n
\n
\n
\n

attributes

\n
\n

object

\n

Attributes of user object returned by the API.

\n
\n
\n
\n
\n
\n

created_at

\n
\n

date-time

\n

The ISO 8601 timestamp of when the user account was created.

\n
\n \n
\n
\n
\n
\n
\n

disabled

\n
\n

boolean

\n

Whether the user account is deactivated. Disabled users cannot log in.

\n
\n \n
\n
\n
\n
\n
\n

email

\n
\n

string

\n

The email address of the user, used for login and notifications.

\n
\n \n
\n
\n
\n
\n
\n

handle

\n
\n

string

\n

The unique handle (username) of the user, typically matching their email prefix.

\n
\n \n
\n
\n
\n
\n
\n

icon

\n
\n

string

\n

URL of the user's profile icon, typically a Gravatar URL derived from the email address.

\n
\n \n
\n
\n
\n
\n
\n

last_login_time

\n
\n

date-time

\n

The ISO 8601 timestamp of the user's most recent login, or null if the user has never logged in.

\n
\n \n
\n
\n
\n
\n
\n

mfa_enabled

\n
\n

boolean

\n

Whether multi-factor authentication (MFA) is enabled for the user's account.

\n
\n \n
\n
\n
\n
\n
\n

modified_at

\n
\n

date-time

\n

The ISO 8601 timestamp of when the user account was last modified.

\n
\n \n
\n
\n
\n
\n
\n

name

\n
\n

string

\n

The full display name of the user as shown in the Datadog UI.

\n
\n \n
\n
\n
\n
\n
\n

service_account

\n
\n

boolean

\n

Whether this is a service account rather than a human user.\nService accounts are used for programmatic API access.

\n
\n \n
\n
\n
\n
\n
\n

status

\n
\n

string

\n

The current status of the user account (for example, Active, Pending, or Disabled).

\n
\n \n
\n
\n
\n
\n
\n

title

\n
\n

string

\n

The job title of the user (for example, "Senior Engineer" or "Product Manager").

\n
\n \n
\n
\n
\n
\n
\n

uuid

\n
\n

string

\n

The globally unique identifier (UUID) of the user.

\n
\n \n
\n
\n
\n
\n
\n

verified

\n
\n

boolean

\n

Whether the user's email address has been verified.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

id

\n
\n

string

\n

ID of the user.

\n
\n \n
\n
\n
\n
\n
\n

relationships

\n
\n

object

\n

Relationships of the user object returned by the API.

\n
\n
\n
\n
\n
\n

org

\n
\n

object

\n

Relationship to an organization.

\n
\n
\n
\n
\n
\n

data [required]

\n
\n

object

\n

Relationship to organization object.

\n
\n
\n
\n
\n
\n

id [required]

\n
\n

string

\n

ID of the organization.

\n
\n \n
\n
\n
\n
\n
\n

type [required]

\n
\n

enum

\n

Organizations resource type. \nAllowed enum values: orgs

default: orgs

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

other_orgs

\n
\n

object

\n

Relationship to organizations.

\n
\n
\n
\n
\n
\n

data [required]

\n
\n

[object]

\n

Relationships to organization objects.

\n
\n
\n
\n
\n
\n

id [required]

\n
\n

string

\n

ID of the organization.

\n
\n \n
\n
\n
\n
\n
\n

type [required]

\n
\n

enum

\n

Organizations resource type. \nAllowed enum values: orgs

default: orgs

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

other_users

\n
\n

object

\n

Relationship to users.

\n
\n
\n
\n
\n
\n

data [required]

\n
\n

[object]

\n

Relationships to user objects.

\n
\n
\n
\n
\n
\n

id [required]

\n
\n

string

\n

A unique identifier that represents the user.

\n
\n \n
\n
\n
\n
\n
\n

type [required]

\n
\n

enum

\n

Users resource type. \nAllowed enum values: users

default: users

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

roles

\n
\n

object

\n

Relationship to roles.

\n
\n
\n
\n
\n
\n

data

\n
\n

[object]

\n

An array containing type and the unique identifier of a role.

\n
\n
\n
\n
\n
\n

id

\n
\n

string

\n

The unique identifier of the role.

\n
\n \n
\n
\n
\n
\n
\n

type

\n
\n

enum

\n

Roles type. \nAllowed enum values: roles

default: roles

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n

type

\n
\n

enum

\n

Users resource type. \nAllowed enum values: users

default: users

\n
\n \n
\n
\n
\n
\n
\n
" }, "400": { "json": { @@ -649,7 +667,10 @@ } ] }, - "name": "A notification rule name" + "name": "A notification rule name", + "rule_options": { + "is_threaded": true + } }, "id": "00000000-0000-1234-0000-000000000000" } @@ -685,13 +706,16 @@ "recipients": [ "slack-test-channel", "jira-test" - ] + ], + "rule_options": { + "is_threaded": true + } }, "id": "00000000-0000-1234-0000-000000000000", "type": "monitor-notification-rule" } }, - "html": "
\n
\n
\n
\n

data [required]

\n
\n

object

\n

Object to update a monitor notification rule.

\n
\n
\n
\n
\n
\n

attributes [required]

\n
\n

object

\n

Attributes of the monitor notification rule.

\n
\n
\n
\n
\n
\n

bundle_config

\n
\n

object

\n

Use bundle config to enable alert bundling to reduce monitor signal noises. Note: This feature is in preview and is subject to change.\nIf you have any feedback, contact Datadog support.

\n
\n
\n
\n
\n
\n

duration [required]

\n
\n

int32

\n

Duration of the bundling period.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

conditional_recipients

\n
\n

object

\n

Use conditional recipients to define different recipients for different situations. Cannot be used with recipients.

\n
\n
\n
\n
\n
\n

conditions [required]

\n
\n

[object]

\n

Conditions of the notification rule.

\n
\n
\n
\n
\n
\n

recipients [required]

\n
\n

[string]

\n

A list of recipients to notify. Uses the same format as the monitor message field. Must not start with an '@'.

\n
\n \n
\n
\n
\n
\n
\n

scope [required]

\n
\n

string

\n

Defines the condition under which the recipients are notified. Supported formats:

\n
    \n
  • Monitor status condition using transition_type:<status>, for example transition_type:is_alert.
  • \n
  • A single tag key:value pair, for example env:prod.
  • \n
\n
\n \n
\n
\n
\n
\n
\n
\n
\n

fallback_recipients

\n
\n

[string]

\n

If none of the conditions applied, fallback_recipients will get notified.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

filter

\n
\n

 <oneOf>

\n

Specifies the matching criteria for monitor notifications.

\n
\n
\n
\n
\n
\n

Object 1

\n
\n

object

\n

Filters monitor notifications by a list of tag key:value pairs.

\n
\n
\n
\n
\n
\n

tags [required]

\n
\n

[string]

\n

A list of tag key:value pairs (e.g. team:product). All tags must match (AND semantics).

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

Object 2

\n
\n

object

\n

Filters monitor notifications using a scope expression over key:value pairs with boolean logic (AND, OR, NOT).

\n
\n
\n
\n
\n
\n

scope [required]

\n
\n

string

\n

A scope expression composed by key:value pairs (e.g. service:foo) with boolean operators (AND, OR, NOT) and parentheses for grouping.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

name [required]

\n
\n

string

\n

The name of the monitor notification rule.

\n
\n \n
\n
\n
\n
\n
\n

recipients

\n
\n

[string]

\n

A list of recipients to notify. Uses the same format as the monitor message field. Must not start with an '@'. Cannot be used with conditional_recipients.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

id [required]

\n
\n

string

\n

The ID of the monitor notification rule.

\n
\n \n
\n
\n
\n
\n
\n

type

\n
\n

enum

\n

Monitor notification rule resource type. \nAllowed enum values: monitor-notification-rule

default: monitor-notification-rule

\n
\n \n
\n
\n
\n
" + "html": "
\n
\n
\n
\n

data [required]

\n
\n

object

\n

Object to update a monitor notification rule.

\n
\n
\n
\n
\n
\n

attributes [required]

\n
\n

object

\n

Attributes of the monitor notification rule.

\n
\n
\n
\n
\n
\n

bundle_config

\n
\n

object

\n

Use bundle config to enable alert bundling to reduce monitor signal noises. Note: This feature is in preview and is subject to change.\nIf you have any feedback, contact Datadog support.

\n
\n
\n
\n
\n
\n

duration [required]

\n
\n

int32

\n

Duration of the bundling period.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

conditional_recipients

\n
\n

object

\n

Use conditional recipients to define different recipients for different situations. Cannot be used with recipients.

\n
\n
\n
\n
\n
\n

conditions [required]

\n
\n

[object]

\n

Conditions of the notification rule.

\n
\n
\n
\n
\n
\n

recipients [required]

\n
\n

[string]

\n

A list of recipients to notify. Uses the same format as the monitor message field. Must not start with an '@'.

\n
\n \n
\n
\n
\n
\n
\n

scope [required]

\n
\n

string

\n

Defines the condition under which the recipients are notified. Supported formats:

\n
    \n
  • Monitor status condition using transition_type:<status>, for example transition_type:is_alert.
  • \n
  • A single tag key:value pair, for example env:prod.
  • \n
\n
\n \n
\n
\n
\n
\n
\n
\n
\n

fallback_recipients

\n
\n

[string]

\n

If none of the conditions applied, fallback_recipients will get notified.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

filter

\n
\n

 <oneOf>

\n

Specifies the matching criteria for monitor notifications.

\n
\n
\n
\n
\n
\n

Object 1

\n
\n

object

\n

Filters monitor notifications by a list of tag key:value pairs.

\n
\n
\n
\n
\n
\n

tags [required]

\n
\n

[string]

\n

A list of tag key:value pairs (e.g. team:product). All tags must match (AND semantics).

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

Object 2

\n
\n

object

\n

Filters monitor notifications using a scope expression over key:value pairs with boolean logic (AND, OR, NOT).

\n
\n
\n
\n
\n
\n

scope [required]

\n
\n

string

\n

A scope expression composed by key:value pairs (e.g. service:foo) with boolean operators (AND, OR, NOT) and parentheses for grouping.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

name [required]

\n
\n

string

\n

The name of the monitor notification rule.

\n
\n \n
\n
\n
\n
\n
\n

recipients

\n
\n

[string]

\n

A list of recipients to notify. Uses the same format as the monitor message field. Must not start with an '@'. Cannot be used with conditional_recipients.

\n
\n \n
\n
\n
\n
\n
\n

rule_options

\n
\n

object

\n

Additional options for the monitor notification rule.

\n
\n
\n
\n
\n
\n

is_threaded [required]

\n
\n

boolean

\n

Whether notifications from this rule are threaded. When true, follow-up notifications for the same monitor alert are posted in Slack as replies to the first notification.\nCannot be true when bundle_config is set.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

id [required]

\n
\n

string

\n

The ID of the monitor notification rule.

\n
\n \n
\n
\n
\n
\n
\n

type

\n
\n

enum

\n

Monitor notification rule resource type. \nAllowed enum values: monitor-notification-rule

default: monitor-notification-rule

\n
\n \n
\n
\n
\n
" } }, "ListMonitorConfigPolicies": { diff --git a/hugo/content/en/api/v2/monitors/request.CreateMonitorNotificationRule_292428701.json b/hugo/content/en/api/v2/monitors/request.CreateMonitorNotificationRule_292428701.json new file mode 100644 index 000000000000..fb358bc53804 --- /dev/null +++ b/hugo/content/en/api/v2/monitors/request.CreateMonitorNotificationRule_292428701.json @@ -0,0 +1,19 @@ +{ + "data": { + "attributes": { + "filter": { + "tags": [ + "test:example-monitor" + ] + }, + "name": "test rule", + "recipients": [ + "slack-test-channel" + ], + "rule_options": { + "is_threaded": true + } + }, + "type": "monitor-notification-rule" + } +} \ No newline at end of file diff --git a/hugo/content/en/api/v2/monitors/request.UpdateMonitorNotificationRule_365435820.json b/hugo/content/en/api/v2/monitors/request.UpdateMonitorNotificationRule_365435820.json new file mode 100644 index 000000000000..36966d369cd4 --- /dev/null +++ b/hugo/content/en/api/v2/monitors/request.UpdateMonitorNotificationRule_365435820.json @@ -0,0 +1,20 @@ +{ + "data": { + "attributes": { + "filter": { + "tags": [ + "test:example-monitor" + ] + }, + "name": "updated rule", + "recipients": [ + "slack-test-channel" + ], + "rule_options": { + "is_threaded": false + } + }, + "id": "00000000-0000-1234-0000-000000000000", + "type": "monitor-notification-rule" + } +} \ No newline at end of file diff --git a/hugo/data/api/v2/CodeExamples.json b/hugo/data/api/v2/CodeExamples.json index 18be0071fdfa..73634ba6c135 100644 --- a/hugo/data/api/v2/CodeExamples.json +++ b/hugo/data/api/v2/CodeExamples.json @@ -1837,6 +1837,11 @@ "suffix": "_1181818787", "description": "Create a monitor notification rule with conditional recipients returns \"OK\" response" }, + { + "group": "monitors", + "suffix": "_292428701", + "description": "Create a monitor notification rule with rule options returns \"OK\" response" + }, { "group": "monitors", "suffix": "_1379932371", @@ -1873,6 +1878,11 @@ "suffix": "_1400905713", "description": "Update a monitor notification rule with conditional_recipients returns \"OK\" response" }, + { + "group": "monitors", + "suffix": "_365435820", + "description": "Update a monitor notification rule with rule options returns \"OK\" response" + }, { "group": "monitors", "suffix": "_1446058210", diff --git a/hugo/data/api/v2/full_spec.yaml b/hugo/data/api/v2/full_spec.yaml index dd590ef31a8b..656845c6044b 100644 --- a/hugo/data/api/v2/full_spec.yaml +++ b/hugo/data/api/v2/full_spec.yaml @@ -84328,6 +84328,8 @@ components: $ref: "#/components/schemas/MonitorNotificationRuleName" recipients: $ref: "#/components/schemas/MonitorNotificationRuleRecipients" + rule_options: + $ref: "#/components/schemas/MonitorNotificationRuleOptions" required: [name] type: object MonitorNotificationRuleBundleConfig: @@ -84468,6 +84470,17 @@ components: maxLength: 1000 minLength: 1 type: string + MonitorNotificationRuleOptions: + description: Additional options for the monitor notification rule. + properties: + is_threaded: + description: |- + Whether notifications from this rule are threaded. When `true`, follow-up notifications for the same monitor alert are posted in Slack as replies to the first notification. + Cannot be `true` when `bundle_config` is set. + example: true + type: boolean + required: [is_threaded] + type: object MonitorNotificationRuleRecipients: description: |- A list of recipients to notify. Uses the same format as the monitor `message` field. Must not start with an '@'. Cannot be used with `conditional_recipients`. @@ -84545,6 +84558,8 @@ components: $ref: "#/components/schemas/MonitorNotificationRuleName" recipients: $ref: "#/components/schemas/MonitorNotificationRuleRecipients" + rule_options: + $ref: "#/components/schemas/MonitorNotificationRuleOptions" type: object MonitorNotificationRuleResponseIncludedItem: description: An object related to a monitor notification rule. diff --git a/hugo/data/changelog/monitors.yml b/hugo/data/changelog/monitors.yml index a630a539f96d..547c998498d9 100644 --- a/hugo/data/changelog/monitors.yml +++ b/hugo/data/changelog/monitors.yml @@ -7,3 +7,12 @@ entries: - DeleteMonitorNotificationRule - UpdateMonitorNotificationRule title: Add monitor notification rules write permission definition + - change_type: modified + date: '2026-11-02' + link: https://github.com/DataDog/documentation/pull/41272 + operations: + - CreateMonitorNotificationRule + - GetMonitorNotificationRule + - GetMonitorNotificationRules + - UpdateMonitorNotificationRule + title: Add rule_options to Monitor Notification Rule