This endpoint evaluates prices on preview events instead of actual usage, making it ideal for building price calculators and cost estimation tools. You can filter and group results using computed properties to analyze pricing across different dimensions.
Prices may either reference existing prices in your Orb account or be defined inline in the request body. The endpoint has the following limitations:
A top-level customer_id is required to evaluate the preview events. Additionally, all events without a customer_id will have the top-level customer_id added.
Note that this is a POST endpoint rather than a GET endpoint because it employs a JSON body rather than query parameters.
API Keys can be issued in the Orb's web application.
The inclusive lower bound for event timestamps
The exclusive upper bound for event timestamps
The ID of the customer to which this evaluation is scoped.
The external customer ID of the customer to which this evaluation is scoped.
List of preview events to use instead of actual usage data
1 - 500 elementsList of prices to evaluate (max 100)
1 - 100 elementsOK