{
  "cat.ml_jobs": {
    "documentation": {
      "url": "https://www.elastic.co/guide/en/elasticsearch/reference/8.19/cat-anomaly-detectors.html",
      "description": "Get anomaly detection jobs"
    },
    "stability": "stable",
    "visibility": "public",
    "headers": {
      "accept": [
        "text/plain",
        "application/json"
      ]
    },
    "url": {
      "paths": [
        {
          "path": "/_cat/ml/anomaly_detectors",
          "methods": [
            "GET"
          ]
        },
        {
          "path": "/_cat/ml/anomaly_detectors/{job_id}",
          "methods": [
            "GET"
          ],
          "parts": {
            "job_id": {
              "type": "string",
              "description": "The ID of the jobs stats to fetch"
            }
          }
        }
      ]
    },
    "params": {
      "allow_no_match": {
        "type": "boolean",
        "default": true,
        "description": "Whether to ignore if a wildcard expression matches no jobs. (This includes `_all` string or when no jobs have been specified)"
      },
      "bytes": {
        "type": "enum",
        "description": "The unit in which to display byte values",
        "options": [
          "b",
          "kb",
          "mb",
          "gb",
          "tb",
          "pb"
        ]
      },
      "format": {
        "type": "string",
        "default": "text",
        "description": "a short version of the Accept header, e.g. json, yaml"
      },
      "h": {
        "type": "list",
        "default": "buckets.count,data.processed_records,forecasts.total,id,model.bytes,model.memory_status,state",
        "description": "Comma-separated list of column names to display",
        "options": [
          "assignment_explanation",
          "buckets.count",
          "buckets.time.exp_avg",
          "buckets.time.exp_avg_hour",
          "buckets.time.max",
          "buckets.time.min",
          "buckets.time.total",
          "data.buckets",
          "data.earliest_record",
          "data.empty_buckets",
          "data.input_bytes",
          "data.input_fields",
          "data.input_records",
          "data.invalid_dates",
          "data.last",
          "data.last_empty_bucket",
          "data.last_sparse_bucket",
          "data.latest_record",
          "data.missing_fields",
          "data.out_of_order_timestamps",
          "data.processed_fields",
          "data.processed_records",
          "data.sparse_buckets",
          "forecasts.memory.avg",
          "forecasts.memory.max",
          "forecasts.memory.min",
          "forecasts.memory.total",
          "forecasts.records.avg",
          "forecasts.records.max",
          "forecasts.records.min",
          "forecasts.records.total",
          "forecasts.time.avg",
          "forecasts.time.max",
          "forecasts.time.min",
          "forecasts.time.total",
          "forecasts.total",
          "id",
          "model.bucket_allocation_failures",
          "model.by_fields",
          "model.bytes",
          "model.bytes_exceeded",
          "model.categorization_status",
          "model.categorized_doc_count",
          "model.dead_category_count",
          "model.failed_category_count",
          "model.frequent_category_count",
          "model.log_time",
          "model.memory_limit",
          "model.memory_status",
          "model.over_fields",
          "model.partition_fields",
          "model.rare_category_count",
          "model.timestamp",
          "model.total_category_count",
          "node.address",
          "node.ephemeral_id",
          "node.id",
          "node.name",
          "opened_time",
          "state"
        ]
      },
      "help": {
        "type": "boolean",
        "description": "Return help information",
        "default": false
      },
      "s": {
        "type": "list",
        "description": "Comma-separated list of column names or column aliases to sort by",
        "options": [
          "assignment_explanation",
          "buckets.count",
          "buckets.time.exp_avg",
          "buckets.time.exp_avg_hour",
          "buckets.time.max",
          "buckets.time.min",
          "buckets.time.total",
          "data.buckets",
          "data.earliest_record",
          "data.empty_buckets",
          "data.input_bytes",
          "data.input_fields",
          "data.input_records",
          "data.invalid_dates",
          "data.last",
          "data.last_empty_bucket",
          "data.last_sparse_bucket",
          "data.latest_record",
          "data.missing_fields",
          "data.out_of_order_timestamps",
          "data.processed_fields",
          "data.processed_records",
          "data.sparse_buckets",
          "forecasts.memory.avg",
          "forecasts.memory.max",
          "forecasts.memory.min",
          "forecasts.memory.total",
          "forecasts.records.avg",
          "forecasts.records.max",
          "forecasts.records.min",
          "forecasts.records.total",
          "forecasts.time.avg",
          "forecasts.time.max",
          "forecasts.time.min",
          "forecasts.time.total",
          "forecasts.total",
          "id",
          "model.bucket_allocation_failures",
          "model.by_fields",
          "model.bytes",
          "model.bytes_exceeded",
          "model.categorization_status",
          "model.categorized_doc_count",
          "model.dead_category_count",
          "model.failed_category_count",
          "model.frequent_category_count",
          "model.log_time",
          "model.memory_limit",
          "model.memory_status",
          "model.over_fields",
          "model.partition_fields",
          "model.rare_category_count",
          "model.timestamp",
          "model.total_category_count",
          "node.address",
          "node.ephemeral_id",
          "node.id",
          "node.name",
          "opened_time",
          "state"
        ]
      },
      "time": {
        "type": "enum",
        "description": "The unit in which to display time values",
        "options": [
          "d",
          "h",
          "m",
          "s",
          "ms",
          "micros",
          "nanos"
        ]
      },
      "v": {
        "type": "boolean",
        "description": "Verbose mode. Display column headers",
        "default": false
      }
    }
  }
}
