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

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

There is a newer version: 8.16.0
Show newest version
{
  "ml.get_model_snapshots":{
    "documentation":{
      "url":"https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-snapshot.html",
      "description":"Retrieves information about model snapshots."
    },
    "stability":"stable",
    "visibility":"public",
    "headers":{
      "accept": [ "application/json"],
      "content_type": ["application/json"]
    },
    "url":{
      "paths":[
        {
          "path":"/_ml/anomaly_detectors/{job_id}/model_snapshots/{snapshot_id}",
          "methods":[
            "GET",
            "POST"
          ],
          "parts":{
            "job_id":{
              "type":"string",
              "description":"The ID of the job to fetch"
            },
            "snapshot_id":{
              "type":"string",
              "description":"The ID of the snapshot to fetch"
            }
          }
        },
        {
          "path":"/_ml/anomaly_detectors/{job_id}/model_snapshots",
          "methods":[
            "GET",
            "POST"
          ],
          "parts":{
            "job_id":{
              "type":"string",
              "description":"The ID of the job to fetch"
            }
          }
        }
      ]
    },
    "params":{
      "from":{
        "type":"int",
        "description":"Skips a number of documents"
      },
      "size":{
        "type":"int",
        "description":"The default number of documents returned in queries as a string."
      },
      "start":{
        "type":"date",
        "description":"The filter 'start' query parameter"
      },
      "end":{
        "type":"date",
        "description":"The filter 'end' query parameter"
      },
      "sort":{
        "type":"string",
        "description":"Name of the field to sort on"
      },
      "desc":{
        "type":"boolean",
        "description":"True if the results should be sorted in descending order"
      }
    },
    "body":{
      "description":"Model snapshot selection criteria"
    }
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy