API Reference
Log In
API Reference

Get billing coverage

Compares the AI cost Revenium metered with what your AI providers billed you, per provider and overall, for the period: how much of each provider's bill the metered usage accounts for (ratio), the billed cost that was not metered (hiddenSpend), and the change from the previous period of the same length (trend). Providers need a connected billing credential to be compared; a provider with metered usage and no billing credential is listed with billingCredentialConnected false and left out of the totals. When the overall ratio cannot be calculated, aggregateRatioUnavailableReason says why.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Query Params
string
enum
Defaults to 30d

The period to compare, ending today in UTC: 24h, 7d, 30d, 90d, or custom with startDate and endDate. Defaults to 30d.

Allowed:
string

First day of a custom period, ISO 8601 in UTC, for example 2026-09-01T00:00:00Z. Only its UTC day is used. Required when period is custom, ignored otherwise.

string

Last day of a custom period, included, ISO 8601 in UTC. At most 366 days after startDate and not in the future. Required when period is custom, ignored otherwise.

string

Narrow the comparison to one provider, for example anthropic. Omit it for every provider.

string

Hashed id of the team to answer for. Optional. With a user token it may be any team the user belongs to; without it the user's default team answers. An API key always answers for its own team, and naming any other team is refused with 403.

Headers
string
enum
Defaults to application/json

Generated from available response content types

Allowed:
Responses

Language
Credentials
Bearer
API Key
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json
application/problem+json