How to search users is_online by user_id

I want to search which of these users are online based on the user_id.
What should I do?
The List users API does not query online users.

@latte Could you share what platform(Android, iOS, JavaScript) are you trying to build this on? the Platform API

I’m also looking for is_online filter in the List Users Platform API. Is it possible as of now?