All Downloads are FREE. Search and download functionalities are using the official Maven repository.

rest-api-spec.api.ml.infer_trained_model.json Maven / Gradle / Ivy

There is a newer version: 8.17.0
Show newest version
{
  "ml.infer_trained_model":{
    "documentation":{
      "url":"https://www.elastic.co/guide/en/elasticsearch/reference/master/infer-trained-model.html",
      "description":"Evaluate a trained model."
    },
    "stability":"stable",
    "visibility":"public",
    "headers":{
      "accept": [ "application/json"],
      "content_type": ["application/json"]
    },
    "url":{
      "paths":[
        {
          "path":"/_ml/trained_models/{model_id}/_infer",
          "methods":[
            "POST"
          ],
          "parts":{
            "model_id":{
              "type":"string",
              "description":"The unique identifier of the trained model.",
              "required":true
            }
          }
        },
        {
          "path":"/_ml/trained_models/{model_id}/deployment/_infer",
          "methods":[
            "POST"
          ],
          "parts":{
            "model_id":{
              "type":"string",
              "description":"The unique identifier of the trained model.",
              "required":true
            }
          },
          "deprecated": {
            "version":"8.3.0",
            "description": "/_ml/trained_models/{model_id}/deployment/_infer is deprecated. Use /_ml/trained_models/{model_id}/_infer instead"
          }
        }
      ]
    },
    "params":{
      "timeout":{
        "type":"time",
        "required":false,
        "description":"Controls the amount of time to wait for inference results.",
        "default":"10s"
      }
    },
    "body":{
      "description":"The docs to apply inference on and inference configuration overrides",
      "required":true
    }
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy