Realm Server Queries

Is it possible to query the Atlas server-side DB?
If, for example, one wanted to sync a set of documents, how would they be discovered in the first place?
I’m familiar with realm offline. Just wondering what is available in terms of online queries.