How AI is applied across API Evangelist and APIs.io. Read my AI disclosure →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Datadog Sets API

The Sets API from Datadog — 2 operation(s) for sets.

Datadog Sets API is one of 290 APIs that Datadog publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

This API exposes 4 JSON Schema definitions.

Tagged areas include Sets. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, authentication docs, an API reference, and 4 JSON Schemas.

This API exposes 2 operations across 2 paths, and defines 37 schemas. It is described by OpenAPI 3.0.0, at version 1.0.

Requests are made against 3 base URLs: https://{subdomain}.{site}, {protocol}://{name}, https://{subdomain}.{site}.

2 operations 2 paths 37 schemas 1 PATCH1 PUT

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.0.0
API Version
1.0
Base URL
https://api.datadoghq.com
Authentication
OAuth 2.0, API Key, API Key, HTTP Bearer
Resource Areas
1

Authentication & Security 4

Datadog Sets API declares 4 security schemes for authenticating requests. It supports OAuth 2.0 (AuthZ) using the authorizationCode flow, exposing 68 scopes. An API key is passed in the header as DD-API-KEY (apiKeyAuth). An API key is passed in the header as DD-APPLICATION-KEY (appKeyAuth). It accepts HTTP bearer tokens (bearerAuth). By default, every request must be authenticated.

  • AuthZ — This API uses OAuth 2 with the implicit grant flow.
  • apiKeyAuth — Your Datadog API Key.
  • appKeyAuth — Your Datadog APP Key.

Paths & Operations 2

Across 2 paths, the API surfaces 2 operations — 1 PATCH, 1 PUT. Each is listed below with its method, path, parameters, and response codes.

Sets 2
PATCH
/api/v2/domain_allowlist
Datadog Sets Domain Allowlist
PatchDomainAllowlist body → 200429
PUT
/api/v2/on-call/teams/{team_id}/routing-rules
Datadog Set On-call Team Routing Rules
SetOnCallTeamRoutingRules 2 params body → 200429

Schemas 37

The contract defines 37 schemas that model the data the API accepts and returns. The most detailed are TeamRoutingRulesRequestRule (5 properties), TimeRestriction (4 properties), RoutingRuleAttributes (4 properties), RoutingRule (4 properties). Each schema is shown below with its type and property counts.

TeamRoutingRulesRequestDataType
string
Team routing rules resource type.
SendTeamsMessageActionType
string
Indicates that the action is a send Microsoft Teams message action.
TeamRoutingRules
object
Represents a complete set of team routing rules, including data and optionally included related resources.
2 properties
DomainAllowlistResponseData
object
The email domain allowlist response for an org.
3 properties 1 required
TimeRestriction
object
Defines a single time restriction rule with start and end times and the applicable weekdays.
4 properties
RoutingRule
object
Represents a routing rule, including its attributes, relationships, and unique identifier.
4 properties 1 required
RoutingRuleRelationshipsPolicyDataType
string
Indicates that the resource is of type 'policies'.
DomainAllowlistAttributes
object
The details of the email domain allowlist.
2 properties
TeamRoutingRulesRequestDataAttributes
object
Represents the attributes of a request to update or create team routing rules.
1 property
Weekday
string
A day of the week.
TeamRoutingRulesDataRelationshipsRulesDataItems
object
Defines a relationship item to link a routing rule by its ID and type.
2 properties 2 required
TeamRoutingRulesRequestData
object
Holds the data necessary to create or update team routing rules, including attributes, ID, and resource type.
3 properties 1 required
TeamRoutingRulesIncluded
Represents additional included resources for team routing rules, such as associated routing rules.
APIErrorResponse
object
API error response.
1 property 1 required
SendSlackMessageActionType
string
Indicates that the action is a send Slack message action.
RoutingRuleRelationships
object
Specifies relationships for a routing rule, linking to associated policy resources.
1 property
DomainAllowlistType
string
Email domain allowlist allowlist type.
RoutingRuleRelationshipsPolicy
object
Defines the relationship that links a routing rule to a policy.
1 property
TimeRestrictions
object
Holds time zone information and a list of time restrictions for a routing rule.
2 properties 2 required
DomainAllowlistRequest
object
Request containing the desired email domain allowlist configuration.
1 property 1 required
RoutingRuleRelationshipsPolicyData
object
Represents the policy data reference, containing the policy's ID and resource type.
2 properties 2 required
DomainAllowlistResponse
object
Response containing information about the email domain allowlist.
1 property
TeamRoutingRulesRequestRule
object
Defines an individual routing rule item that contains the rule data for the request.
5 properties
RoutingRuleType
string
Team routing rules resource type.
TeamRoutingRulesDataRelationships
object
Specifies relationships for team routing rules, including rule references.
1 property
TeamRoutingRulesDataRelationshipsRulesDataItemsType
string
Indicates that the resource is of type 'teamroutingrules'.
TeamRoutingRulesRequest
object
Represents a request to create or update team routing rules, including the data payload.
1 property
TeamRoutingRulesDataRelationshipsRules
object
Holds references to a set of routing rules in a relationship.
1 property
DomainAllowlist
object
The email domain allowlist for an org.
3 properties 1 required
TeamRoutingRulesData
object
Represents the top-level data object for team routing rules, containing the ID, relationships, and resource type.
3 properties 1 required
TeamRoutingRulesDataType
string
Team routing rules resource type.
Urgency
string
Specifies the level of urgency for a routing rule (low, high, or dynamic).
SendTeamsMessageAction
object
Sends a message to a Microsoft Teams channel.
4 properties 4 required
RoutingRuleAttributes
object
Defines the configurable attributes of a routing rule, such as actions, query, time restriction, and urgency.
4 properties
RoutingRuleAction
Defines an action that is executed when a routing rule matches certain criteria.
SendSlackMessageAction
object
Sends a message to a Slack channel.
3 properties 3 required
DomainAllowlistResponseDataAttributes
object
The details of the email domain allowlist.
2 properties

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

datadog-sets-api-openapi.yml Raw ↑

Other APIs Datadog publishes across the network.

Datadog Dashboards API
Datadog Synthetics API
Datadog Service Level Objectives API
Datadog Security Monitoring API
Datadog Service Definition API
Datadog Software Catalog API
Datadog Users API
Datadog Roles API
Datadog Key Management API
Datadog Organizations API
Datadog Downtimes API
Datadog RUM API
Where this information came from

This is an independent, third-party profile of Datadog Sets API, published by API Evangelist. We do not operate, host, resell, or support these APIs, and we are not affiliated with or endorsed by the company unless stated above. Everything here is built from publicly available information — the company's own site, developer portal, documentation, public repositories, and the specifications it publishes for public use. Nothing is obtained by breaching a system, defeating an access control, or using credentials.

The Kin Score and Agent Readiness rating are independently calculated assessments of a company's public API artifacts, scored against a published rubric. They are not certifications, endorsements, security assessments, or audits.

Corrections, re-scores, and removal are free — no partnership or purchase required, and you do not need to justify the request. A removed company is recorded as unrated, never scored zero for having asked. Acknowledgement within one business day; removal within two.

info@apievangelist.com · Read the full data-sourcing policy →
On a security or compliance team? Put security in the subject line and you will get a person, not a form — we will tell you exactly which public URLs this profile was built from.