API key authentication
Line item label shown on customer invoices. Sample values: 'Claude Token Consumption', 'Storage Usage (GB)', 'Inference API Calls', 'Image Generation Count', 'Training Compute Hours', 'Data Transfer (TB)'
Billing timing preference. For billable metrics: 'instant' (charges immediately) or 'in_arrears' (charges at period end). For fees: 'in_advance' (charges upfront) or 'in_arrears' (charges at period end).
instant, in_arrears, in_advance Standard pricing model
The unique identifier for the billable metric referred to by this price. Either billableMetricId or feeId must be provided.
The unique identifier for the fee referred to by this price. Either billableMetricId or feeId must be provided.
Pricing calculation model. Required for billable metrics, optional for fees (defaults to 'standard').
standard, dynamic, volume, percentage ISO 8601 duration for recurring charges (e.g., 'P1M' for monthly, 'P1Y' for yearly) or 'P0D' for one-time charges. Required for fees, optional for billable metrics. Sample values: 'P0D' for one-time, 'P1M' for monthly recurring, 'P1Y' for yearly recurring
Price created successfully
Unique identifier for a price
price instant, in_arrears, in_advance Standard pricing model
Unique identifier for a billable metric
The unique identifier for the fee referred to by this price. Present when price is linked to a fee.
ISO 8601 duration. 'P0D' for one-time, 'P1M' for monthly, 'P1Y' for yearly. Required for fees, optional for billable metrics. Defaults to plan's billingCadence if not specified.
standard, dynamic, volume, percentage