import requests
url = "https://{FUSION HOST}/api/ai/ml-models"
response = requests.get(url)
print(response.text){
"models": [
{
"model_id": "lucidworks-sentiment",
"type": "mleap",
"last_modified": "2024-09-13T19:43:20Z"
},
{
"model_id": "opennlp",
"type": "open-nlp",
"last_modified": "2024-09-13T19:43:15Z"
},
{
"model_id": "sentiment-reviews",
"type": "seldon",
"last_modified": "2024-09-13T20:29:05Z"
}
]
}Get a list of all deployed models.
import requests
url = "https://{FUSION HOST}/api/ai/ml-models"
response = requests.get(url)
print(response.text){
"models": [
{
"model_id": "lucidworks-sentiment",
"type": "mleap",
"last_modified": "2024-09-13T19:43:20Z"
},
{
"model_id": "opennlp",
"type": "open-nlp",
"last_modified": "2024-09-13T19:43:15Z"
},
{
"model_id": "sentiment-reviews",
"type": "seldon",
"last_modified": "2024-09-13T20:29:05Z"
}
]
}Was this page helpful?