Open darnautov opened 7 months ago
Currently to retrieve a list of Trained Model the UI performs several API calls:
/ml/trained_models?with_pipelines=true&with_indices=true
/ml/trained_models/_stats
/ml/trained_models/model_downloads
/ml/trained_models/<model_id>?include=definition_status
And after https://github.com/elastic/kibana/issues/175128 is implemented:
/_inference/_all
To improve the loading time we should consolidate all these calls into a single Kibana endpoint.
Pinging @elastic/ml-ui (:ml)
Currently to retrieve a list of Trained Model the UI performs several API calls:
/ml/trained_models?with_pipelines=true&with_indices=true
)/ml/trained_models/_stats
)/ml/trained_models/model_downloads
)/ml/trained_models/<model_id>?include=definition_status
And after https://github.com/elastic/kibana/issues/175128 is implemented:
/_inference/_all
)To improve the loading time we should consolidate all these calls into a single Kibana endpoint.