---
title: klevuqueryresult
slug: klevucore-reference/klevuqueryresult
docTags: 
createdAt: 2023-11-09T09:45:59.074Z
---

Ƭ **KlevuQueryResult**: `Object`

Raw query object from api

### Type declaration

| Name                            | Type                                                                                                                                                                                                                                                                                                                                                                                             | Description                                                                                                                                                                                                 |
| ------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `filters?`                      | ([`KlevuFilterResultOptions`](docId\:FNVkZmp1dfTp_h3p4eBVz) \| [`KlevuFilterResultSlider`](docId\:zKpvQRhNOp9EevKLWczEn) \| [`KlevuFilterResultRating`](docId\:SHCU6ypFRKJloKIC1ArIw))\[]                                                                                                                                                                                                        | Currently available filters                                                                                                                                                                                 |
| `id`                            | `string`                                                                                                                                                                                                                                                                                                                                                                                         | Id used when defining query                                                                                                                                                                                 |
| `meta`                          | \{ `apiKey`: `string` ; `debuggingInformation`: `unknown` ; `isPersonalised`: `boolean` ; `klevuImageData?`: \{ `processed`: \{ `urls`: `string`\[]  }\[]  } ; `noOfResults`: `number` ; `notificationCode`: `number` ; `offset`: `number` ; `qTime`: `number` ; `searchedTerm`: `string` ; `totalResultsFound`: `number` ; `typeOfSearch`: [`KlevuTypeOfSearch`](enums/KlevuTypeOfSearch.md)  } | -                                                                                                                                                                                                           |
| `meta.apiKey`                   | `string`                                                                                                                                                                                                                                                                                                                                                                                         | Klevu API key                                                                                                                                                                                               |
| `meta.debuggingInformation`     | `unknown`                                                                                                                                                                                                                                                                                                                                                                                        | Information that can be useful for debugging the query. For example, the actual query that was fired by the Klevu Search engine, inclusive of any synonyms or de-compounded words taken into consideration. |
| `meta.isPersonalised`           | `boolean`                                                                                                                                                                                                                                                                                                                                                                                        | -                                                                                                                                                                                                           |
| `meta.klevuImageData?`          | \{ `processed`: \{ `urls`: `string`\[]  }\[]  }                                                                                                                                                                                                                                                                                                                                                  | The urls processed in case of image search                                                                                                                                                                  |
| `meta.klevuImageData.processed` | \{ `urls`: `string`\[]  }\[]                                                                                                                                                                                                                                                                                                                                                                     | -                                                                                                                                                                                                           |
| `meta.noOfResults`              | `number`                                                                                                                                                                                                                                                                                                                                                                                         | The number of results requested to be returned for this query.                                                                                                                                              |
| `meta.notificationCode`         | `number`                                                                                                                                                                                                                                                                                                                                                                                         | This may be populated with a code if any actions were taken on the record. Possible values are: 1: Nothing to report. 2: The price of the record is using the base currency.                                |
| `meta.offset`                   | `number`                                                                                                                                                                                                                                                                                                                                                                                         | The index of the first result returned in this response.                                                                                                                                                    |
| `meta.qTime`                    | `number`                                                                                                                                                                                                                                                                                                                                                                                         | The time taken by the Klevu Search engine to fetch the response.                                                                                                                                            |
| `meta.searchedTerm`             | `string`                                                                                                                                                                                                                                                                                                                                                                                         | The search term submitted for this query.                                                                                                                                                                   |
| `meta.totalResultsFound`        | `number`                                                                                                                                                                                                                                                                                                                                                                                         | The total number of results found for this query.                                                                                                                                                           |
| `meta.typeOfSearch`             | [`KlevuTypeOfSearch`](enums/KlevuTypeOfSearch.md)                                                                                                                                                                                                                                                                                                                                                | The query type that was executed by Klevu to retrieve the results.                                                                                                                                          |
| `records`                       | \{ `id`: `string`  } & [`KlevuRecord`](docId\:vA8Kz9WZX3r_nThlqQ1i4)\[]                                                                                                                                                                                                                                                                                                                          | -                                                                                                                                                                                                           |

### Defined in

[models/KlevuApiRawResponse.ts:110](https://github.com/klevultd/frontend-sdk/blob/492d3760/packages/klevu-core/src/models/KlevuApiRawResponse.ts#L110)
