Can you query users in a specific directory that have not logged in a specific time frame like 30 days?

Hi,

Looking at the Crowd Rest API documentation and it appears you can send a REST request with a CQL to query crowd see Crowd 5.1.1

I have looked into the CQL documentation and it appears you can search for basic user information like name, email etc but there is no example where I can search for users that live in a specific directory, that have not logged in for a specified time frame.

Is this possible with CQL as there is no example in the documentation.