---
title: "Get Team Spend By User"
method: GET
path: "/team/spend/by_user"
tags: ["team management"]
---

# Get Team Spend By User

`GET /team/spend/by_user`

Spend per user within the given teams, attributed per request from spend logs.

Proxy admins may query any team. Team admins and members holding the
`/team/daily/activity` permission see every user of the requested teams;
other members only see their own row.

## Query parameters

- `team_ids` string, nullable
- `start_date` string, nullable
- `end_date` string, nullable

## Response `200`

Successful Response

- TeamUserSpendResponse
  - `start_date` string, required
  - `end_date` string, required
  - `results` TeamUserSpendRow[], required
    - `team_id` string, required
    - `team_alias` string, nullable
    - `user_id` string, required
    - `user_email` string, nullable
    - `user_alias` string, nullable
    - `spend` number
    - `prompt_tokens` integer
    - `completion_tokens` integer
    - `total_tokens` integer
    - `api_requests` integer
    - `successful_requests` integer
    - `failed_requests` integer

## Other responses

- `422` — Validation Error

## Changes

- **2026-09-18** `082b5fabd909` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/flock/apis/litellm-api/changes/team/spend/by_user/get.md)

---

[API](https://skmtc.dev/flock/apis/litellm-api.md) · [All operations](https://skmtc.dev/flock/apis/litellm-api/llms.txt) · [OpenAPI document](https://skmtc.dev/flock/apis/litellm-api/revisions/7ed45f30a5f0?raw)
