---
title: "User Info V2"
method: GET
path: "/v2/user/info"
tags: ["Internal User management"]
---

# User Info V2

`GET /v2/user/info`

Lightweight endpoint to get user info. Returns only the user object — no keys, no teams objects.

This is the v2 replacement for /user/info, designed to avoid the "god endpoint" problem
where the old endpoint loaded all keys and teams into memory.

Access control:
- Proxy admins can query any user
- Team admins can query users within their teams
- Internal users can only query themselves (omit user_id or pass own)
- Returns 404 for non-existent users or unauthorized access

Example request:
```
curl -X GET 'http://localhost:4000/v2/user/info?user_id=user123' \
--header 'Authorization: Bearer sk-1234'
```

## Query parameters

- `user_id` string, nullable — User ID in the request parameters

## Response `200`

Successful Response

- UserInfoV2Response — Response model for GET /v2/user/info Returns ONLY the user object - no keys, no teams objects. This is a lightweight alternative to UserInfoResponse.
  - `user_id` string, required
  - `user_email` string, nullable
  - `user_alias` string, nullable
  - `user_role` string, nullable
  - `spend` number
  - `max_budget` number, nullable
  - `models` string[]
  - `budget_duration` string, nullable
  - `budget_reset_at` string, date-time, nullable
  - `metadata` object, nullable
  - `created_at` string, date-time, nullable
  - `updated_at` string, date-time, nullable
  - `sso_user_id` string, nullable
  - `teams` string[]

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/sea-lion/apis/litellm-api.md) · [All operations](https://skmtc.net/sea-lion/apis/litellm-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/sea-lion/litellm-api/revisions/79928a3d37d3/schema)
