MeterPreviewInput

A saved meter (meterId), or a definition to try: eventName with optional filters, aggregation and productId.

  • What each matching signal adds: 1 (count), or the number at field in its data (sum; a field that's missing, negative or not a number adds 0). A signal from a customer unit that isn't billable adds 0 either way.

    Properties: 2
  • Required without meterId.

  • Properties: 3
  • Start of the window, inclusive. Defaults to 30 days before to.

  • A saved meter. Its definition fields are ignored when this is sent.

  • Without meterId, measure as a meter of this product would, leaving out signals sent for other products.

  • End of the window, exclusive. Defaults to now.