List users
list_usersDiscover and rank users in a namespace. Order by activity, cost, or failure rate without transferring sessions. Results may contain end-user personal data: quote minimally and mask direct identifiers.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"reason": "<reason>",
"user_intent": "<user_intent>",
"namespace_id": "<namespace_id>"
},
"name": "list_users"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Page size. Defaults to 20. | |
| range | No | all | |
| cursor | No | Opaque cursor from a previous page. | |
| reason | Yes | A short phrase saying why you are calling this tool, for example: find unpaid invoices. | |
| search | No | ||
| order_by | No | last_active_at | |
| cohort_id | No | ||
| user_intent | Yes | One sentence describing what the user is trying to accomplish. Keep it the same across calls until the user's goal changes. | |
| namespace_id | Yes | Flowlines namespace UUID. | |
| order_direction | No | desc | |
| minimum_sessions | No | ||
| include_unidentified | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | ||
| notice | No | ||
| truncation | Yes |