Query types
The MQL API supports four types of queries:
- Metadata query describes the available data.
- List query retrieves the individual records in the data set that you can use to achieve the functionality on the Response tab of the web UI.
- Aggregation query is used to perform such queries as retrieving average scores per month for the past year, much like the web UI’s Satisfaction tab.
- Distribution query probes the distribution of responses across possible values. Use it, for example, to calculate the percentage of people answering 9 or 10 out of 10.