Authorizations
API key authentication
Body
Aggregation calculation method for metric values. Sample values: 'SUM' totals all consumption values within the billing period
SUM Explanatory text describing what the metric tracks and how it's used for billing. Sample values: 'Total tokens consumed by Claude language model interactions', 'Gigabytes of cloud storage utilized', 'Count of machine learning inference requests processed', 'Quantity of AI-generated images created', 'Compute hours spent training neural networks', 'Terabytes of data transferred'
The unique identifier of the merchant organization associated with the billable metric.
Human-readable label identifying what this metric measures. Sample values: 'Claude Tokens', 'Storage Capacity', 'Model Inference Calls', 'Generated Images', 'Training Compute Hours', 'Data Transfer Volume'
The unique identifier of the product associated with the billable metric.
Measurement unit used when aggregating this metric's values. Common examples: 'tokens', 'GB', 'calls', 'images', 'hours', 'TB', 'queries', 'requests'
Billing frequency mode selection. Sample values: 'flat' applies fixed periodic charge regardless of consumption, 'usage' applies variable charges based on reported consumption amounts
usage, flat Response
Billable metric created successfully
Unique identifier for a billable metric
billableMetric SUM, MAX, COUNT, COUNT_UNIQUE Unique identifier for an organization
usage, flat Unique identifier for a product