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 Detection API

The Detection API from Datadog — 2 operation(s) for detection.

Datadog Detection 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 Detection. 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 54 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 54 schemas 2 POST

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 Detection 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 — 2 POST. Each is listed below with its method, path, parameters, and response codes.

Detection 2
POST
/api/v2/security_monitoring/rules
Datadog Create a Detection Rule
CreateSecurityMonitoringRule body → 200400403429
POST
/api/v2/security_monitoring/rules/validation
Datadog Validate a Detection Rule
ValidateSecurityMonitoringRule body → 204400403429

Schemas 54

The contract defines 54 schemas that model the data the API accepts and returns. The most detailed are SecurityMonitoringStandardRuleResponse (24 properties), SecurityMonitoringSignalRuleResponse (18 properties), SecurityMonitoringStandardRuleCreatePayload (13 properties), SecurityMonitoringStandardRulePayload (13 properties). Each schema is shown below with its type and property counts.

SecurityMonitoringSignalRuleCreatePayload
object
Create a new signal correlation rule.
10 properties 6 required
SecurityMonitoringRuleEvaluationWindow
integer
A time window is specified to match when at least one of the cases matches true. This is a sliding window and evaluates in real time. For third party detection…
SecurityMonitoringStandardDataSource
string
Source of events, either logs, audit trail, or Datadog events.
SecurityMonitoringRuleTypeRead
string
The rule type.
SecurityMonitoringRuleMaxSignalDuration
integer
A signal will "close" regardless of the query being matched once the time exceeds the maximum duration. This time is calculated from the first seen timestamp.
SecurityMonitoringSignalRuleResponseQuery
object
Query for matching rule on signals.
9 properties
SecurityMonitoringRuleCaseActionOptionsUserBehaviorName
string
Used with the case action of type 'userbehavior'. The value specified in this field is applied as a risk tag to all users affected by the rule.
SecurityMonitoringRuleTypeCreate
string
The rule type.
SecurityMonitoringRuleNewValueOptionsLearningThreshold
integer
A number of occurrences after which signals will be generated for values that weren't learned.
SecurityMonitoringRuleNewValueOptionsForgetAfter
integer
The duration in days after which a learned value is forgotten.
SecurityMonitoringRuleCaseActionOptions
object
Options for the rule action
2 properties
SecurityMonitoringSignalRuleType
string
The rule type.
CloudConfigurationRuleType
string
The rule type.
SecurityMonitoringRuleCreatePayload
Create a new rule.
APIErrorResponse
object
API error response.
1 property 1 required
SecurityMonitoringRuleQueryAggregation
string
The aggregation type.
SecurityMonitoringThirdPartyRootQuery
object
A query to be combined with the third party case query.
2 properties
SecurityMonitoringRuleNewValueOptionsLearningMethod
string
The learning method used to determine when signals should be generated for values that weren't learned.
SecurityMonitoringRuleResponse
Create a new rule.
CloudConfigurationRuleCreatePayload
object
Create a new cloud configuration rule.
9 properties 6 required
SecurityMonitoringRuleCaseAction
object
Action to perform when a signal is triggered. Only available for Application Security rule type.
2 properties
CloudConfigurationRegoRule
object
Rule details.
2 properties 2 required
SecurityMonitoringSignalRulePayload
object
The payload of a signal correlation rule.
10 properties 6 required
SecurityMonitoringRuleNewValueOptionsLearningDuration
integer
The duration in days during which values are learned, and after which signals will be generated for values that weren't learned. If set to 0, a signal will be…
SecurityMonitoringStandardRuleQuery
object
Query for matching rule.
9 properties
SecurityMonitoringFilterAction
string
The type of filtering action.
SecurityMonitoringSignalRuleResponse
object
Rule.
18 properties
SecurityMonitoringRuleOptions
object
Options.
10 properties
SecurityMonitoringRuleCaseCreate
object
Case when signal is generated.
5 properties 1 required
SecurityMonitoringRuleThirdPartyOptions
object
Options on third party detection method.
4 properties
SecurityMonitoringSignalRuleQuery
object
Query for matching rule on signals.
6 properties 1 required
CloudConfigurationRuleComplianceSignalOptions
object
How to generate compliance signals. Useful for cloudconfiguration rules only.
4 properties
SecurityMonitoringRuleCase
object
Case when signal is generated.
5 properties
SecurityMonitoringStandardRulePayload
object
The payload of a rule.
13 properties 6 required
SecurityMonitoringStandardRuleCreatePayload
object
Create a new rule.
13 properties 6 required
SecurityMonitoringRuleNewValueOptions
object
Options on new value detection method.
4 properties
SecurityMonitoringThirdPartyRuleCaseCreate
object
Case when a signal is generated by a third party rule.
4 properties 1 required
SecurityMonitoringReferenceTable
object
Reference tables used in the queries.
5 properties
SecurityMonitoringRuleValidatePayload
Validate a rule.
SecurityMonitoringRuleImpossibleTravelOptions
object
Options on impossible travel detection method.
1 property
SecurityMonitoringFilter
object
The rule's suppression filter.
2 properties
SecurityMonitoringRuleDecreaseCriticalityBasedOnEnv
boolean
If true, signals in non-production environments have a lower severity than what is defined by the rule case, which can reduce signal noise. The severity is dec…
CloudConfigurationRuleCaseCreate
object
Description of signals.
2 properties 1 required
SecurityMonitoringRuleKeepAlive
integer
Once a signal is generated, the signal will remain "open" if a case is matched at least once within this keep alive window. For third party detection method, t…
CloudConfigurationRulePayload
object
The payload of a cloud configuration rule.
9 properties 6 required
SecurityMonitoringStandardRuleResponse
object
Rule.
24 properties
CloudConfigurationRuleOptions
object
Options on cloud configuration rules.
1 property 1 required
CloudConfigurationComplianceRuleOptions
object
Options for cloudconfiguration rules. Fields resourceType and regoRule are mandatory when managing custom cloudconfiguration rules.
3 properties
SecurityMonitoringThirdPartyRuleCase
object
Case when signal is generated by a third party rule.
4 properties
SecurityMonitoringRuleImpossibleTravelOptionsBaselineUserLocations
boolean
If true, signals are suppressed for the first 24 hours. In that time, Datadog learns the user's regular access locations. This can be helpful to reduce noise a…
SecurityMonitoringRuleSeverity
string
Severity of the Security Signal.
SecurityMonitoringRuleDetectionMethod
string
The detection method.
SecurityMonitoringRuleCaseActionType
string
The action type.
SecurityMonitoringRuleHardcodedEvaluatorType
string
Hardcoded evaluator type.

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

datadog-detection-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 Detection 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.