Driftwatch

APIs / Datadog

Datadog API changes

Breaking changes, deprecations and new fields in the Datadog API, as they ship.

DatadogDatadog API v2 · 600fdb271 additive
  • Additive

    Response field denied_environments added

    No action needed unless you validate responses against a closed schema.

    SavedFilterPermissionDeniedAttributes.denied_environments · reachable from 1 operation
DatadogDatadog API v2 · c97033a74 additive
2 new response fields
  • ObservabilityPipelineConfig.anomaly_detection
  • ObservabilityPipelineConfig.end_to_end_acknowledgements
2 new request properties
  • ObservabilityPipelineConfig.end_to_end_acknowledgements
  • ObservabilityPipelineConfig.anomaly_detection
DatadogDatadog API v2 · afe41a9e1 behavioral10 additive
6 new response fields
  • FeatureFlagEnvironment.subject_authorization_state
  • FeatureFlagEnvironment.subject_authorization_oidc_provider_id
  • EnvironmentAttributes.subject_authorization_state
  • EnvironmentAttributes.subject_authorization_oidc_provider_id
  • FeatureFlagEnvironmentListItem.subject_authorization_oidc_provider_id
  • FeatureFlagEnvironmentListItem.subject_authorization_state
4 new request properties
  • UpdateEnvironmentAttributes.subject_authorization_oidc_provider_id
  • CreateEnvironmentAttributes.subject_authorization_oidc_provider_id
  • CreateEnvironmentAttributes.subject_authorization_state
  • UpdateEnvironmentAttributes.subject_authorization_state
DatadogDatadog API v2 · 9748c4602 deprecation
DatadogDatadog API v2 · d235345a1 breaking1 additive
DatadogDatadog API v2 · b2ca7ba52 breaking1 additive
  • Breaking

    Response field image_update removed

    Reads of this field return undefined, and the failure surfaces wherever that value is used rather than at the call.

    RemediationGroupAttributes.image_update · reachable from 1 operation
    Code that breaks
    // response.image_update is now undefined
    const image_update = response.image_update;
  • Breaking

    value no longer accepts "host_and_container_vulnerability"

    A value you may have hardcoded is now rejected.

    RemediationGroupFindingType · reachable from 1 operation
    Code that breaks
    // sending "host_and_container_vulnerability" for undefined is now rejected
  • Additive

    Response field owners added

    No action needed unless you validate responses against a closed schema.

    RemediationGroupAttributes.owners · reachable from 1 operation
DatadogDatadog API v2 · d766ac9c2 breaking1 behavioral4 additive
  • Breaking

    order changed type

    Parse failure, or silent coercion depending on your client.

    AgentHealthRemediationStep.order · reachable from 2 operations
    Code that breaks
    // payload.order
    // was: int64
    // now: int32
  • Breakingdirection flip: their tools call this safe

    Response field counts_by_issue_type is no longer guaranteed

    Producer-side tools call this non-breaking. For a consumer it is a null dereference on an unknown future date.

    AgentHealthIssuesResponsePage.counts_by_issue_type · reachable from 1 operation
    Code that breaks
    // response.counts_by_issue_type may now be absent or null
    const counts_by_issue_type = response.counts_by_issue_type ?? fallback;
  • Behavioral

    400 is now documented on /api/v2/agenthealth/issues/{issue_id}

    An unhandled branch in your error handling.

    GET /api/v2/agenthealth/issues/{issue_id}
  • Additive

    page[limit] is now optional

    No action needed.

    GET /api/v2/agenthealth/issues · page[limit]
  • Additive

    page[offset] is now optional

    GET /api/v2/agenthealth/issues · page[offset]
2 new response fields
  • AgentHealthIssuesResponsePage.limit
  • AgentHealthIssuesResponsePage.offset
DatadogDatadog API v2 · adbd536c2 breaking
  • Breakingdirection flip: their tools call this safe

    value can now return "OPENAI_DECISIONS", "SYSTEM_ONE"

    Producer-side tools call this additive. It breaks exhaustive switches, strict parsers and generated client enums.

    AiGatewaySupportedOperation · reachable from 13 operations
    Code that breaks
    switch (response) {
      // existing branches …
      // no branch for "OPENAI_DECISIONS"
      // no branch for "SYSTEM_ONE"
      default:
        throw new Error("unexpected value");
    }
  • Breakingdirection flip: their tools call this safe

    value can now return "SYSTEM_ONE"

    Producer-side tools call this additive. It breaks exhaustive switches, strict parsers and generated client enums.

    AiGatewayCustomProviderSupportedOperation · reachable from 4 operations
    Code that breaks
    switch (response) {
      // existing branches …
      // no branch for "SYSTEM_ONE"
      default:
        throw new Error("unexpected value");
    }
DatadogDatadog API v2 · 6ba0185a4 additive
DatadogDatadog API v2 · ef0c502824 additive
12 new response fields
  • SecurityMonitoringRuleImpossibleTravelOptions.detectIpTransition
  • SecurityMonitoringRuleNewValueOptions.instantaneousBaselineTimeoutMinutes
  • SecurityMonitoringRuleCaseCreate.customStatus
  • SecurityMonitoringThirdPartyRuleCaseCreate.customStatus
  • HistoricalJobQuery.metric
  • HistoricalJobQuery.datasetVersions
  • HistoricalJobOptions.complianceRuleOptions
  • HistoricalJobOptions.decreaseCriticalityBasedOnEnv
  • HistoricalJobOptions.hardcodedEvaluatorType
  • JobDefinition.isBackfillJob
  • JobDefinition.isShadowDeployed
  • JobDefinition.projectedPerQuery
12 new request properties
  • SecurityMonitoringRuleImpossibleTravelOptions.detectIpTransition
  • SecurityMonitoringRuleNewValueOptions.instantaneousBaselineTimeoutMinutes
  • SecurityMonitoringRuleCaseCreate.customStatus
  • SecurityMonitoringThirdPartyRuleCaseCreate.customStatus
  • HistoricalJobOptions.complianceRuleOptions
  • HistoricalJobOptions.decreaseCriticalityBasedOnEnv
  • HistoricalJobOptions.hardcodedEvaluatorType
  • HistoricalJobQuery.datasetVersions
  • HistoricalJobQuery.metric
  • JobDefinition.isBackfillJob
  • JobDefinition.isShadowDeployed
  • JobDefinition.projectedPerQuery
DatadogDatadog API v2 · 67faec131 breaking8 additive
  • Breaking

    known_provider is now required

    Partial payloads are rejected.

    AiGatewayProviderCreateAttributes.known_provider · reachable from 1 operation
    Code that breaks
    await client.post("/…", {
      // …
      known_provider: /* now required */,
    });
3 new response fields
  • AiGatewayModelPricingConfig.tiers
  • AiGatewayRoutingRuleAttributes.description
  • AiGatewayRoutingRuleAttributes.display_name
5 new request properties
  • AiGatewayModelPricingCustomRequestConfig.tiers
  • AiGatewayRoutingRuleCreateAttributes.description
  • AiGatewayRoutingRuleCreateAttributes.display_name
  • AiGatewayRoutingRuleReplaceAttributes.description
  • AiGatewayRoutingRuleReplaceAttributes.display_name
DatadogDatadog API v2 · cb52be9d1 breaking
  • Breakingdirection flip: their tools call this safe

    value can now return "explicit_histogram", "exponential_histogram"

    Producer-side tools call this additive. It breaks exhaustive switches, strict parsers and generated client enums.

    MetricTagConfigurationMetricTypes · reachable from 4 operations
    Code that breaks
    switch (response) {
      // existing branches …
      // no branch for "explicit_histogram"
      // no branch for "exponential_histogram"
      default:
        throw new Error("unexpected value");
    }
DatadogDatadog API v2 · a8edfa3d1 breaking10 additive
  • Breakingdirection flip: their tools call this safe

    value can now return "classified"

    Producer-side tools call this additive. It breaks exhaustive switches, strict parsers and generated client enums.

    AiGatewayRoutingRuleTierOrdering · reachable from 4 operations
    Code that breaks
    switch (response) {
      // existing branches …
      // no branch for "classified"
      default:
        throw new Error("unexpected value");
    }
5 new response fields
  • JSONAPIErrorItem.code
  • AiGatewayRoutingRuleTier.classifier
  • AiGatewayModelGroupAttributes.routing_rules_restricted
  • AiGatewayRoutingRuleTarget.default
  • AiGatewayRoutingRuleTarget.rubric
5 new request properties
  • AiGatewayRoutingRuleTargetRequest.default
  • AiGatewayRoutingRuleTargetRequest.rubric
  • AiGatewayRoutingRuleTierRequest.classifier
  • AiGatewayRoutingRuleReplaceAttributes.expected_updated_at
  • AiGatewayRoutingRuleReplaceAttributes.removed_target_ids
DatadogDatadog API v2 · b37ea4441 breaking
  • Breaking

    Response field control_id removed

    Reads of this field return undefined, and the failure surfaces wherever that value is used rather than at the call.

    GovernanceControlDetectionAttributes.control_id · reachable from 3 operations
    Code that breaks
    // response.control_id is now undefined
    const control_id = response.control_id;
DatadogDatadog API v2 · 7ac8858d3 additive
2 new response fields
  • ExperimentsPatchExperimentV2ResponseDataAttributes.holdout_ids
  • ExperimentsExperimentV2ListDTODataAttributes.holdout_ids
DatadogDatadog API v2 · 835f929a8 additive
8 new response fields
  • TenancyConfigDataAttributes.account_tags
  • TenancyConfigDataAttributes.dd_iac_version
  • TenancyConfigDataAttributes.defined_tags
  • TenancyConfigDataAttributes.events_collection_enabled
  • TenancyConfigDataAttributes.grace_resource
  • TenancyConfigDataAttributes.service_quota_collection_enabled
  • TenancyConfigDataAttributesLogsConfig.resource_tag_filters
  • TenancyConfigDataAttributesMetricsConfig.resource_tag_filters
DatadogDatadog API v2 · efb9cc9f1 additive
  • Additive

    Response field extra_tags added

    No action needed unless you validate responses against a closed schema.

    AIGuardEvaluateAttributesResponse.extra_tags · reachable from 1 operation
DatadogDatadog API v2 · 5c80a4e22 breaking19 additive
  • Breaking

    query is now required

    Partial payloads are rejected.

    RulesValidateQueryRequestDataAttributes.query · reachable from 1 operation
    Code that breaks
    await client.post("/…", {
      // …
      query: /* now required */,
    });
  • Breakingdirection flip: their tools call this safe

    Query is no longer accepted

    Usually ignored rather than rejected, so the call succeeds and does something subtly different.

    RulesValidateQueryRequestDataAttributes.Query · reachable from 1 operation
    Code that breaks
    await client.post("/…", {
      // Query is now ignored, not rejected
      Query: value,
    });
  • Additive

    /api/v2/eudm/devices added

    No action needed.

    /api/v2/eudm/devices
  • Additive

    /api/v2/eudm/devices/{device_id} added

    No action needed.

    /api/v2/eudm/devices/{device_id}
  • Additive

    Request property query added

    No action needed unless it is required.

    RulesValidateQueryRequestDataAttributes.query · reachable from 1 operation
16 new response fields
  • ArbitraryRuleResponseDataAttributes.valid_through_date
  • ArbitraryRuleResponseDataAttributes.is_ootb
  • ArbitraryRuleResponseDataAttributes.rule_category
  • ArbitraryRuleResponseDataAttributes.valid_from_date
  • ArbitraryRuleResponseDataAttributesStrategy.mapping_transform
  • ArbitraryRuleResponseDataAttributesStrategy.static_tags
  • ArbitraryRuleResponseDataAttributesStrategy.supporting_timeseries
  • ArbitraryRuleResponseDataAttributesStrategy.tag_transforms
  • GCPUsageCostConfigAttributes.cud_metadata_config
  • GCPUsageCostConfigAttributes.cud_metadata_error_codes
  • GCPUsageCostConfigAttributes.cud_metadata_state
  • GCPUsageCostConfigAttributes.cud_metadata_status_updated_at
  • GcpUcConfigResponseDataAttributes.cud_metadata_config
  • GcpUcConfigResponseDataAttributes.cud_metadata_error_codes
  • GcpUcConfigResponseDataAttributes.cud_metadata_state
  • GcpUcConfigResponseDataAttributes.cud_metadata_status_updated_at
DatadogDatadog API v2 · 87b7a14f2 breaking5 additive
  • Breakingdirection flip: their tools call this safe

    value can now return "TF"

    Producer-side tools call this additive. It breaks exhaustive switches, strict parsers and generated client enums.

    IssueLanguage · reachable from 4 operations
    Code that breaks
    switch (response) {
      // existing branches …
      // no branch for "TF"
      default:
        throw new Error("unexpected value");
    }
  • Breakingdirection flip: their tools call this safe

    value can now return "ELECTRON"

    Producer-side tools call this additive. It breaks exhaustive switches, strict parsers and generated client enums.

    IssuePlatform · reachable from 4 operations
    Code that breaks
    switch (response) {
      // existing branches …
      // no branch for "ELECTRON"
      default:
        throw new Error("unexpected value");
    }
5 new response fields
  • IssueRelationships.bits_investigation
  • IssueRelationships.pull_requests
  • IssueCaseAttributes.status_group
  • IssueCaseAttributes.status_name
  • IssueRelationships.watches
DatadogDatadog API v2 · 84ef5c553 breaking2 additive
  • Breakingdirection flip: their tools call this safe

    Response field rum_steps is no longer guaranteed

    Producer-side tools call this non-breaking. For a consumer it is a null dereference on an unknown future date.

    RUMOperationJourneyRum.rum_steps · reachable from 5 operations
    Code that breaks
    // response.rum_steps may now be absent or null
    const rum_steps = response.rum_steps ?? fallback;
  • Breakingdirection flip: their tools call this safe

    Response field tags is no longer guaranteed

    Producer-side tools call this non-breaking. For a consumer it is a null dereference on an unknown future date.

    RUMOperationResponseAttributes.tags · reachable from 5 operations
    Code that breaks
    // response.tags may now be absent or null
    const tags = response.tags ?? fallback;
  • Breakingdirection flip: their tools call this safe

    Response field value is no longer guaranteed

    Producer-side tools call this non-breaking. For a consumer it is a null dereference on an unknown future date.

    RUMOperationUser · reachable from 5 operations
    Code that breaks
    // response may now be absent or null
    const value = response ?? fallback;
  • Additive

    Response field links added

    No action needed unless you validate responses against a closed schema.

    RUMOperationsListResponse.links · reachable from 1 operation
  • Additive

    Request field now accepts null

    A relaxation. Existing payloads are unaffected.

    RUMOperationJourneyRum.rum_steps · reachable from 5 operations
DatadogDatadog API v2 · a9a17e331 breaking2 additive
DatadogDatadog API v2 · 01639b878 additive
4 new response fields
  • StatusPageAsIncludedAttributes.email_notifications_enabled
  • StatusPageAsIncludedAttributes.ms_teams_subscriptions_enabled
  • StatusPageDataAttributes.email_notifications_enabled
  • StatusPageDataAttributes.ms_teams_subscriptions_enabled
4 new request properties
  • CreateStatusPageRequestDataAttributes.email_notifications_enabled
  • CreateStatusPageRequestDataAttributes.ms_teams_subscriptions_enabled
  • PatchStatusPageRequestDataAttributes.email_notifications_enabled
  • PatchStatusPageRequestDataAttributes.ms_teams_subscriptions_enabled
DatadogDatadog API v2 · fda3e4566 additive
DatadogDatadog API v2 · 90c9111129 additive
DatadogDatadog API v2 · 7827bed05 additive
2 new response fields
  • ActionConnectionAttributes.external_secrets_manager
  • HTTPTokenAuth.http_tokens
3 new request properties
  • ActionConnectionAttributes.external_secrets_manager
  • HTTPTokenAuth.http_tokens
  • ActionConnectionAttributesUpdate.external_secrets_manager
DatadogDatadog API v2 · c32d065a2 breaking
  • Breakingdirection flip: their tools call this safe

    Response field processors is no longer guaranteed

    Producer-side tools call this non-breaking. For a consumer it is a null dereference on an unknown future date.

    ObservabilityPipelineConfigProcessorGroup.processors · reachable from 5 operations
    Code that breaks
    // response.processors may now be absent or null
    const processors = response.processors ?? fallback;
  • Breakingdirection flip: their tools call this safe

    Response field rules is no longer guaranteed

    Producer-side tools call this non-breaking. For a consumer it is a null dereference on an unknown future date.

    ObservabilityPipelineParseGrokProcessor.rules · reachable from 5 operations
    Code that breaks
    // response.rules may now be absent or null
    const rules = response.rules ?? fallback;
DatadogDatadog API v2 · 27e186c63 additive
DatadogDatadog API v2 · 15e5649a2 additive
  • Additive

    Response field buffer added

    No action needed unless you validate responses against a closed schema.

    ObservabilityPipelineDatadogMetricsDestination.buffer · reachable from 5 operations
  • Additive

    Request property buffer added

    No action needed unless it is required.

    ObservabilityPipelineDatadogMetricsDestination.buffer · reachable from 5 operations
DatadogDatadog API v2 · ef6f590b4 additive
2 new response fields
  • StatusPageAsIncludedAttributes.rss_feed_enabled
  • StatusPageDataAttributes.rss_feed_enabled
2 new request properties
  • CreateStatusPageRequestDataAttributes.rss_feed_enabled
  • PatchStatusPageRequestDataAttributes.rss_feed_enabled
DatadogDatadog API v2 · e1b891eb3 breaking12 additive
  • Breaking

    Response field term_length removed

    Reads of this field return undefined, and the failure surfaces wherever that value is used rather than at the call.

    6 places: CommitmentsAwsEC2RICommitment.term_length, CommitmentsAwsElasticacheRICommitment.term_length, CommitmentsAwsRDSRICommitment.term_length, CommitmentsAwsSPCommitment.term_length, CommitmentsAzureComputeSPCommitment.term_length, CommitmentsAzureVMRICommitment.term_length
    Code that breaks
    // response.term_length is now undefined
    const term_length = response.term_length;
  • Breaking

    Response field commitments removed

    Reads of this field return undefined, and the failure surfaces wherever that value is used rather than at the call.

    CommitmentsListResponse.commitments · reachable from 1 operation
    Code that breaks
    // response.commitments is now undefined
    const commitments = response.commitments;
  • Breaking

    Response field meta removed

    CommitmentsListResponse.meta · reachable from 1 operation
    Code that breaks
    // response.meta is now undefined
    const meta = response.meta;
12 new response fields
  • CommitmentsAwsEC2RICommitment.term_length_months
  • CommitmentsAwsRDSRICommitment.term_length_months
  • CommitmentsAwsElasticacheRICommitment.term_length_months
  • CommitmentsAwsSPCommitment.instance_type_family
  • CommitmentsAwsSPCommitment.region
  • CommitmentsAwsSPCommitment.term_length_months
  • CommitmentsAzureComputeSPCommitment.savings_plan_type
  • CommitmentsAzureComputeSPCommitment.term_length_months
  • CommitmentsAzureVMRICommitment.product
  • CommitmentsAzureVMRICommitment.term_length_months
  • CommitmentsListMeta.unused_cost_unavailable
  • CommitmentsListResponse.data
DatadogDatadog API v2 · e7e2c9742 additive
2 new response fields
  • NotificationChannelEmailConfig.verified
  • NotificationChannelPhoneConfig.available_notification_types
DatadogDatadog API v2 · 9f6269133 breaking5 additive
  • Breaking

    max changed type

    Parse failure, or silent coercion depending on your client.

    FacetInfoResponseDataAttributesResultRange.max · reachable from 2 operations
    Code that breaks
    // payload.max
    // was: object
    // now: null|number
  • Breaking

    min changed type

    FacetInfoResponseDataAttributesResultRange.min · reachable from 2 operations
    Code that breaks
    // payload.min
    // was: object
    // now: null|number
  • Breakingdirection flip: their tools call this safe

    value can now return "accounts_facet_info"

    Producer-side tools call this additive. It breaks exhaustive switches, strict parsers and generated client enums.

    FacetInfoResponseDataType · reachable from 2 operations
    Code that breaks
    switch (response) {
      // existing branches …
      // no branch for "accounts_facet_info"
      default:
        throw new Error("unexpected value");
    }
2 new response fields
  • ListConnectionsResponseDataAttributesConnectionsItems.details
  • ListConnectionsResponseDataAttributesConnectionsItems.name
3 new request properties
  • CreateConnectionRequestDataAttributes.details
  • CreateConnectionRequestDataAttributes.name
  • UpdateConnectionRequestDataAttributes.name
DatadogDatadog API v2 · 483155382 additive
  • Additive

    Response field rule_options added

    No action needed unless you validate responses against a closed schema.

    MonitorNotificationRuleResponseAttributes.rule_options · reachable from 4 operations
  • Additive

    Request property rule_options added

    No action needed unless it is required.

    MonitorNotificationRuleAttributes.rule_options · reachable from 2 operations
DatadogDatadog API v2 · bc7ee2643 additive
2 new response fields
  • CustomCostsFileMetadata.ai_provider
  • CustomCostsFileMetadataWithContent.ai_provider
DatadogDatadog API v2 · 29e4e0e44 breaking
  • Breakingdirection flip: their tools call this safe

    value can now return "trace_fan_out"

    Producer-side tools call this additive. It breaks exhaustive switches, strict parsers and generated client enums.

    LLMObsCustomEvalConfigEvalScope · reachable from 3 operations
    Code that breaks
    switch (response) {
      // existing branches …
      // no branch for "trace_fan_out"
      default:
        throw new Error("unexpected value");
    }
  • Breakingdirection flip: their tools call this safe

    value can now return "amazon_bedrock", "azure_openai", "datadog", "datadog_ai_gateway", "deterministic", "insights_sponsored", "llmproxy", "typesafe", "vertex_ai"

    Producer-side tools call this additive. It breaks exhaustive switches, strict parsers and generated client enums.

    LLMObsCustomEvalConfigIntegrationProvider · reachable from 3 operations
    Code that breaks
    switch (response) {
      // existing branches …
      // no branch for "amazon_bedrock"
      // no branch for "azure_openai"
      // no branch for "datadog"
      // no branch for "datadog_ai_gateway"
      // no branch for "deterministic"
      // no branch for "insights_sponsored"
      // no branch for "llmproxy"
      // no branch for "typesafe"
      // no branch for "vertex_ai"
      default:
        throw new Error("unexpected value");
    }
  • Breaking

    value no longer accepts "amazon-bedrock", "azure-openai", "llm-proxy", "vertex-ai"

    A value you may have hardcoded is now rejected.

    LLMObsCustomEvalConfigIntegrationProvider · reachable from 3 operations
    Code that breaks
    // sending "amazon-bedrock" for undefined is now rejected
    // sending "azure-openai" for undefined is now rejected
    // sending "llm-proxy" for undefined is now rejected
    // sending "vertex-ai" for undefined is now rejected
  • Breakingdirection flip: their tools call this safe

    value can now return "typed_questions"

    Producer-side tools call this additive. It breaks exhaustive switches, strict parsers and generated client enums.

    LLMObsCustomEvalConfigParsingType · reachable from 3 operations
    Code that breaks
    switch (response) {
      // existing branches …
      // no branch for "typed_questions"
      default:
        throw new Error("unexpected value");
    }