Tracking Usage
To monitor customer usage and enforce limits or billing, record each usage event with Metrifox. Send Usage Events Use theCheckAccess method to log consumable feature usage, such as AI image generations, Credits, API calls.
Each time a customer uses a feature:
- Call the
RecordUsage - Include relevant metadata (e.g. feature Key, quantity, timestamp)
- Metrifox updates the customer’s usage balance accordingly
SDK available in
Javascript | Ruby | cURL | Python | PHP | Go | Java
Adjusting Usage Balances
In addition to tracking consumption, you can also increase a customer’s balance for a feature by sending a negative value withEntitlementTrack.
Use Case: Reclaiming Seats
If a customer removes a seat, you can:
- Send a negative quantity to credit back usage
- Restore their available balance for future use

