Budget & Spend Tracking
Get Team Spend Report
Get spend for the calling key's team over a date range, grouped by api_key with a per-model breakdown.
Callable by any key that belongs to a team: non-admin callers are always scoped to their key's team_id, while proxy admins may pass ?team_id= to view any team.
get/team/spend/report
Request
- Base URL: https://docs.litellm.com.cn (the document declares no server; this is the origin it was published from)
- URL: https://docs.litellm.com.cn/team/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)
team_idstring nullable
View spend for a specific team_id. Proxy admin only; other callers are scoped to their key's team.
Response
Successful Response
object[] required
Changes
No recorded changes to this operation across all 1 revision of this API.