List usage
Your team's requests, newest first, with tokens and settled cost. Page through any period with the cursor, as JSON or CSV. Any key of the team reads the whole team's usage; narrow it with the filters.
Query
- limitintegeroptional
Rows per page,
1to1000. Defaults to50. - cursorstringoptional
The
next_cursorof the page before. Pages run backwards in time, so a cursor stays valid while new requests arrive. Keep the same filters from page to page. - from, toISO 8601optional
Requests created at or after
fromand beforeto, such as2026-10-01or2026-10-01T00:00:00Z. - project, environment, keystringoptional
Only requests of that project, environment or API key, by id.
- modelstringoptional
Only requests answered by this model (or asking for it, when none answered).
- endpointstringoptional
chat.completions,messages,responses,embeddings,evaluateorsuggest. - sessionstringoptional
Only requests of one session (
ib-session), such as an Auditor review. - end_userstringoptional
Only requests for one of your end users, exactly as sent (
ib-useroruser). - tagstringoptional
Only requests carrying this tag, exactly. Combine with
end_userfor one user's spend on one feature. - billing_statestringoptional
One of
reserved,awaiting_usage,settled,released,disputed(usage under review) oradjusted. - formatjson | csvoptional
csv(orAccept: text/csv) returns the page as CSV with a header row, one column per field (usage and cost flattened, tags comma-separated in one cell); the next cursor is in theX-Next-Cursorresponse header, absent on the last page.
Response
- data[].modelstringrequired
The model that answered, or the one requested if none did.
- data[].created_at, completed_atstringrequired
ISO 8601 in UTC.
completed_atisnullwhile the request runs. - data[].transport_state, billing_state, error_codestringrequired
As on the receipt;
error_codeisnullfor a success. - data[].end_user, tagsstring | null, string[]required
Who the request was for and its tags, as sent;
nulland[]when none were. - data[].usageobject | nullrequired
Tokens across the request's attempts;
nulluntil usage is known. - data[].costobject | nullrequired
Decimal strings in USD: what the request cost upstream, the platform fee, and the charge to your balance.
nulluntil the request settles.data[].customer_chargerepeats the charge for older clients. - has_morebooleanrequired
Whether older rows match.
- next_cursorstring | nullrequired
Pass as
cursorfor the next page;nullon the last one.