Estimate usage credit cost
Estimates the credit cost of a usage report without recording it. Returns the estimated cost per credit currency, the current balance, and the balance after the estimated consumption.
Authorizations
Server API Key
Headers
Account ID — optional when authenticating with a user JWT (Bearer token); falls back to the user's first membership. Ignored for API-key auth.
Environment ID — required when authenticating with a user JWT (Bearer token) on environment-scoped endpoints. Ignored for API-key auth (env is intrinsic to the key).
Body
Estimate the credit cost of a usage report before reporting it
The value to report for usage
x >= -9007199254740991Feature id
1 - 255^[a-zA-Z0-9][a-zA-Z0-9_|.-]*$Customer id
1 - 255^[a-zA-Z0-9][a-zA-Z0-9_|.@-]*$Resource id
1 - 255^[a-zA-Z0-9][a-zA-Z0-9_|.-]*$The method by which the usage value should be updated
DELTA, SET Additional dimensions for the usage report
Response
The credit cost estimation, including per-currency costs, balances, and warnings.
Response object
Estimated credit cost, current balance and balance after
