API Reference
Log In
API Reference

Get Daily Cost and Credits Breakdown

Retrieves a per-day breakdown of cost and credits applied for the authenticated user's
organization, grouped by (date, provider, model).

Returns a flat list of rows (one per date × provider × model) plus organization-wide
envelope totals. Suitable for timeseries charts and burn-down analyses.

All costs and credits are in USD. creditsApplied is null on rows where no credits data
is available. The envelope totalCreditsApplied is null only when no row in the page
has a non-null value.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Query Params
string
required

Unique identifier of the team (organization). Format: Revenium hashid (URL-safe encoded string).

string
enum
required

Time period for analytics

Allowed:
string

Filter start date/time in ISO 8601 format.

string

Filter end date/time in ISO 8601 format.

string
enum

Filter results by AI provider. Omit to include all providers.

Allowed:
string
enum

Filter by usage type. Omit to include all types.

Allowed:
number
≥ 0

Filter by a starting cost (inclusive).

number
≥ 0

Filter by an ending cost (inclusive).

Headers
string
enum
Defaults to application/json

Generated from available response content types

Allowed:
Responses

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json
*/*