Creates a usage meter on a product. The product must be a subscription with pricing_model set to USAGE_BASED. A product can have up to 10 meters. Requires the METERS_WRITE scope.
Documentation Index
Fetch the complete documentation index at: https://docs.pandabase.io/llms.txt
Use this file to discover all available pages before exploring further.
Bearer token authentication. Pass the secret directly in the Authorization header. Token secrets start with sk_.
8 - 3212 - 4812 - 48Name reported on POST /v2/core/.../usage; unique per product.
1 - 64^[a-zA-Z0-9_.-]+$Cents per unitQuantity units. Zero allowed for free meters.
0 <= x <= 100000000SUM Denominator for unitPrice. E.g. 1_000_000 for '$3 / 1M tokens'.
1 <= x <= 1000000000ARREARS Units included in base fee before metering kicks in. Only for BASE_PLUS_OVERAGE.
x >= 0