| Queries can be done on the space.type field which can have these three possible values:
- personal
- global
- favourite, favorite
https://developer.atlassian.com/server/confluence/advanced-searching-using-cql/#space-type Personal spaces would be those starting with a tilde (watch out for the name strategies that remove it form the space name, we can still query ConfluencePageClass objects though. favo(u)rite can be supported by looking up the user's favorites (Favorites Application) |