What you spent
Changed onDollars and tokens charged to your account, optionally narrowed by project, session, or time, and optionally broken down by model, project, session, or day.
This reports your own usage. A project you share with collaborators returns what you spent on it, not the project's total — what someone else spends is their financial data, not the project's.
Reads are eventually consistent with a live run: the engine reports usage on an interval, so check asOf before treating a total as final.
Request
- Base URLhttps://davinci-app.com
- AuthHTTP bearer
Query parameters
Narrow to one project. Accepts the bare id or {projectId}--{branch}.
Narrow to one session.
Only count events at or after this time. Omit for all of recorded history.
Only count events at or before this time.
Break the totals down. Omit to receive totals only — totals is always present and always covers the whole scope, whether or not you group.
Response
Usage totals for the scope, and the breakdown if one was asked for.
Changes
- breaking
removed the required property
//////from the response with the status - breaking
removed the required property
/from the response with the status - info
added the required property
//////to the response with the status - info
added the required property
/to the response with the status
- breaking
- info
the
response property const valuefalsewas added for the status - info
the
response property const valuefalsewas added for the status - info
the
response property const valuefalsewas added for the status - info
the
response property const valuefalsewas added for the status - info
the
response property const valuefalsewas added for the status
- info