Read user activity log
get_user_activity_logReturn the activity log of the users of this NET Genium instance in a period — every load of an edit form or a view page on the server (opening, submitting, saving and ajax actions), as the database logging records it in the tables stables_stats and sviewpages_stats. For every user and day it returns the time of the first and the last load, the numbers of loads of edit forms and view pages (of them submits and actions), blocks of continuous activity (loads separated by at most gap_minutes) and the most frequent edit forms and view pages; with detail = true also the chronological list of loads. The log does not record reading an already open page without a click, work outside NET Genium or requests of other pages (attachments, printing, portlets of the home page), so an empty day only means that nothing was loaded. The period is at most 31 days.
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": {
"from": "<from>",
"to": "<to>"
},
"name": "get_user_activity_log"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | The last day of the period in the form yyyy-MM-dd (inclusive). | |
| from | Yes | The first day of the period in the form yyyy-MM-dd. | |
| user | No | Optional login name of the user (loginname). Omit to get every user with a record in the log. | |
| detail | No | true = return also the chronological list of loads by days. Default false. | |
| gap_minutes | No | The gap in minutes that separates blocks of activity, 5–240. Default 30. |