{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/elastic/json-schema/elastic-cat-transforms-transforms-record-schema.json",
  "title": "cat.transforms.TransformsRecord",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/elastic-cat-api-openapi.yml#/components/schemas/cat.transforms.TransformsRecord",
  "type": "object",
  "properties": {
    "id": {
      "description": "The transform identifier.",
      "allOf": [
        {
          "$ref": "#/$defs/_types.Id"
        }
      ]
    },
    "state": {
      "description": "The status of the transform.\nReturned values include:\n`aborting`: The transform is aborting.\n`failed: The transform failed. For more information about the failure, check the `reason` field.\n`indexing`: The transform is actively processing data and creating new documents.\n`started`: The transform is running but not actively indexing data.\n`stopped`: The transform is stopped.\n`stopping`: The transform is stopping.",
      "type": "string"
    },
    "checkpoint": {
      "description": "The sequence number for the checkpoint.",
      "type": "string"
    },
    "documents_processed": {
      "description": "The number of documents that have been processed from the source index of the transform.",
      "type": "string"
    },
    "checkpoint_progress": {
      "description": "The progress of the next checkpoint that is currently in progress.",
      "oneOf": [
        {
          "type": "string"
        },
        {
          "type": [
            "string",
            "null"
          ]
        }
      ]
    },
    "last_search_time": {
      "description": "The timestamp of the last search in the source indices.\nThis field is shown only if the transform is running.",
      "oneOf": [
        {
          "type": "string"
        },
        {
          "type": [
            "string",
            "null"
          ]
        }
      ]
    },
    "changes_last_detection_time": {
      "description": "The timestamp when changes were last detected in the source indices.",
      "oneOf": [
        {
          "type": "string"
        },
        {
          "type": [
            "string",
            "null"
          ]
        }
      ]
    },
    "create_time": {
      "description": "The time the transform was created.",
      "type": "string"
    },
    "version": {
      "description": "The version of Elasticsearch that existed on the node when the transform was created.",
      "allOf": [
        {
          "$ref": "#/$defs/_types.VersionString"
        }
      ]
    },
    "source_index": {
      "description": "The source indices for the transform.",
      "type": "string"
    },
    "dest_index": {
      "description": "The destination index for the transform.",
      "type": "string"
    },
    "pipeline": {
      "description": "The unique identifier for the ingest pipeline.",
      "type": "string"
    },
    "description": {
      "description": "The description of the transform.",
      "type": "string"
    },
    "transform_type": {
      "description": "The type of transform: `batch` or `continuous`.",
      "type": "string"
    },
    "frequency": {
      "description": "The interval between checks for changes in the source indices when the transform is running continuously.",
      "type": "string"
    },
    "max_page_search_size": {
      "description": "The initial page size that is used for the composite aggregation for each checkpoint.",
      "type": "string"
    },
    "docs_per_second": {
      "description": "The number of input documents per second.",
      "type": "string"
    },
    "reason": {
      "description": "If a transform has a `failed` state, these details describe the reason for failure.",
      "type": "string"
    },
    "search_total": {
      "description": "The total number of search operations on the source index for the transform.",
      "type": "string"
    },
    "search_failure": {
      "description": "The total number of search failures.",
      "type": "string"
    },
    "search_time": {
      "description": "The total amount of search time, in milliseconds.",
      "type": "string"
    },
    "index_total": {
      "description": "The total number of index operations done by the transform.",
      "type": "string"
    },
    "index_failure": {
      "description": "The total number of indexing failures.",
      "type": "string"
    },
    "index_time": {
      "description": "The total time spent indexing documents, in milliseconds.",
      "type": "string"
    },
    "documents_indexed": {
      "description": "The number of documents that have been indexed into the destination index for the transform.",
      "type": "string"
    },
    "delete_time": {
      "description": "The total time spent deleting documents, in milliseconds.",
      "type": "string"
    },
    "documents_deleted": {
      "description": "The number of documents deleted from the destination index due to the retention policy for the transform.",
      "type": "string"
    },
    "trigger_count": {
      "description": "The number of times the transform has been triggered by the scheduler.\nFor example, the scheduler triggers the transform indexer to check for updates or ingest new data at an interval specified in the `frequency` property.",
      "type": "string"
    },
    "pages_processed": {
      "description": "The number of search or bulk index operations processed.\nDocuments are processed in batches instead of individually.",
      "type": "string"
    },
    "processing_time": {
      "description": "The total time spent processing results, in milliseconds.",
      "type": "string"
    },
    "checkpoint_duration_time_exp_avg": {
      "description": "The exponential moving average of the duration of the checkpoint, in milliseconds.",
      "type": "string"
    },
    "indexed_documents_exp_avg": {
      "description": "The exponential moving average of the number of new documents that have been indexed.",
      "type": "string"
    },
    "processed_documents_exp_avg": {
      "description": "The exponential moving average of the number of documents that have been processed.",
      "type": "string"
    }
  },
  "$defs": {
    "_types.Id": {
      "type": "string"
    },
    "_types.VersionString": {
      "type": "string"
    }
  }
}