CPU hours
billable metric over the month of October 2024, broken out by region:
View response
/listBalances
endpoint to understand the current state of a customer’s balance across commits and credits.
For example, consider a customer that has:
/listBalances
endpoint to retrieve information about the prepaid commit and bonus credit from September 1st onward in one response. Because the request includes the include_balance: true
parameter, for each commit or credit a balance
field returns that reflects the amount of commit or credit available to use now. Note that any upcoming, not-yet-started commit or credit segments are not included in this balance as they are not available to use.
View response
/listBalances
endpoint in your backend and present it to end users as a stacked bar chart in your frontend.
View response
View response
dashboard_options
array with a key show_zero_usage_line_items
and value of true
or false
. The default is false
.
/dashboards/getEmbeddableUrl
endpoint to pass the customer_id
and specify the dashboard you want to display.
/dashboards/getEmbeddableUrl
endpoint supports a color_overrides
array to override the color palette and match your design. See the full list of colors.
The image demonstrates where Metronome uses each named color. For example, gray_dark
applies to standard text; primary_medium
applies to selected text.