Skip to main content
GET
Get Usage Cost Summary

Authorizations

Authorization
string
header
required

Project API key (sk-kupe-...) or a Supabase user JWT.

Path Parameters

org_id
string
required

Query Parameters

start_date
string | null
end_date
string | null
currency
string | null

Display currency. APIs default to USD.

Response

Successful Response

Powers the Usage page's top-row tiles.

currency is the requested display currency (API default USD). cost is the period total converted at the latest FX rate. totals stays for older clients and is a single converted entry.

totals
CurrencyCostTotal · object[]
required
minutes_consumed
number
required
currency
string
default:USD
cost
number
default:0
fx_rate
number | null
fx_date
string | null