Unique Task Workers

Hi,
Is it possible to calculate Unique Task Workers using a combination of Camunda REST API calls? I’d like to get the detail of which users have been counted in the UTW metric (e.g. which tasks they completed) as I suspect we have some duplicate user accounts. I was thinking something from /history/task might work but perhaps there’s an more direct way.
Thanks