Request
Logical key used to deduplicate the event.
The broad event kind configured in Unprice, for example
completions.The customer ID. Required when the API key has no default customer binding.
Event properties used by meters. One async event can carry multiple measured fields, for
example
aiMessages, aiGenerations, aiTools, inputTokens, and outputTokens.Optional epoch-millisecond event timestamp.
usage.record does not block paid work. Use it for async metering, analytics, and invoice evidence,
not for request-path spend enforcement.
For async reporting, eventSlug names what happened. Each meter on matching features chooses which
property to aggregate from that event. That lets one completions event update several features such
as ai-messages, ai-generations, and ai-tools.