Usage Summary

Remaining balance plus AI usage in a window (default last 30 days, maximum 90). Includes `daily[]` buckets, a `teams[]` breakdown, `untagged` for runs with no `team_id`, and recent runs. `charged_credits` is the settled 1:1 deduction. Query `since`, `until`, and `limit` (1-200, default 50). Accepts `mcp:read` or `agents:run`. Not available on `/mcp`.

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Headers

x-api-pathstring or nullOptional

Query parameters

sincestring or nullOptional
untilstring or nullOptional
limitintegerOptionalDefaults to 50

Response

Successful Response
period_startstring
period_endstring
creditsobject
Fractional Coda credits remaining on the authenticated account.
requested_creditsdouble
charged_creditsdouble
tokensobject

Metered model tokens. Prompt = input; completion = output.

dailylist of objects
runslist of objects
teamslist of objectsOptional
untaggedobject or nullOptional
Usage attributed to one team on the token account.

Errors

422
Unprocessable Entity Error