Skip to main content
Reports usage of a metered feature for a customer.

Mutation

Parameters

ReportUsageInput
required
Input for reporting usage

Return Type

Returns a UsageMeasurementWithCurrentUsage with:

Update Behaviors

Examples

Increment Usage

Set Absolute Value

Common Use Cases

Report API calls as they happen for rate limiting.
Update storage usage periodically.
Report usage events for billing calculation.