Set absolute usage for the current period by recording an adjustment event.
API key from your PriceOS dashboard.
Internal customer ID.
Feature key to set usage for.
Absolute usage value to set for the current usage period.
x >= 0Stable unique identifier for this event. Reuse it on retries and for deduplication.
Optional metadata for the adjustment event (string key/value pairs).
Usage set
Usage set result.
Whether the usage event was applied.
Updated usage total, if applicable.
Adjustment amount applied to reach the requested usage value.
Usage event ID when available.
Reason the usage event was not applied.