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.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "list_users"
}
}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 | |||