# Search for incidents returns "OK" response require "datadog_api_client" DatadogAPIClient::V2.configure do |config| config.unstable_operations["v2.search_incidents".to_sym] = true end api_instance = DatadogAPIClient::V2::IncidentsAPI.new p api_instance.search_incidents("state:(active OR stable OR resolved)")