Our system has a large number of users who previously accessed one of our APIs. However, some of these users haven't interacted with the API in several months. We'd like to identify these inactive users and send them a notification reminding them of their access. The notification will inform them that their access may be revoked if they don't take any action to maintain it.
Is there a specific API call or example script available within our system that allows us to retrieve a list of users based on their inactivity (i.e., users who haven't made any API calls for a certain period)?