more documentation for the QueryApi class