Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1,072 changes: 1,003 additions & 69 deletions .generator/schemas/v2/openapi.yaml

Large diffs are not rendered by default.

55 changes: 55 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,60 @@
# CHANGELOG

## 2.54.0/2026-05-15

### Added
* Add Compliance Findings rule-based view endpoint to OpenAPI v2 [#3329](https://github.com/DataDog/datadog-api-client-ruby/pull/3329)
* Add window[seconds] query parameter for look back [#3327](https://github.com/DataDog/datadog-api-client-ruby/pull/3327)
* Add OpenAPI spec for cost-planning-api commitment program endpoints [#3324](https://github.com/DataDog/datadog-api-client-ruby/pull/3324)
* Add regression fields to Error Tracking API responses [#3323](https://github.com/DataDog/datadog-api-client-ruby/pull/3323)
* Add OpenAPI for Cloud Cost Management anomalies endpoints [#3320](https://github.com/DataDog/datadog-api-client-ruby/pull/3320)
* Allow errors data source in formula event queries for dashboards [#3314](https://github.com/DataDog/datadog-api-client-ruby/pull/3314)
* Document Cloud Cost Management v2 tags and tag_keys endpoints [#3313](https://github.com/DataDog/datadog-api-client-ruby/pull/3313)
* Add OpenAPI definition for CCM ListCostTagDescriptions [#3310](https://github.com/DataDog/datadog-api-client-ruby/pull/3310)
* Add OpenAPI spec for current user endpoints [#3306](https://github.com/DataDog/datadog-api-client-ruby/pull/3306)
* Add state filter for Search Error Tracking Issues API [#3300](https://github.com/DataDog/datadog-api-client-ruby/pull/3300)
* Add OpenAPI spec for email transport webhook intake [#3299](https://github.com/DataDog/datadog-api-client-ruby/pull/3299)
* Add integration_type for Microsoft Teams to IncidentIntegrationMetadataAttributes [#3298](https://github.com/DataDog/datadog-api-client-ruby/pull/3298)
* Add cross_org_uuids to v2 query endpoints [#3296](https://github.com/DataDog/datadog-api-client-ruby/pull/3296)
* Add GKE Autopilot usage types to API documentation [#3291](https://github.com/DataDog/datadog-api-client-ruby/pull/3291)
* Add session interaction type to LLM Observability API spec [#3290](https://github.com/DataDog/datadog-api-client-ruby/pull/3290)
* Add OpenAPI spec for authn-validation /api/v2/validate endpoint [#3289](https://github.com/DataDog/datadog-api-client-ruby/pull/3289)
* Add OpenAPI definitions for CCM status endpoints [#3288](https://github.com/DataDog/datadog-api-client-ruby/pull/3288)
* Add style and sort to TreeMapWidgetRequest and sort to SunburstWidgetRequest for Dashboards [#3278](https://github.com/DataDog/datadog-api-client-ruby/pull/3278)
* Add `compression_method` field to Log Archives [#3277](https://github.com/DataDog/datadog-api-client-ruby/pull/3277)
* Cloud inventory api sync config endpoint documentation [#3276](https://github.com/DataDog/datadog-api-client-ruby/pull/3276)
* Add Point Plot widget to dashboard API spec [#3274](https://github.com/DataDog/datadog-api-client-ruby/pull/3274)
* Add backfilled degradation and maintenance endpoints to Status Pages [#3273](https://github.com/DataDog/datadog-api-client-ruby/pull/3273)
* Add Cloud Cost Management ListCostOCIConfigs endpoint [#3272](https://github.com/DataDog/datadog-api-client-ruby/pull/3272)
* Add Observability pipelines databricks_zerobus destination [#3266](https://github.com/DataDog/datadog-api-client-ruby/pull/3266)
* Add infra_storage_mgmt_objects_count_avg fields to usage summary API [#3265](https://github.com/DataDog/datadog-api-client-ruby/pull/3265)
* RUM - Add Source Map Intake API endpoint specification [#3264](https://github.com/DataDog/datadog-api-client-ruby/pull/3264)
* Document bulk delete security monitoring rules endpoint [#3260](https://github.com/DataDog/datadog-api-client-ruby/pull/3260)
* Add compliance_host to Agentless Scanning scan options [#3259](https://github.com/DataDog/datadog-api-client-ruby/pull/3259)
* Add MuteSecurityFindings endpoint spec [#3253](https://github.com/DataDog/datadog-api-client-ruby/pull/3253)
* Add OpenAPI documentation for Synthetics downtime endpoints [#3252](https://github.com/DataDog/datadog-api-client-ruby/pull/3252)
* Add feature_flags_config_requests to usage summary API [#3225](https://github.com/DataDog/datadog-api-client-ruby/pull/3225)
* Add specs for ListOrgsV2 and DeleteUserInvitations [#3206](https://github.com/DataDog/datadog-api-client-ruby/pull/3206)
* Add infra_host_basic and eph_infra_host_basic to usage metering API [#3178](https://github.com/DataDog/datadog-api-client-ruby/pull/3178)

### Changed
* Mark email transport webhook endpoint as private [#3318](https://github.com/DataDog/datadog-api-client-ruby/pull/3318)
* Mark Test Optimization endpoints as stable [#3270](https://github.com/DataDog/datadog-api-client-ruby/pull/3270)
* Document Annotations label schema API for AI Observability [#3268](https://github.com/DataDog/datadog-api-client-ruby/pull/3268)
* Security Monitoring - expand learningDuration and forgetAfter to support up to 30 days [#3231](https://github.com/DataDog/datadog-api-client-ruby/pull/3231)

### Removed
* Remove deprecated incident teams endpoints [#3304](https://github.com/DataDog/datadog-api-client-ruby/pull/3304)
* Remove deprecated allocation key fields from feature flags API [#3247](https://github.com/DataDog/datadog-api-client-ruby/pull/3247)

### Fixed
* Widgets API - add complete create/update example for cloud_cost_summary [#3286](https://github.com/DataDog/datadog-api-client-ruby/pull/3286)
* Fix Org Groups pagination response shape (meta.page + links) [#3279](https://github.com/DataDog/datadog-api-client-ruby/pull/3279)
* Clarify metrics API query strings [#3269](https://github.com/DataDog/datadog-api-client-ruby/pull/3269)

### Deprecated
* Update Status Pages API documentation to reflect deprecation of creating a published status page [#3256](https://github.com/DataDog/datadog-api-client-ruby/pull/3256)

## 2.53.0/2026-04-24

### Changed
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Get the Cloud Cost Management billing currency returns "OK" response

require "datadog_api_client"
DatadogAPIClient.configure do |config|
config.unstable_operations["v2.get_cost_tag_metadata_currency".to_sym] = true
end
api_instance = DatadogAPIClient::V2::CloudCostManagementAPI.new
p api_instance.get_cost_tag_metadata_currency("filter[month]")
8 changes: 8 additions & 0 deletions examples/v2/cloud-cost-management/ListCostTagKeySources.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# List Cloud Cost Management tag sources returns "OK" response

require "datadog_api_client"
DatadogAPIClient.configure do |config|
config.unstable_operations["v2.list_cost_tag_key_sources".to_sym] = true
end
api_instance = DatadogAPIClient::V2::CloudCostManagementAPI.new
p api_instance.list_cost_tag_key_sources("filter[month]")
8 changes: 8 additions & 0 deletions examples/v2/cloud-cost-management/ListCostTagMetadata.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# List Cloud Cost Management tag key metadata returns "OK" response

require "datadog_api_client"
DatadogAPIClient.configure do |config|
config.unstable_operations["v2.list_cost_tag_metadata".to_sym] = true
end
api_instance = DatadogAPIClient::V2::CloudCostManagementAPI.new
p api_instance.list_cost_tag_metadata("filter[month]")
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# List available Cloud Cost Management metrics returns "OK" response

require "datadog_api_client"
DatadogAPIClient.configure do |config|
config.unstable_operations["v2.list_cost_tag_metadata_metrics".to_sym] = true
end
api_instance = DatadogAPIClient::V2::CloudCostManagementAPI.new
p api_instance.list_cost_tag_metadata_metrics("filter[month]")
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# List Cloud Cost Management orchestrators returns "OK" response

require "datadog_api_client"
DatadogAPIClient.configure do |config|
config.unstable_operations["v2.list_cost_tag_metadata_orchestrators".to_sym] = true
end
api_instance = DatadogAPIClient::V2::CloudCostManagementAPI.new
p api_instance.list_cost_tag_metadata_orchestrators("filter[month]")
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@
data: DatadogAPIClient::V2::LLMObsAnnotationQueueInteractionsDataRequest.new({
attributes: DatadogAPIClient::V2::LLMObsAnnotationQueueInteractionsDataAttributesRequest.new({
interactions: [
DatadogAPIClient::V2::LLMObsAnnotationQueueInteractionItem.new({
DatadogAPIClient::V2::LLMObsTraceInteractionItem.new({
content_id: "trace-abc-123",
type: DatadogAPIClient::V2::LLMObsInteractionType::TRACE,
type: DatadogAPIClient::V2::LLMObsTraceInteractionType::TRACE,
}),
],
}),
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# Add a display_block interaction returns "Created" response

require "datadog_api_client"
DatadogAPIClient.configure do |config|
config.unstable_operations["v2.create_llm_obs_annotation_queue_interactions".to_sym] = true
end
api_instance = DatadogAPIClient::V2::LLMObservabilityAPI.new

body = DatadogAPIClient::V2::LLMObsAnnotationQueueInteractionsRequest.new({
data: DatadogAPIClient::V2::LLMObsAnnotationQueueInteractionsDataRequest.new({
attributes: DatadogAPIClient::V2::LLMObsAnnotationQueueInteractionsDataAttributesRequest.new({
interactions: [
DatadogAPIClient::V2::LLMObsDisplayBlockInteractionItem.new({
type: DatadogAPIClient::V2::LLMObsDisplayBlockInteractionType::DISPLAY_BLOCK,
display_block: [
DatadogAPIClient::V2::LLMObsContentBlock.new({
type: DatadogAPIClient::V2::LLMObsContentBlockType::MARKDOWN,
content: "## Triage Instructions",
}),
],
}),
],
}),
type: DatadogAPIClient::V2::LLMObsAnnotationQueueInteractionsType::INTERACTIONS,
}),
})
p api_instance.create_llm_obs_annotation_queue_interactions("queue_id", body)
23 changes: 23 additions & 0 deletions features/scenarios_model_mapping.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2315,6 +2315,29 @@
"filter_metric" => "String",
"page_size" => "Integer",
},
"v2.ListCostTagMetadata" => {
"filter_month" => "String",
"filter_provider" => "String",
"filter_metric" => "String",
"filter_tag_key" => "String",
"filter_daily" => "CostTagMetadataDailyFilter",
},
"v2.GetCostTagMetadataCurrency" => {
"filter_month" => "String",
"filter_provider" => "String",
},
"v2.ListCostTagMetadataMetrics" => {
"filter_month" => "String",
"filter_provider" => "String",
},
"v2.ListCostTagMetadataOrchestrators" => {
"filter_month" => "String",
"filter_provider" => "String",
},
"v2.ListCostTagKeySources" => {
"filter_month" => "String",
"filter_provider" => "String",
},
"v2.ListCostTags" => {
"filter_metric" => "String",
"filter_match" => "String",
Expand Down
80 changes: 80 additions & 0 deletions features/v2/cloud_cost_management.feature
Original file line number Diff line number Diff line change
Expand Up @@ -520,6 +520,22 @@ Feature: Cloud Cost Management
When the request is sent
Then the response status is 200 OK

@generated @skip @team:DataDog/cloud-cost-management
Scenario: Get the Cloud Cost Management billing currency returns "Bad Request" response
Given operation "GetCostTagMetadataCurrency" enabled
And new "GetCostTagMetadataCurrency" request
And request contains "filter[month]" parameter from "REPLACE.ME"
When the request is sent
Then the response status is 400 Bad Request

@generated @skip @team:DataDog/cloud-cost-management
Scenario: Get the Cloud Cost Management billing currency returns "OK" response
Given operation "GetCostTagMetadataCurrency" enabled
And new "GetCostTagMetadataCurrency" request
And request contains "filter[month]" parameter from "REPLACE.ME"
When the request is sent
Then the response status is 200 OK

@replay-only @team:DataDog/cloud-cost-management
Scenario: List Cloud Cost Management AWS CUR configs returns "OK" response
Given new "ListCostAWSCURConfigs" request
Expand All @@ -540,12 +556,44 @@ Feature: Cloud Cost Management
When the request is sent
Then the response status is 200 OK

@generated @skip @team:DataDog/cloud-cost-management
Scenario: List Cloud Cost Management orchestrators returns "Bad Request" response
Given operation "ListCostTagMetadataOrchestrators" enabled
And new "ListCostTagMetadataOrchestrators" request
And request contains "filter[month]" parameter from "REPLACE.ME"
When the request is sent
Then the response status is 400 Bad Request

@generated @skip @team:DataDog/cloud-cost-management
Scenario: List Cloud Cost Management orchestrators returns "OK" response
Given operation "ListCostTagMetadataOrchestrators" enabled
And new "ListCostTagMetadataOrchestrators" request
And request contains "filter[month]" parameter from "REPLACE.ME"
When the request is sent
Then the response status is 200 OK

@generated @skip @team:DataDog/cloud-cost-management
Scenario: List Cloud Cost Management tag descriptions returns "OK" response
Given new "ListCostTagDescriptions" request
When the request is sent
Then the response status is 200 OK

@generated @skip @team:DataDog/cloud-cost-management
Scenario: List Cloud Cost Management tag key metadata returns "Bad Request" response
Given operation "ListCostTagMetadata" enabled
And new "ListCostTagMetadata" request
And request contains "filter[month]" parameter from "REPLACE.ME"
When the request is sent
Then the response status is 400 Bad Request

@generated @skip @team:DataDog/cloud-cost-management
Scenario: List Cloud Cost Management tag key metadata returns "OK" response
Given operation "ListCostTagMetadata" enabled
And new "ListCostTagMetadata" request
And request contains "filter[month]" parameter from "REPLACE.ME"
When the request is sent
Then the response status is 200 OK

@generated @skip @team:DataDog/cloud-cost-management
Scenario: List Cloud Cost Management tag keys returns "Bad Request" response
Given new "ListCostTagKeys" request
Expand All @@ -558,6 +606,22 @@ Feature: Cloud Cost Management
When the request is sent
Then the response status is 200 OK

@generated @skip @team:DataDog/cloud-cost-management
Scenario: List Cloud Cost Management tag sources returns "Bad Request" response
Given operation "ListCostTagKeySources" enabled
And new "ListCostTagKeySources" request
And request contains "filter[month]" parameter from "REPLACE.ME"
When the request is sent
Then the response status is 400 Bad Request

@generated @skip @team:DataDog/cloud-cost-management
Scenario: List Cloud Cost Management tag sources returns "OK" response
Given operation "ListCostTagKeySources" enabled
And new "ListCostTagKeySources" request
And request contains "filter[month]" parameter from "REPLACE.ME"
When the request is sent
Then the response status is 200 OK

@generated @skip @team:DataDog/cloud-cost-management
Scenario: List Cloud Cost Management tags returns "Bad Request" response
Given new "ListCostTags" request
Expand Down Expand Up @@ -596,6 +660,22 @@ Feature: Cloud Cost Management
When the request is sent
Then the response status is 200 OK

@generated @skip @team:DataDog/cloud-cost-management
Scenario: List available Cloud Cost Management metrics returns "Bad Request" response
Given operation "ListCostTagMetadataMetrics" enabled
And new "ListCostTagMetadataMetrics" request
And request contains "filter[month]" parameter from "REPLACE.ME"
When the request is sent
Then the response status is 400 Bad Request

@generated @skip @team:DataDog/cloud-cost-management
Scenario: List available Cloud Cost Management metrics returns "OK" response
Given operation "ListCostTagMetadataMetrics" enabled
And new "ListCostTagMetadataMetrics" request
And request contains "filter[month]" parameter from "REPLACE.ME"
When the request is sent
Then the response status is 200 OK

@team:DataDog/cloud-cost-management
Scenario: List budgets returns "OK" response
Given new "ListBudgets" request
Expand Down
6 changes: 3 additions & 3 deletions features/v2/incidents.feature
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,7 @@ Feature: Incidents
When the request is sent
Then the response status is 400 Bad Request

@team:Datadog/incident-app
@skip-terraform-config @team:Datadog/incident-app
Scenario: Create incident notification template returns "Created" response
Given there is a valid "incident_type" in the system
And operation "CreateIncidentNotificationTemplate" enabled
Expand Down Expand Up @@ -497,7 +497,7 @@ Feature: Incidents
When the request is sent
Then the response status is 404 Not Found

@skip-validation @team:Datadog/incident-app
@skip-terraform-config @skip-validation @team:Datadog/incident-app
Scenario: Delete an incident type returns "OK" response
Given operation "DeleteIncidentType" enabled
And new "DeleteIncidentType" request
Expand Down Expand Up @@ -1311,7 +1311,7 @@ Feature: Incidents
When the request is sent
Then the response status is 404 Not Found

@skip-validation @team:Datadog/incident-app
@skip-terraform-config @skip-validation @team:Datadog/incident-app
Scenario: Update an incident type returns "OK" response
Given operation "UpdateIncidentType" enabled
And new "UpdateIncidentType" request
Expand Down
18 changes: 18 additions & 0 deletions features/v2/llm_observability.feature
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,24 @@ Feature: LLM Observability
And a valid "appKeyAuth" key in the system
And an instance of "LLMObservability" API

@skip @team:DataDog/ml-observability
Scenario: Add a display_block interaction returns "Created" response
Given operation "CreateLLMObsAnnotationQueueInteractions" enabled
And new "CreateLLMObsAnnotationQueueInteractions" request
And request contains "queue_id" parameter from "REPLACE.ME"
And body with value {"data": {"attributes": {"interactions": [{"type": "display_block", "display_block": [{"type": "markdown", "content": "## Triage Instructions"}]}]}, "type": "interactions"}}
When the request is sent
Then the response status is 201 Created

@skip @team:DataDog/ml-observability
Scenario: Add a display_block interaction with an image block missing url returns "Bad Request" response
Given operation "CreateLLMObsAnnotationQueueInteractions" enabled
And new "CreateLLMObsAnnotationQueueInteractions" request
And request contains "queue_id" parameter from "REPLACE.ME"
And body with value {"data": {"attributes": {"interactions": [{"type": "display_block", "display_block": [{"type": "image"}]}]}, "type": "interactions"}}
When the request is sent
Then the response status is 400 Bad Request

@generated @skip @team:DataDog/ml-observability
Scenario: Add annotation queue interactions returns "Bad Request" response
Given operation "CreateLLMObsAnnotationQueueInteractions" enabled
Expand Down
30 changes: 30 additions & 0 deletions features/v2/undo.json
Original file line number Diff line number Diff line change
Expand Up @@ -1609,6 +1609,36 @@
"type": "safe"
}
},
"ListCostTagMetadata": {
"tag": "Cloud Cost Management",
"undo": {
"type": "safe"
}
},
"GetCostTagMetadataCurrency": {
"tag": "Cloud Cost Management",
"undo": {
"type": "safe"
}
},
"ListCostTagMetadataMetrics": {
"tag": "Cloud Cost Management",
"undo": {
"type": "safe"
}
},
"ListCostTagMetadataOrchestrators": {
"tag": "Cloud Cost Management",
"undo": {
"type": "safe"
}
},
"ListCostTagKeySources": {
"tag": "Cloud Cost Management",
"undo": {
"type": "safe"
}
},
"ListCostTags": {
"tag": "Cloud Cost Management",
"undo": {
Expand Down
5 changes: 5 additions & 0 deletions lib/datadog_api_client/configuration.rb
Original file line number Diff line number Diff line change
Expand Up @@ -303,7 +303,12 @@ def initialize
"v2.get_commitments_utilization_scalar": false,
"v2.get_commitments_utilization_timeseries": false,
"v2.get_cost_anomaly": false,
"v2.get_cost_tag_metadata_currency": false,
"v2.list_cost_anomalies": false,
"v2.list_cost_tag_key_sources": false,
"v2.list_cost_tag_metadata": false,
"v2.list_cost_tag_metadata_metrics": false,
"v2.list_cost_tag_metadata_orchestrators": false,
"v2.create_dashboard_secure_embed": false,
"v2.delete_dashboard_secure_embed": false,
"v2.get_dashboard_secure_embed": false,
Expand Down
Loading
Loading