settings
Authorizations
Your Algolia application ID.
Your Algolia API key with the necessary permissions to make the request. Permissions are controlled through access control lists (ACL) and access restrictions. The required ACL to make a request is listed in each endpoint's reference.
Path Parameters
Name of the index on which to perform the operation.
"ALGOLIA_INDEX_NAME"
related-products
, bought-together
, trending-facets
, trending-items
Body
Recommend rules parameters.
Search query.
Only search for rules with matching context.
"mobile"
Requested page of the API response.
Algolia uses page
and hitsPerPage
to control how search results are displayed (paginated).
hitsPerPage
: sets the number of search results (hits) displayed per page.page
: specifies the page number of the search results you want to retrieve. Page numbering starts at 0, so the first page ispage=0
, the second ispage=1
, and so on.
For example, to display 10 results per page starting from the third page, set hitsPerPage
to 10 and page
to 2.
x >= 0
Maximum number of hits per page.
Algolia uses page
and hitsPerPage
to control how search results are displayed (paginated).
hitsPerPage
: sets the number of search results (hits) displayed per page.page
: specifies the page number of the search results you want to retrieve. Page numbering starts at 0, so the first page ispage=0
, the second ispage=1
, and so on.
For example, to display 10 results per page starting from the third page, set hitsPerPage
to 10 and page
to 2.
1 <= x <= 1000
Whether to only show rules where the value of their enabled
property matches this parameter.
If absent, show all rules, regardless of their enabled
property.
Filter expression. This only searches for rules matching the filter expression.
"objectID:rr-123456"
Include facets and facet values in the response. Use ['*']
to include all facets.
Facet name for rule objects or *
as wildcard character.
["*"]
Maximum number of values to return for each facet.
1 <= x <= 1000