# Query$get

### Query$<mark style="color:purple;">get</mark>() → self

Fetches the query metadata, after which query$properties will contain a named list with entries corresponding to the properties on the [query resource definition](https://docs.redivis.com/api/resource-definitions/query). Will raise an error if the query does not exist.

### **Returns**

**self (a** [**Query**](https://docs.redivis.com/api/client-libraries/redivis-r/reference/query)**)**
