# Get hourly usage for Application Security returns "OK" response require "datadog_api_client" api_instance = DatadogAPIClient::V2::UsageMeteringAPI.new opts = { end_hr: (Time.now + -3 * 86400), } p api_instance.get_usage_application_security_monitoring((Time.now + -5 * 86400), opts)