# Get hourly usage for audit logs 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_audit_logs((Time.now + -5 * 86400), opts)