create_meter
Define usage dimensions for billing products by specifying unit pricing and measurement details to track consumption.
Instructions
Create a meter (usage dimension) for a product
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| productId | Yes | The product ID | |
| name | Yes | Meter identifier (e.g. 'api_calls', 'tokens') | |
| displayName | Yes | Human-readable meter name | |
| unit | Yes | Unit of measurement (e.g. 'request', 'token') | |
| unitPrice | Yes | Price per unit (e.g. '0.001') |