Skip to main content
GET
/
ai
/
ml-models
List all models
import requests

url = "https://{FUSION HOST}/api/ai/ml-models"

response = requests.get(url)

print(response.json())
{
  "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"
    }
  ]
}

Response

200 - application/json

OK

models
object[]
required