rest-api-spec.api.ml.get_model_snapshots.json Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of rest-api-spec Show documentation
Show all versions of rest-api-spec Show documentation
Elasticsearch subproject :rest-api-spec
{
"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"
}
}
}