Device idle time isn’t available in the NinjaOne API, but you can still get it

Collecting idle data from the user session with PowerShell and turning it into usable reporting data