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