> Portal Navigation: > > - Append `.md` to any URL under `https://dev.wix.com/docs/` to get its markdown version. > - Pages are either content pages (article or reference text) or menu pages (a list of links to child pages). > - To get a menu page, truncate any URL to a parent path and append `.md` (e.g. `https://dev.wix.com/docs/sdk.md`, `https://dev.wix.com/docs/sdk/core-modules.md`). > - Top-level index of all portals: https://dev.wix.com/docs/llms.txt > - Full concatenated docs: https://dev.wix.com/docs/llms-full.txt # Method name: listAvailableAlgorithms() # Method package: wixEcomBackend # Method menu location: wixEcomBackend --> recommendations --> listAvailableAlgorithms # Method Link: https://dev.wix.com/docs/velo/apis/wix-ecom-backend/recommendations/list-available-algorithms.md # Method Description: Returns a list of recommendation algorithms that can be used on your Wix site or project. These algorithms can be used with [`getRecommendation()`](#getRecommendation) to provide item recommendations to the customer. Algorithms are run by the apps that provide them, and can only be used on catalogs they support. Apps may provide algorithms for use with their own catalogs and/or catalogs from other apps. The app which provides an algorithm is referenced by that algorithm’s `appId`. The apps whose catalogs are supported by an algorithm are referenced by the IDs in that algorithm’s `catalogAppIds` array. For an algorithm to be considered “Available” and returned in this method’s response, the algorithm must meet the following conditions: 1. The algorithm’s `appId` must match the ID of an installed Wix app. 2. At least 1 of the IDs in `catalogAppIds` must match the ID of an installed Wix app. Wix app IDs are [listed here](https://dev.wix.com/docs/velo/articles/api-overview/about-apps-made-by-wix.md). # Method Code Examples: *** Note: do not assume any prop names or enum values other than the ones in the example. ## listAvailableAlgorithms example ```javascript import { recommendations } from 'wix-ecom-backend'; async function listAvailableAlgorithms() { try { const result = await recommendations.listAvailableAlgorithms(); return result; } catch (error) { console.error(error); // Handle the error } } ``` ## listAvailableAlgorithms example for exporting from backend code ```javascript import { recommendations } from 'wix-ecom-backend'; import { webMethod, Permissions } from 'wix-web-module'; export const listAvailableAlgorithms = webMethod( Permissions.Anyone, async () => { try { const result = await recommendations.listAvailableAlgorithms(); return result; } catch (error) { console.error(error); // Handle the error } } ); ``` ---