itemsForQuery | Get items for a defined query. The response is a list of document IDs and their weights. |
queriesForItem | Get queries for a defined item (a document ID). This finds the top queries that led users to the defined item. The response is a list of query terms and their weights. |
header | The query parameters (in a section named queryParams ) and the total time it took to process the query. |
items | Depending on the recommendation type: |