Deprecated
Record Usage (Deprecated)
Deprecated. Use POST /api/credits/consume instead.
POST
Records a usage event for a tenant. Crovver accumulates these events and checks them against the plan’s
limits when check-usage-limit is called.
Request Body
The external tenant ID
The metric to record (must match a key in
plan.limits)Amount to add. Defaults to
1.Optional context (e.g., which user triggered the event)
Authentication
Requires a secret key (Authorization: Bearer sk_live_...).