Get User Spend Report
Get spend for the calling user over a date range, grouped by api_key with a per-model breakdown.
Same row shape as /global/spend/report?internal_user_id=..., but callable by any key with a user: non-admin callers are always scoped to their own user_id, while proxy admins may pass ?internal_user_id= to view any user.
Query parameters
Time from which to start viewing spend (YYYY-MM-DD)
Time from which to start viewing spend (YYYY-MM-DD)
Time till which to view spend (YYYY-MM-DD)
Time till which to view spend (YYYY-MM-DD)
View spend for a specific internal_user_id. Proxy admin only; other callers are scoped to their own user_id.
View spend for a specific internal_user_id. Proxy admin only; other callers are scoped to their own user_id.
Response
Successful Response
Changes
Changed in 1 of the 42 revisions of this API.1
- ○
endpoint added
endpoint-added
This revision also has 5 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ○