Elastic · Schema

enrich.stats.ExecutingPolicy

SearchAnalyticsObservabilitySecurityVisualizationCloudMonitoring

Properties

Name Type Description
name object
task object
View JSON Schema on GitHub

JSON Schema

elastic-enrich-stats-executing-policy-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/elastic/json-schema/elastic-enrich-stats-executing-policy-schema.json",
  "title": "enrich.stats.ExecutingPolicy",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/elastic-enrich-api-openapi.yml#/components/schemas/enrich.stats.ExecutingPolicy",
  "type": "object",
  "properties": {
    "name": {
      "allOf": [
        {
          "$ref": "#/$defs/_types.Name"
        }
      ]
    },
    "task": {
      "allOf": [
        {
          "$ref": "#/$defs/tasks._types.TaskInfo"
        }
      ]
    }
  },
  "required": [
    "name",
    "task"
  ],
  "$defs": {
    "_types.Duration": {
      "description": "A duration. Units can be `nanos`, `micros`, `ms` (milliseconds), `s` (seconds), `m` (minutes), `h` (hours) and\n`d` (days). Also accepts \"0\" without a unit and \"-1\" to indicate an unspecified value.",
      "oneOf": [
        {
          "type": "string"
        },
        {
          "type": "string",
          "enum": [
            "-1"
          ]
        },
        {
          "type": "string",
          "enum": [
            "0"
          ]
        }
      ]
    },
    "_types.DurationValueUnitNanos": {
      "allOf": [
        {
          "$ref": "#/$defs/_types.UnitNanos"
        }
      ]
    },
    "_types.EpochTimeUnitMillis": {
      "allOf": [
        {
          "$ref": "#/$defs/_types.UnitMillis"
        }
      ]
    },
    "_types.Name": {
      "type": "string"
    },
    "_types.NodeId": {
      "type": "string"
    },
    "_types.TaskId": {
      "type": "string"
    },
    "_types.UnitMillis": {
      "description": "Time unit for milliseconds",
      "type": "number"
    },
    "_types.UnitNanos": {
      "description": "Time unit for nanoseconds",
      "type": "number"
    },
    "tasks._types.TaskInfo": {
      "type": "object",
      "properties": {
        "action": {
          "type": "string"
        },
        "cancelled": {
          "type": "boolean"
        },
        "cancellable": {
          "type": "boolean"
        },
        "description": {
          "description": "Human readable text that identifies the particular request that the task is performing.\nFor example, it might identify the search request being performed by a search task.\nOther kinds of tasks have different descriptions, like `_reindex` which has the source and the destination, or `_bulk` which just has the number of requests and the destination indices.\nMany requests will have only an empty description because more detailed information about the request is not easily available or particularly helpful in identifying the request.",
          "type": "string"
        },
        "headers": {
          "type": "object",
          "additionalProperties": {
            "type": "string"
          }
        },
        "id": {
          "type": "number"
        },
        "node": {
          "allOf": [
            {
              "$ref": "#/$defs/_types.NodeId"
            }
          ]
        },
        "running_time": {
          "allOf": [
            {
              "$ref": "#/$defs/_types.Duration"
            }
          ]
        },
        "running_time_in_nanos": {
          "allOf": [
            {
              "$ref": "#/$defs/_types.DurationValueUnitNanos"
            }
          ]
        },
        "start_time_in_millis": {
          "allOf": [
            {
              "$ref": "#/$defs/_types.EpochTimeUnitMillis"
            }
          ]
        },
        "status": {
          "description": "The internal status of the task, which varies from task to task.\nThe format also varies.\nWhile the goal is to keep the status for a particular task consistent from version to version, this is not always possible because sometimes the implementation changes.\nFields might be removed from the status for a particular request so any parsing you do of the status might break in minor releases.",
          "type": "object"
        },
        "type": {
          "type": "string"
        },
        "parent_task_id": {
          "allOf": [
            {
              "$ref": "#/$defs/_types.TaskId"
            }
          ]
        }
      },
      "required": [
        "action",
        "cancellable",
        "headers",
        "id",
        "node",
        "running_time_in_nanos",
        "start_time_in_millis",
        "type"
      ]
    }
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/elastic-enrich-stats-executing-policy"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.