list_users
Identify top users by trace count in your Langfuse project. Query per-user trace counts for a specified time range and limit.
Instructions
List users in the project with per-user trace counts.
Langfuse does not expose a dedicated /users endpoint — this queries the metrics API (grouping traces by userId) and returns the top users by trace count. Use fetch_traces(user_id=...) for a specific user's traces.
If timestamps are omitted, defaults to the last 30 days.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| top_n | No | ||
| project | No | ||
| to_timestamp | No | ||
| from_timestamp | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||