Idle time summary
get_idle_summaryRank users by inactive time from productivity records to reveal who was idle longest or has idle time exceeding a specified threshold.
Instructions
Rank users by inactive (idle) time from Productivity/Overall3.
Use for: 'who was idle longest?', 'idle > N hours', InactiveTime totals. Do NOT use list_anomalies for idle — Alerts are formal deviations only.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| period | No | Relative period: today|yesterday|last_7_days|last_30_days (wins over date_from/date_to when set). | |
| date_to | No | End datetime; date-only covers until 23:59:59 that day. | |
| user_id | No | User filter: AliasID as TreeviewUsers NodeType=1. | |
| group_id | No | Group filter: TreeviewUsers NodeType=14 (console group id). | |
| date_from | No | Start datetime YYYY-MM-DD or YYYY-MM-DD HH:MM:SS (full day if date-only). | |
| min_idle_hours | No | Only include users with InactiveTime >= this many hours. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||