The listModels()
function lists all models available in a defined project.
Syntax
Use the listModels()
method to list all models contained in the project:
Copy
Project mindsdb = server.getProject("mindsdb");
List<Model> modelList = mindsdb.listModels();