Get user activity
get_user_activityDrill into one user's activity timeline, costs, outcomes, agents, intents, signals, and representative 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>",
"user_id": "<user_id>"
},
"name": "get_user_activity"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| range | No | 30d | |
| reason | Yes | A short phrase saying why you are calling this tool, for example: find unpaid invoices. | |
| user_id | Yes | Flowlines user ID returned by list_users; not a name or email from a transcript. | |
| interval | No | day | |
| 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. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | ||
| notice | No | ||
| truncation | Yes |