Skip to main content

revenue_statistics_summaries

Creates, updates, deletes, gets or lists a revenue_statistics_summaries resource.

Overview

Namerevenue_statistics_summaries
TypeResource
Idaws.wafv2.revenue_statistics_summaries

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
currencystringThe currency of the revenue amounts. (USDC)
total_amountstringThe total revenue amount in the specified currency.
total_monetize_servedinteger (int64)The total number of HTTP 402 Payment Required responses served to AI agents.
total_settledinteger (int64)The total number of successfully settled payment transactions.
unverified_amountstringThe revenue amount from unverified AI bots.
verified_amountstringThe revenue amount from verified AI bots.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_revenue_statistics_summaryselectregionRetrieves a summary of monetization revenue for the specified time window. Returns total revenue, revenue by verification tier, total settlements, and total HTTP 402 responses served. This operation is only available for CLOUDFRONT scope. The maximum supported time window is 90 days. When no CurrencyMode filter is provided, results default to REAL. To retrieve test data, include a CurrencyMode filter with the value TEST.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
regionstringAWS region (default: us-east-1)

SELECT examples

Retrieves a summary of monetization revenue for the specified time window. Returns total revenue, revenue by verification tier, total settlements, and total HTTP 402 responses served. This operation is only available for CLOUDFRONT scope. The maximum supported time window is 90 days. When no CurrencyMode filter is provided, results default to REAL. To retrieve test data, include a CurrencyMode filter with the value TEST.

SELECT
currency,
total_amount,
total_monetize_served,
total_settled,
unverified_amount,
verified_amount
FROM aws.wafv2.revenue_statistics_summaries
WHERE region = '{{ region }}' -- required
;