Retrieve refined queries

šŸ” This endpoint requires HTTP authentication (either Basic or Bearer). For authenticating with Bearer token, required scopes are: facets.refined_queries(r), searchandising.refined_queries(r).

Retrieve all refined queries.

Query Params
string
required
length between 1 and 100

The key of the index to use.

string
enum
Defaults to results

The section of the response to apply rules to, such as results or facets.

Allowed:
string
length between 1 and 100

The section of the index to use. Defaults to Products.

query
array of strings
length between 1 and 100

A list of queries to filter by

Query
string
length ≄ 1
integer
1 to 100
Defaults to 20

The number of results per page to return.

integer
≄ 1

The page of results to return.

integer
≄ 0

The number of results to skip from the beginning. Cannot be used together with page.

string
enum
Defaults to id

The attribute to sort by.

Allowed:
string
enum
Defaults to ascending

The order by which results should be sorted. Only valid in conjunction with sort_by.

Allowed:
string
length between 1 and 100

The ID of the client and version that the request is coming from, such as cio-js-2.90.

Responses

400

Validation Error

401

Credentials are not passed or action is forbidden.

403

The supplied token does not have the required permissions.

429

Rate limit breached

Language
Credentials
:
LoadingLoading…
Response
Choose an example:
application/json