|
@@ -1,88 +0,0 @@
|
|
|
-{
|
|
|
- "ml.deprecated_get_trained_models":{
|
|
|
- "documentation":{
|
|
|
- "url":"https://www.elastic.co/guide/en/elasticsearch/reference/current/get-trained-models.html",
|
|
|
- "description":"Retrieves configuration information for a trained inference model."
|
|
|
- },
|
|
|
- "stability":"experimental",
|
|
|
- "url":{
|
|
|
- "paths":[
|
|
|
- {
|
|
|
- "path":"/_ml/inference/{model_id}",
|
|
|
- "methods":[
|
|
|
- "GET"
|
|
|
- ],
|
|
|
- "parts":{
|
|
|
- "model_id":{
|
|
|
- "type":"string",
|
|
|
- "description":"The ID of the trained models to fetch"
|
|
|
- }
|
|
|
- },
|
|
|
- "deprecated": {
|
|
|
- "version":"7.10.0",
|
|
|
- "description":"[/_ml/inference/{model_id}] is deprecated, use [_ml/trained_models/{mode_id}]."
|
|
|
- }
|
|
|
- },
|
|
|
- {
|
|
|
- "path":"/_ml/inference",
|
|
|
- "methods":[
|
|
|
- "GET"
|
|
|
- ],
|
|
|
- "deprecated": {
|
|
|
- "version":"7.10.0",
|
|
|
- "description":"[/_ml/inference] is deprecated, use [_ml/trained_models]."
|
|
|
- }
|
|
|
- }
|
|
|
- ]
|
|
|
- },
|
|
|
- "params":{
|
|
|
- "allow_no_match":{
|
|
|
- "type":"boolean",
|
|
|
- "required":false,
|
|
|
- "description":"Whether to ignore if a wildcard expression matches no trained models. (This includes `_all` string or when no trained models have been specified)",
|
|
|
- "default":true
|
|
|
- },
|
|
|
- "include":{
|
|
|
- "type":"string",
|
|
|
- "required":false,
|
|
|
- "description":"A comma-separate list of fields to optionally include. Valid options are 'definition' and 'total_feature_importance'. Default is none."
|
|
|
- },
|
|
|
- "include_model_definition":{
|
|
|
- "type":"boolean",
|
|
|
- "required":false,
|
|
|
- "description":"Should the full model definition be included in the results. These definitions can be large. So be cautious when including them. Defaults to false.",
|
|
|
- "default":false,
|
|
|
- "deprecated": true
|
|
|
- },
|
|
|
- "decompress_definition":{
|
|
|
- "type":"boolean",
|
|
|
- "required":false,
|
|
|
- "default":true,
|
|
|
- "description":"Should the model definition be decompressed into valid JSON or returned in a custom compressed format. Defaults to true."
|
|
|
- },
|
|
|
- "from":{
|
|
|
- "required":false,
|
|
|
- "type":"int",
|
|
|
- "description":"skips a number of trained models",
|
|
|
- "default":0
|
|
|
- },
|
|
|
- "size":{
|
|
|
- "required":false,
|
|
|
- "type":"int",
|
|
|
- "description":"specifies a max number of trained models to get",
|
|
|
- "default":100
|
|
|
- },
|
|
|
- "tags":{
|
|
|
- "required":false,
|
|
|
- "type":"list",
|
|
|
- "description":"A comma-separated list of tags that the model must have."
|
|
|
- },
|
|
|
- "for_export": {
|
|
|
- "required": false,
|
|
|
- "type": "boolean",
|
|
|
- "default": false,
|
|
|
- "description": "Omits fields that are illegal to set on model PUT"
|
|
|
- }
|
|
|
- }
|
|
|
- }
|
|
|
-}
|