Here is how you can fetch all available ML engines directly from Java code:
Syntax
/**
* List all ML engines
*
* @return List of ML engines
*/
public List<MLEngine> listMLEngines();
Example
List<MLEngine> engines = server.listMLEngines();