Here is how you can fetch all available ML handlers directly from JavaScript code:

const query = 'SHOW HANDLERS WHERE type = \‘ml\'’;
result = await MindsDB.SQL.runQuery(query);
console.log(result);