platform

Your credits and usage

Changed on

Your plan, credits used this billing cycle, what is left of your monthly allowance, usage over the last days days by day, by endpoint group and by key, and the next plan up.

A signed-in session reads its own account and a personal API key reads its owner's; you cannot read anyone else's. An organization API key or a server token has no personal account (403). Costs 0 credits.

get/v2/account/usage

Request

  • Base URL
    https://api.cardog.app
  • Auth
    • API key in header x-api-key
    • or HTTP bearer

Query parameters

days, integer

How many days back to report, in UTC days (1 to 90, default 14)

Response

Your plan, this cycle's credits and your usage

AccountUsage required
plan, object required

Your plan

cycle, object required

The current billing cycle

credits, object required

Your credits this cycle

window, object required

The period daily, families and keys cover

daily, object[] required

One entry per UTC day in the window, oldest first. A day with no calls shows 0.

families, object[] required

Use in the window per group of endpoints, most credits first

keys, object[] required

Use in the window per API key, most credits first

nextPlan, object nullable required

The next plan up on GET /v2/pricing. Null on the top plan.

links, object required

self: this endpoint. pricing: the price list.

Changes