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

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

There is a newer version: 8.16.0
Show newest version
{
  "ml.get_categories":{
    "documentation":{
      "url":"https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-category.html",
      "description":"Retrieves anomaly detection job results for one or more categories."
    },
    "stability":"stable",
    "visibility":"public",
    "headers":{
      "accept": [ "application/json"],
      "content_type": ["application/json"]
    },
    "url":{
      "paths":[
        {
          "path":"/_ml/anomaly_detectors/{job_id}/results/categories/{category_id}",
          "methods":[
            "GET",
            "POST"
          ],
          "parts":{
            "job_id":{
              "type":"string",
              "description":"The name of the job"
            },
            "category_id":{
              "type":"long",
              "description":"The identifier of the category definition of interest"
            }
          }
        },
        {
          "path":"/_ml/anomaly_detectors/{job_id}/results/categories",
          "methods":[
            "GET",
            "POST"
          ],
          "parts":{
            "job_id":{
              "type":"string",
              "description":"The name of the job"
            }
          }
        }
      ]
    },
    "params":{
      "from":{
        "type":"int",
        "description":"skips a number of categories"
      },
      "size":{
        "type":"int",
        "description":"specifies a max number of categories to get"
      },
      "partition_field_value":{
        "type":"string",
        "description":"Specifies the partition to retrieve categories for. This is optional, and should never be used for jobs where per-partition categorization is disabled."
      }
    },
    "body":{
      "description":"Category selection details if not provided in URI"
    }
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy