Orb What's new in Orb logo
Back to Homepage

What's new in Orb

Subscribe to Updates

Labels

  • All Posts
  • API
  • Dashboard
  • Integrations
  • Performance
  • Subscription Management
  • Billable Metrics
  • Feature
  • Invoices
  • Customer Portal
  • Improvement
  • Tax
  • IT Administration
  • Revenue Reporting
  • Webhooks
  • Plan Configuration
  • Developer Experience
  • Pricing Models
  • Usage Data
  • Coupons
  • Credits
  • Data Exports

Jump to Month

  • May 2025
  • April 2025
  • March 2025
  • February 2025
  • January 2025
  • December 2024
  • November 2024
  • October 2024
  • September 2024
  • August 2024
  • July 2024
  • June 2024
  • May 2024
  • April 2024
  • March 2024
  • February 2024
  • January 2024
  • December 2023
  • October 2023
  • September 2023
  • August 2023
  • July 2023
  • June 2023
  • May 2023
  • April 2023
  • March 2023
  • February 2023
  • January 2023
  • December 2022
  • November 2022
  • October 2022
  • September 2022
  • August 2022
Changelog byAnnounceKit

Create yours, for free!

APIDeveloper Experience
a year ago

Evaluate Price API Endpoint

The evaluate price API endpoint allows you to leverage multiple SQL expressions in order to dynamically query your data, just as you would use SQL expressions in constructing your metric. The set of filter and grouping expressions need not be configured up-front or known to Orb to pre-aggregate; instead, you’re able to perform these actions on-demand as they become necessary. Because SQL expressions are supported (as opposed to more basic support for event properties), you can use conditional statements and other logical operators.

This endpoint could be used to:

  • View usage for your compute metric broken down by cluster_name, where a user may have hundreds of clusters active in a given time period.
  • Build an interactive explorer in your application to view hourly data over a day time range, rather than the default daily views available through Orb’s subscription usage and cost APIs.
  • Provide a view into end customer usage by api_key prefix, allowing users to understand the source of API requests.

Learn more about this endpoint in the Orb docs. Happy query-ing!