post https://api.withreload.com/v1/tp/usage
Reports usage data and optionally charges the user. This is the main endpoint for tracking AI agent usage.
Charging Users:
- Set
chargeUser: trueto charge the user for the usage - When charging is enabled, the user's billing account will be charged the
totalCostamount - Use the preview endpoint first to check if the charge will succeed
Authentication Required:
- Client Credentials (Basic Auth)
- OAuth Access Token with
usage_reportingpermission - OAuth Access Token with
paymentpermission (whenchargeUser: true)
