Budget & Spend Tracking
Get Key Spend Report
Get spend for the calling api_key over a date range, with a per-model breakdown.
Same row shape as /global/spend/report?api_key=..., but callable by any key: non-admin callers are always scoped to their own api_key, while proxy admins may pass ?api_key= to view any key.
get/key/spend/report
Request
- Base URL: https://apiclaw.biz (the document declares no server; this is the origin it was published from)
- URL: https://apiclaw.biz/key/spend/report
- Auth: API key in header x-litellm-api-key
Query parameters
start_datestring nullable
Time from which to start viewing spend (YYYY-MM-DD)
end_datestring nullable
Time till which to view spend (YYYY-MM-DD)
api_keystring nullable
View spend for a specific api_key. Proxy admin only; other callers are scoped to their own key. Pass the key's sha256 hash so the raw key stays out of URLs and access logs. Example api_key='d5345c0ecc68ae6295c69f91926b2bd379e25481a40c34b5884d157a9f65d8fa'
Response
Successful Response
object[] required
Changes
No recorded changes to this operation across all 1 revision of this API.