Org Analytics — Costs
Time-binned credits and USD spend across an org, grouped by product surface.
Authorizations
Timbal API key. Obtain your API key from the Timbal platform settings. See Authentication for more information.
Path Parameters
Query Parameters
Bucket size for aggregation (minute, hour, or day).
minute, hour, day Inclusive range start (epoch milliseconds). Defaults: 1h / 1d / 30d before to by group_by.
Exclusive range end (epoch milliseconds). Defaults to now.
Restrict to spend attributed to a specific user.
Restrict to spend attributed to a single project. Omit for org-wide totals.
Restrict to one product surface (e.g. composer, app_run, kb_query,
kb_file_parsing); legacy selects spend recorded before source
attribution existed.